Skip to content

A curated list of awesome Python Web Frameworks (micro, full-stack, REST, etc.)

Notifications You must be signed in to change notification settings

sfermigier/awesome-python-web-frameworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 

Repository files navigation

Awesome Python Web Frameworks

A curated list of awesome Python Web Frameworks (micro, full-stack, REST, etc.)

Awesome


Full-stack frameworks, including data layer (ORM)

  • Django ★77814 - a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Includes ORM, templatting engine, etc.
  • Emmett ★1024 - a full-stack Python web framework designed with simplicity in mind.

Full-stack frameworks, but data-layer agnostic

  • Flask ★66985 - 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.
  • Pyramid ★3919 - 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.
  • Quart ★2750 - Quart is an asyncio reimplementation of the popular Flask microframework API. This means that if you understand Flask you understand Quart.

Micro-frameworks

Sync

  • Falcon ★9438 - 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. Also async.
  • Bottle ★8334 - 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.
  • Hug ★6849 - aims to make developing Python driven APIs as simple as possible, but no simpler. As a result, it drastically simplifies Python API development.
  • Molten ★979 - A minimal, extensible, fast and productive framework for building HTTP APIs with Python 3.6 and later.
  • Morepath ★394 - "web microframework with super powers". An application consists of models. Each type of model is published on a URL path. Content is exposed to the web using views.

Async

  • FastAPI ★73166 - a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints. Based on Starlette (see below).
  • Sanic ★17864 - a Python 3.7+ 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. Based on Starlette.
  • Aiohttp ★14772 - Asynchronous HTTP client/server framework for asyncio and Python.
  • Starlette ★9761 - a lightweight ASGI framework/toolkit, which is ideal for building high performance asyncio services.
  • Litestar ★5096 - Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs.
  • Robyn ★3897 - a fast and extensible async python web server with a rust runtime.
  • BlackSheep ★1799 - BlackSheep is an asynchronous web framework to build event based web applications with Python.

More

  • uapi ★85 - a high-level, extremely fast Python microframework for writing HTTP APIs, either synchronously or asynchronously. Uses a lower-level HTTP framework to run. Currently supported frameworks are aiohttp, Flask, Quart, and Starlette.

REST frameworks

  • Django Rest Framework ★27825 - a powerful and flexible toolkit for building Web APIs.

  • Flask-Restful ★6797 - Simple framework for creating REST APIs.

  • Eve ★6675 - an open source Python REST API framework based on Flask. It allows to effortlessly build and deploy highly customizable, fully featured RESTful Web Services. Eve offers native support for MongoDB, and SQL backends via community extensions.

  • API star ★5578 - a framework-agnostic toolkit for working with OpenAPI or Swagger schemas.

  • Connexion ★4445 - Swagger/OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 support.

  • Flask-Restx ★2110 - Fully featured framework for fast, easy and documented API development with Flask.

  • Flask Smorest ★631 - a REST API framework built upon Flask and marshmallow.

  • Ripozo ★201 - A tool for quickly creating REST/HATEOAS/Hypermedia APIs in python. [Dead]

Front-end frameworks

  • Flet ★9884 - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
  • ReactPy ★7745 - User interfaces in Python without Javascript
  • Flexx ★3229 - Write desktop and web apps in pure Python
  • Reactor ★626 - Phoenix LiveView but for Django
  • Tetra ★537 - a full stack component framework for Django using Alpine.js
  • Starfyre ★459 - A Python Framework for writing Reactive Front-End Applications.
  • Django-Suckpuppet ★448 - Build reactive applications with the django tooling you already know and love.
  • Flask-Meld ★309 - a library to provide server rendered templates over websockets for Flask applications to build reactive components without Javascript.
  • Reacton ★275 - A pure Python port of React for ipywidgets.
  • enaml-web ★99 - Build interactive websites with enaml

Frameworks for Micropython

  • microdot ★1416 - The impossibly small web framework for Python and MicroPython.
  • MicroWebSrv ★638 - A micro HTTP web server that supports WebSockets, HTML/Python language templating and routing handlers, for MicroPython (used on Pycom modules & ESP32).
  • MicroWebSrv2 ★632 - The last micro web server for IoTs (MicroPython) or large servers (CPython), that supports WebSocket, routes, template engine and with really optimized architecture (mem allocations, async I/Os).
  • tinyweb ★238 - Simple and lightweight HTTP async server for MicroPython.
  • micropython-nanoweb ★100 - Full async MicroPython web server with small memory footprint.
  • micropyserver ★109 - MicroPyServer is a simple HTTP server for MicroPython projects.
  • micropython-urouter ★49 - A lightweight HTTP request routing processing support library based on MicroPython. The previous name was micro-route.

Usage stats

See the "Frameworks and Libraries" section in the Python Developers Survey 2020.

Stats

Update 2021: https://lp.jetbrains.com/python-developers-survey-2021/#FrameworksLibraries Update 2022: https://lp.jetbrains.com/python-developers-survey-2022/#FrameworksLibraries

Comparisons

Additional resources

About

A curated list of awesome Python Web Frameworks (micro, full-stack, REST, etc.)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages