Web Development

Listed by section, in editorial order. Click a column to re-sort the whole list.

Press / to search. Tap a tag to filter. Click any row for details.

Search and filter

Results

Row number Tags

Web Frameworks 9 projects

How much should a Python web framework build in? Django comes with an ORM, an admin, and auth; Flask gives you a small core to extend.

A microframework for Python.
Also see: awesome-flask
pallets/github.com/pallets/flask / /146,572,241 downloads/month
A high-level web framework that encourages rapid development and clean, pragmatic design.
Also see: awesome-django
django/github.com/django/django / /43,465,595 downloads/month
A fast and simple micro-framework distributed as a single file with no dependencies.
bottlepy/github.com/bottlepy/bottle / /7,290,052 downloads/month
A small, fast, down-to-earth, open source Python web framework.
Pylons/github.com/Pylons/pyramid / /2,050,228 downloads/month
The fastest way to create an HTML app.
AnswerDotAI/github.com/AnswerDotAI/fasthtml / /647,083 downloads/month
A lightweight ASGI framework and toolkit for building high-performance async services.
Kludex/github.com/Kludex/starlette / /526,640,018 downloads/month
A web framework and asynchronous networking library.
tornadoweb/github.com/tornadoweb/tornado / /103,461,347 downloads/month
Production-ready, capable and extensible ASGI Web framework.
litestar-org/github.com/litestar-org/litestar / /1,767,184 downloads/month
A framework for building reactive, full-stack web applications entirely with Python.
reflex-dev/github.com/reflex-dev/reflex / /292,101 downloads/month

Web APIs 11 projects

Type hints alone let FastAPI validate requests and document your API. Python API frameworks for Django include Django Ninja, which reads them too.

A powerful and flexible toolkit to build web APIs.
encode/github.com/encode/django-rest-framework / /25,395,821 downloads/month
Fast, Django REST framework based on type hints and Pydantic.
vitalik/github.com/vitalik/django-ninja / /4,009,699 downloads/month
Strawberry GraphQL integration with Django.
Modern REST with speed, types, async, msgspec, pydantic and other goodies.
Fully featured framework for fast, easy and documented API development with Flask.
python-restx/github.com/python-restx/flask-restx / /1,326,186 downloads/month
A Flask/Marshmallow-based REST API framework with automatic OpenAPI documentation.
marshmallow-code/github.com/marshmallow-code/flask-smorest / /538,187 downloads/month
A lightweight Python web API framework based on Flask, supporting marshmallow schemas and Pydantic models.
apiflask/github.com/apiflask/apiflask / /203,364 downloads/month
A modern, fast, web framework for building APIs with standard Python type hints.
fastapi/github.com/fastapi/fastapi / /404,491,294 downloads/month
A GraphQL library that leverages Python type annotations for schema definition.
strawberry-graphql/github.com/strawberry-graphql/strawberry / /6,222,674 downloads/month
A spec-first framework that automatically handles requests based on your OpenAPI specification.
spec-first/github.com/spec-first/connexion / /4,031,779 downloads/month
HTTP/2-based RPC framework with Python bindings, built by Google.
grpc/github.com/grpc/grpc / /332,728,321 downloads/month

Web Servers 5 projects

In production, Gunicorn serves WSGI apps like Django, and Uvicorn ASGI apps like FastAPI. Need a Python web server on Windows? Waitress runs WSGI there.

A lightning-fast ASGI server implementation.
Kludex/github.com/Kludex/uvicorn / /522,605,553 downloads/month
A Rust HTTP server for Python applications built on top of Hyper and Tokio, supporting WSGI/ASGI/RSGI.
emmett-framework/github.com/emmett-framework/granian / /10,512,222 downloads/month
An ASGI and WSGI Server based on Hyper libraries and inspired by Gunicorn.
pgjones/github.com/pgjones/hypercorn / /6,668,836 downloads/month
A pre-fork WSGI server with a native ASGI worker, ported from Ruby's Unicorn project.
benoitc/github.com/benoitc/gunicorn / /101,436,036 downloads/month
Multi-threaded, powers Pyramid.
Pylons/github.com/Pylons/waitress / /6,700,096 downloads/month

WebSocket 4 projects

Your Python WebSocket library follows your framework: Channels on Django, Flask-SocketIO on Flask with Socket.IO clients. websockets needs no framework.

