An Overview of Python Web Programming
With Ruby the choice of web programming technologies is easy. But what if you like Python better?
These are notes-in-progress documenting some of the available options.
- CherryPy
- Django
- Pylons
- TurboGears
“CherryPy is a pythonic, object-oriented HTTP framework. CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program.”
Works with multiple templating engines.
Django runs on the Google App Engine.
“Pylons is a lightweight web framework emphasizing flexibility and rapid development.”
TurboGears combines CherryPy serving, SQLObject for ORM, and Kid for templating.
- Cheetah
- Genshi
- Mako
- Myghty
- Kid
- Jinja
“Cheetah is an open source template engine and code generation tool, written in Python.”
Template system with embedded logic.
“Myghty is a Python based templating framework originally based on HTML::Mason….”
Template system with embedded logic.
- SQLAlchemy
- SQLObject
It was actually this plethora of Python web framework options that inspired me to learn Ruby on Rails, even though I like Python much better than Ruby!
On 2006-01-27 Guido Van Rossom put out a call: “Please Teach me Web Frameworks for Python!” By 2006-08-07 I guess he had chosen Django, saying “My personal favorite — and I expect that that will remain a personal favorite for a long time — is something named Django. … I highly recommend it.”