quart
flask-rebar
Our great sponsors
quart | flask-rebar | |
---|---|---|
5 | 2 | |
2,616 | 231 | |
3.9% | 0.4% | |
8.0 | 7.3 | |
27 days ago | 14 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
quart
-
Ask HN: What have you created that deserves a second chance on HN?
I've three things :),
1. Quart, https://quart.palletsprojects.com, an ASGI (async/await) re-implementation of the Python web MicroFramework Flask. It is now maintained alongside, by the same people, as Flask.
2. Hypercorn, https://hypercorn.readthedocs.io, an ASGI/WSGI server that supports HTTP/1, HTTP/2, and HTTP/3.
3. My book "A Blueprint for Production-Ready Web Applications", which uses both of the above and shows a beginner how to build a full stack app (React frontend) running on AWS. See https://pgjones.dev/tozo/ for details, code, and link to the example app.
-
How does a single running instance of a Flask application handle multiple requests at once? Is it all async or multithreaded? Or handled by the webserver (NGINX, gunicorn, etc)?
If you want async flask, you should use quart for now. The roadmap is to fully incorporate quart into flask at some point, but it’s unclear when that’s going to happen.
-
This Week In Python
quart – An async Python micro framework for building web applications
- Quart: An async Python micro framework for building web applications
- Quart, the async implementation of Flask has joined Pallets
flask-rebar
-
New major versions of Flask, Jinja, Click, and Werkzeug released!
rebar Flask, API + OpenAPI/SwaggerUI + Marshmallow
-
Why Choose Flask Over FastAPI
FALSE. https://github.com/python-restx/flask-restx among many others are mature and have existed for a long time. https://github.com/plangrid/flask-rebar exists.
What are some alternatives?
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
flask-restx - Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
Flask - The Python micro framework for building web applications.
flask-pydantic - flask extension for integration with the awesome pydantic package
starlette - The little ASGI framework that shines. 🌟
flask-smorest - DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow
flask-pydantic-spec - An Flask OpenAPI library using Pydantic
django-awl - Miscellaneous django tools
httpx - A next generation HTTP client for Python. 🦋