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:

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.

Vibora

Vibora is an asynchronous model framework similar to Sanic that was inspired by Flask's syntax. However, the framework's author rewrote many parts like the template engine to maximize performance.

Pecan

Pecan is inspired by CherryPy and TurboGears. It purely focuses on HTTP requests and responses via Python objects and does not integrate session handling or database access.

Masonite

Masonite is a modern, developer centric, batteries-included Python web framework. It uses the MVC (Model-View-Controller) architecture pattern and comes with a lot of functionality out of the box with an extremely extendable architecture.

Check out the following resources to lean more:

  1. 5 reasons why people are choosing Masonite over Django
  2. MasoniteCasts
  3. Dockerizing Masonite with Postgres, Gunicorn, and Nginx

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?


Matt Makai 2012-2022