Web Frameworks are important for any programming language especially today when more and more of the applications we use are based around the web whether delivered by a desktop browser, mobile browser, mobile application or through IoT devices.
So in a previous article, I covered the world of Javascript/Typescript web frameworks and I’ll continue to do the same for other languages so developers can find the array of options available to them.
Some frameworks are minimalist and offer just the basics to get a web server up and running, some are robust and have built-in tools for authentication, session management and more, some are built mainly for creating an API that can serve single page applications, mobile applications and devices.
Here is the list of Python Web Frameworks:
Django — “Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.”
Flask — “Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around Werkzeug and Jinja and has become one of the most popular Python web application frameworks.”
Masonite — “The modern and developer centric Python web framework that strives for an actual batteries included developer tool with a lot of out of the box functionality with an extremely extendable architecture. Masonite is perfect for beginner developers getting into their first web applications as well as experienced devs that need to utilize the full potential of Masonite to get their applications done.”
Web2Py — “web2py is a free open source full-stack framework for rapid development of fast, scalable, secure and portable database-driven web-based applications.”
Pyramid — “Pyramid is a small, fast, down-to-earth, open source Python web framework. It makes real-world web application development and deployment more fun, more predictable, and more productive.”
Tornado — “Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.”
Bottle — “Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.”
Web.Py — “web.py is a web framework for Python that is as simple as it is powerful.”
Sanic — “Sanic is a Python 3.6+ web server and web framework that’s written to go fast. It allows the usage of the async/await syntax added in Python 3.5, which makes your code non-blocking and speedy.”
Connexion — “Connexion is a framework that automagically handles HTTP requests based on OpenAPI Specification (formerly known as Swagger Spec) of your API described in YAML format. Connexion allows you to write an OpenAPI specification, then maps the endpoints to your Python functions; this makes it unique, as many tools generate the specification based on your Python code. You can describe your REST API in as much detail as you want; then Connexion guarantees that it will work as you specified.”
UliWeb — “Uliweb is a full-stacked Python based web framework. It has three main design goals, they are: reusability, configurability, and replaceability. All the functionalities revolve around these goals.”
Falcon — “Falcon is a reliable, high-performance Python web framework for building large-scale app backends and microservices. It encourages the REST architectural style, and tries to do as little as possible while remaining highly effective.”
Frappe — “Full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Built for ERPNext”
Molten — “A minimal, extensible, fast and productive API framework for Python 3.”
Pando.Py — “Pando is a Python web framework. Simplates are the main attraction.”
Pico — “Pico is a very small web application framework for Python.”