Python Web Frameworks

Open-source Python projects categorized as Web Frameworks

Top 23 Python Web Framework Projects

  • Django

    The Web framework for perfectionists with deadlines.

  • Project mention: AutoCodeRover resolves 22% of real-world GitHub in SWE-bench lite | news.ycombinator.com | 2024-04-09

    >As an example, AutoCodeRover successfully fixed issue #32347 of Django.

    This bug was fixed three years ago in a one-line change.[0] Presumably the fix was already in the training data.

    [0] https://github.com/django/django/pull/13933

  • fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

  • Project mention: FastAPI Got Me an OpenAPI Spec Really... Fast | dev.to | 2024-04-22

    That’s when I found FastAPI.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Flask

    The Python micro framework for building web applications.

  • Project mention: Ask HN: High quality Python scripts or small libraries to learn from | news.ycombinator.com | 2024-04-19

    I'd suggest Flask or some of the smaller projects in the Pallets ecosystem:

    https://github.com/pallets/flask

  • Tornado

    Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.

  • Project mention: Epoll: The API that powers the modern internet (2022) | news.ycombinator.com | 2024-01-11

    I am not expert in these but I thought Tornado's ioloop was readable enough for me to learn more event loops. Mostly, it was being implemented in pure Python.

    https://github.com/tornadoweb/tornado/blob/branch4.5/tornado...

    (Had to be in 4.5 because the newer versions 5.x and 6.x, it's switched to Python's stdlib asyncio)

  • AIOHTTP

    Asynchronous HTTP client/server framework for asyncio and Python

  • Project mention: Show HN: The HTTP Garden – A Parser Vulnerability Research Tool | news.ycombinator.com | 2024-02-05

    > AIOHTTP: The Python int constructor is used to parse Content-Lengths and chunk-sizes, so _, +, and - are misinterpreted.

    Fun. I believe the fix is incomplete here[1]. Python's int() constructor accepts integers comprised of any unicode numeral, for example, int("٦٦٦") == 666, and "٦٦٦".isdecimal() == True.

    [1] https://github.com/aio-libs/aiohttp/pull/7663/files#diff-197...

  • Bottle

    bottle.py is a fast and simple micro-framework for python web-applications.

  • Project mention: Ask HN: What are some unpopular technologies you wish people knew more about? | news.ycombinator.com | 2023-12-02

    Bottle.py: uber-fast and simple python web microframework, about 3x faster, saner, and more memory-efficient than Flask in my experience: https://github.com/bottlepy/bottle

    Fossil: distributed version control and much more in a single executable, from the creators of SQLite: https://fossil-scm.org/

  • Graphene

    GraphQL framework for Python

  • Project mention: Who moved my error codes? Adding error types to your GoLang GraphQL Server | dev.to | 2023-06-25

    And gqlgen is not alone in this. We found several more GraphQL frameworks that don’t take it upon themselves to address this problem. Widely used GraphQL server implementations, such as graphql-go/graphql and Python’s graphene, have the exact same gap of exposing messages of unexpected errors by default.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • web.py

    web.py is a web framework for python that is as simple as it is powerful.

  • Project mention: Aaron Swartz’s Web.py | news.ycombinator.com | 2023-09-09
  • Pyramid

    Pyramid - A Python web framework

  • Project mention: Ask HN: Do you need a web framework for a startup landing page? | news.ycombinator.com | 2024-01-27

    You don't need a framework for a single page. That being said, using a framework is probably a good idea if you intend to be on a growth curve.

    Pyramid is a framework written to scale from a small, single-file site to a site that has grown horizontally scaled across multiple servers. If I understand your needs correctly, Pyramid is probably worth a look, here's a link: https://trypyramid.com/

    Pyramid is under active development, and it has a large, helpful, welcoming user community.

  • django-unicorn

    The magical reactive component framework for Django ✨

  • Project mention: Use any web browser as GUI, with Zig in the back end and HTML5 in the front end | news.ycombinator.com | 2024-01-01
  • Masonite

    The Modern And Developer Centric Python Web Framework. Be sure to read the documentation and join the Discord channel for questions: https://discord.gg/TwKeFahmPZ

  • web2py

    Free and open source full-stack enterprise framework for agile development of secure database-driven web-based applications, written and programmable in Python.

  • Project mention: Ask HN: Can I create a mobile and Web App using Python/Python Framework? | news.ycombinator.com | 2024-02-13

    For reference, YouTube runs on Python[1,2,3]:

    > 1. Python and Django: YouTube’s backend is predominantly written in Python, offering a balance of performance and readability.

    > 2. Google Cloud Platform...

    > 3. Java and C++: YouTube also utilizes Java and C++ for specific backend services, as they provide better performance for certain tasks.

    ---

    A long time ago, I looked into these Python frameworks:

    - http://www.web2py.com/

    - https://kivy.org/

    [1]: https://blogopost.com/youtube-tech-stack/#backend

    [2]: https://medium.com/@shanthanaroja99/technology-stack-behind-...

    [3]: https://youtu.be/G-lGCC4KKok

  • CherryPy

    CherryPy is a pythonic, object-oriented HTTP framework. https://cherrypy.dev

  • bytewax

    Python Stream Processing

  • Project mention: Building a streaming SQL engine with Arrow and DataFusion | news.ycombinator.com | 2024-03-18
  • weppy

    The web framework for inventors

  • TurboGears

    Python web framework with full-stack layer implemented on top of a microframework core with support for SQL DBMS, MongoDB and Pluggable Applications

  • Morepath

    Python web microframework with superpowers

  • Websauna

    Websauna is a full stack Python web framework for building web services and back offices with admin interface and sign up process

  • mypy-django

    PEP-484 type hints bindings for the Django web framework

  • vank

    A python Web Framework

  • turbo

    A framework based on tornado for easier development, scaling up and maintenance

  • domonic

    Create HTML with python 3 using a standard DOM API. Includes a python port of JavaScript for interoperability and tons of other cool features. A fast prototyping library.

  • Project mention: Ludic: New framework for Python with seamless Htmx support | news.ycombinator.com | 2024-03-21
  • tartiflette-aiohttp

    tartiflette-aiohttp is a wrapper of aiohttp which includes the Tartiflette GraphQL Engine, do not hesitate to take a look of the Tartiflette project.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Web Frameworks related posts

Index

What are some of the best open-source Web Framework projects in Python? This list will help you:

Project Stars
1 Django 76,672
2 fastapi 70,779
3 Flask 66,350
4 Tornado 21,512
5 AIOHTTP 14,547
6 Bottle 8,292
7 Graphene 7,973
8 web.py 5,869
9 Pyramid 3,899
10 django-unicorn 2,171
11 Masonite 2,148
12 web2py 2,083
13 CherryPy 1,783
14 bytewax 1,144
15 weppy 960
16 TurboGears 799
17 Morepath 395
18 Websauna 264
19 mypy-django 224
20 vank 198
21 turbo 131
22 domonic 130
23 tartiflette-aiohttp 60

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com