A library for building WebSocket servers and clients with a focus on correctness and simplicity.
python-websockets/github.com/python-websockets/websockets / /422,199,905 downloads/month
Brings WebSocket, long-poll HTTP, and other async support to Django.
django/github.com/django/channels / /5,155,823 downloads/month
Socket.IO integration for Flask applications.
miguelgrinberg/github.com/miguelgrinberg/Flask-SocketIO / /2,125,591 downloads/month
WebSocket & WAMP for Python on Twisted and asyncio.
crossbario/github.com/crossbario/autobahn-python / /8,524,727 downloads/month

Template Engines 2 projects

Whether templates may hold Python code splits the Python template engines: Jinja keeps code out and sandboxes untrusted templates, Mako embeds plain Python.

A modern and designer friendly templating language.
pallets/github.com/pallets/jinja / /561,146,746 downloads/month
Hyperfast and lightweight templating for the Python platform.
sqlalchemy/github.com/sqlalchemy/mako / /189,296,726 downloads/month

Web Asset Management 3 projects

Static files can skip a separate server: with WhiteNoise, Django static files are served by your app itself. Uploads go to cloud storage via django-storages.

Radically simplified static file serving for WSGI applications, with compression and caching headers.
evansd/github.com/evansd/whitenoise / /15,283,140 downloads/month
A collection of custom storage back ends for Django.
jschneier/github.com/jschneier/django-storages / /12,973,437 downloads/month
Compresses linked and inline JavaScript or CSS into a single cached file.
django-compressor/github.com/django-compressor/django-compressor / /2,668,172 downloads/month

Authentication 7 projects

Letting users log in with Google takes one Python authentication library: django-allauth on Django, which does password sign-up too, or Authlib elsewhere.

A generic and thorough implementation of the OAuth request-signing logic.
oauthlib/github.com/oauthlib/oauthlib / /232,899,362 downloads/month
A comprehensive library for building OAuth, OpenID Connect, and JWT/JWS/JWE/JWK/JWA.
authlib/github.com/authlib/authlib / /112,551,965 downloads/month
Authentication app for Django that "just works."
pennersr/github.com/pennersr/django-allauth / /5,359,819 downloads/month
An OAuth 2.0 authorization server for Django.
django-oauth/github.com/django-oauth/django-oauth-toolkit / /4,983,678 downloads/month
JSON Web Token implementation in Python.
jpadilla/github.com/jpadilla/pyjwt / /605,463,832 downloads/month
Implementation of per-object permissions for Django.
django-guardian/github.com/django-guardian/django-guardian / /931,266 downloads/month
A tiny but powerful app providing object-level permissions to Django, without requiring a database.
dfunckt/github.com/dfunckt/django-rules / /486,249 downloads/month

Admin Panels 4 projects

Django saves you from building a Python admin panel: its admin comes built in. Flask-Admin and SQLAdmin add one to Flask and FastAPI apps.

Simple and extensible administrative interface framework for Flask.
pallets-eco/github.com/pallets-eco/flask-admin / /1,951,621 downloads/month
A modern Django admin theme for building dashboards, internal tools, and business applications.
unfoldadmin/github.com/unfoldadmin/django-unfold / /1,408,649 downloads/month
An admin interface for SQLAlchemy models in FastAPI and Starlette.
smithyhq/github.com/smithyhq/sqladmin / /977,798 downloads/month
A jazzy skin for the Django Admin-Interface.
sehmaschine/github.com/sehmaschine/django-grappelli / /294,762 downloads/month

CMS 2 projects

Both Python CMS picks run on Django: Wagtail for page types your developers define, like articles, and django CMS for editors building pages on the live site.

A Django content management system.
wagtail/github.com/wagtail/wagtail / /630,352 downloads/month
The easy-to-use and developer-friendly enterprise CMS powered by Django.
django-cms/github.com/django-cms/django-cms / /95,583 downloads/month

ERP 1 project

Out of the box, Odoo's CRM, eCommerce, and accounting apps run alone or combine into a full Python ERP. Anything they lack, you add as a module.

A suite of open source business apps: CRM, e-commerce, accounting, inventory, and thousands of community modules.

Static Site Generators 2 projects

Of the two Python static site generators here, Pelican builds your blog. Nikola also builds sites that aren't only a blog, and takes Jupyter notebooks as posts.

Static site generator that supports Markdown and reST syntax.
getpelican/github.com/getpelican/pelican / /43,429 downloads/month
A static website and blog generator.
getnikola/github.com/getnikola/nikola / /13,087 downloads/month

Know a project that belongs here?

Tell us what it does and why it stands out.