flask-pydantic-spec
quart
flask-pydantic-spec | quart | |
---|---|---|
2 | 5 | |
98 | 2,649 | |
- | 3.0% | |
5.7 | 8.0 | |
2 months ago | 17 days ago | |
Python | Python | |
Apache License 2.0 | 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.
flask-pydantic-spec
-
Quart is now a Pallets project
You can do the same, with very similar code, with e.g. Flask-Pydantic-Spec or Quart-Schema as both generate the OpenAPI specs from Pydantic models.
-
New major versions of Flask, Jinja, Click, and Werkzeug released!
flask-pydantic-spec Flask, API + OpenAPI/SwaggerUI/Redoc + Pydantic
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
What are some alternatives?
flask-pydantic - flask extension for integration with the awesome pydantic package
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
flask-smorest - DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow
Flask - The Python micro framework for building web applications.
asyncpg - A fast PostgreSQL Database Client Library for Python/asyncio.
starlette - The little ASGI framework that shines. 🌟
flask-rebar - Flask-Rebar combines flask, marshmallow, and swagger for robust REST services.
django-awl - Miscellaneous django tools