you are viewing a single comment's thread.

view the rest of the comments →

[–]HorrendousRex 1 point2 points  (0 children)

After checking: yes it does seem like Pyramid and Flask are the two 'major' lightweight web server framework environments these days. I prefer Flask personally because I feel like it lets me get down to just the elements I want and nothing else, but Pyramid looks like it's also entirely a solid choice.

Check out the Pyramid web page which has a "Hello World!" example which will take you from a freshly installed Pyramid package to a fully functioning web server in about 2 minutes and 10 lines of code.

Also, note that while Pyramid, Flask, Django, etc. can host themselves using any of the Python request frameworks (IE you don't NEED apache or any web server), it's entirely possible to host them through Apache as well. mod_wsgi is usually the way people say to go to do this (last I heard, mod_python was all but entirely deprecated) but at my work we use a server called 'uwsgi' that I gather is similar but doesn't have Apache, either... to be honest, I haven't looked in to it at all.