Other Web Frameworks

Python has a significant number of newer and less frequently-used web frameworks that are still worth your time to investigate. The list on this page does not include the following web frameworks that have their own dedicated pages:

TurboGears

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

TurboGears logo.

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.

Muffin

Muffin is a web framework built on top of the asyncio module in the Python 3.4+ standard library. Muffin takes inspiration from Flask with URL routes defined as decorators upon view functions. The Peewee ORM is used instead of the more common SQLAlchemy ORM.

Ray

Ray is a framework for building RESTful APIs, similar to Falcon. The introductory post provides some initial code to get started with creating endpoints, adding authentication and protecting against malicious clients.

Other web framework resources

Other frameworks learning checklist

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

  2. 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?

I want to learn how to code a Python web application using a framework.

I've built a Python web app, now how do I deploy it?

What is the Django web framework?

Sign up to receive an email twice per month with Python tutorials and major updates to this site.


Matt Makai 2012-2017