Fork me on GitHub

Other Web Frameworks

Python has a significant number of web frameworks outside the usual Django, Flask and Bottle suspects.

Pyramid

The Pyramid framework stems from the Pylons project which develops a set of open source web application frameworks. Pyramid applications are built using a model-view-controller architecture.

TurboGears2

TurboGears2 born as a full stack layer on top of Pylons is now a standalone web framework that can act both as a full stack solution (like Django) or as a micro framework.

Falcon

Falcon is a minimalist web framework designed with web application speed as a top priority.

web.py

web.py is a Python web framework designed for simplicity in building web applications.

web2py

Web2py is a batteries-included philosophy framework with project structure based on model-view-controller patterns.

CherryPy

CherryPy is billed as a minimalist web framework, from the perspective of the amount of code needed to write a web application using the framework. The project has a long history and made a major transition between the second and third release. There's an interesting recent discussion about moving the project forward, especially the number of open outstanding issues that exist in the tracker.

Other web framework resources

Other frameworks learning checklist

Read through the web frameworks listed above and check out their project websites.

It's useful to know what other web frameworks exist besides Django and Flask. However, when you're just starting to learn to program there are significantly more tutorials and resources for Django and Flask on the web. My recommendation is to start with one of those two frameworks then expand your knowledge from there.

What do you need to learn next?

How do I deploy a web app once I'm done coding?

I'd like to go back to reviewing other web frameworks.

How do I style the user interface I built for my web app?

How can I version and store my source code so I don't lose it?


Interested in a complete Full Stack Python book with detailed tutorials and example code? Sign up here and you'll get an alert email if a book is created. No other emails will be sent other than sign up confirmation.