quart-schema
Quart-Schema is a Quart extension that provides schema validation and auto-generated API documentation. (by pgjones)
quart
An async Python micro framework for building web applications. (by pgjones)
quart-schema | quart | |
---|---|---|
3 | 8 | |
69 | 12 | |
- | - | |
7.5 | 0.0 | |
26 days ago | over 1 year ago | |
Python | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-schema
Posts with mentions or reviews of quart-schema.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-22.
-
FASTAPI VS QUART (again)
Thanks, this is a good suggestion - I've added https://github.com/pgjones/quart-schema/commit/b206f15a0985942bd704f3e78b4906cb4d0f0afc and hope to release soon.
-
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.
- Python Flask has no remaining open issues or pull requests
quart
Posts with mentions or reviews of quart.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-01.
- Python Flask has no remaining open issues or pull requests
-
Question about Synchronous web frameworks
Sorry. It's not Quartz, it's just Quart https://pgjones.gitlab.io/quart/
-
The problem with Flask async views and async globals
If you're looking for an experience that's very similar to Flask you can use Quart which is inspired by Flask. Quart even has a guide about how to migrate from a Flask application to using Quart! Flask's own documentation for async views actually recommends using Quart in some cases due to the performance hit from using a new event loop per request.
-
New Versions Released! Flask 2.0 with async
Flask getting async support is a huge step for the asyncio web ecosystem in Python. I wonder how Flask's ASGI support will evolve in parallel with Quart[1] which bills itself as the ASGI version of Flask and is maintained by a member of the Pallets team. One of the maintainers of Werkzeug even recommended using Quart[2]
[1] https://pgjones.gitlab.io/quart/
[2] https://github.com/pallets/werkzeug/issues/1322#issuecomment...
-
New major versions of Flask, Jinja, Click, and Werkzeug released!
What we get with the async part of this release - If you would like to run an async library or your own async code from a flask route you can do that now. This is super useful, where let's say we have some async code that fetches data from many sources concurrently, or call multiple a few ML prediction endpoints at the same time (as long as they don't time out) using httpx and respond with some sort of outcome, or finally try that cool new async-only database library. A current (v2) limitation is that the you can't make concurrent requests using just the current asyncio implementation (an alternative with Flask API and ASGI: Quart). Typically in production gunicorn or uwsgi + threads/processes/gevent-eventlet is used and this makes Flask behave asynchronously. More here and here if interested.
-
Create Asynchronous API in Python and Flask
For people looking to do async stuff with Flask, there is also Quart! Itβs essentially an async port of Flask, with all your favorite, familiar methods!
-
asyncio: We Did It Wrong
I agree with the transition issues, Quart has this awkward code to try and get around this.
-
Python developer survey reaction - 6 insights to make you a better dev
Appreciate the feedback! I forgot to pimp my favorite web framework, Quart, but I can attest to Flask and even Django being great. I always looked down on Django as too big but then I used it for my current company and I realized I was totally wrong. Easy to pick up, lots of functionality if you want it, but it doesn't force it on you.
What are some alternatives?
When comparing quart-schema and quart you can also consider the following projects:
connexion - Connexion is a modern Python web framework that makes spec-first and api-first development easy.
Flask - The Python micro framework for building web applications.
apiflask - A lightweight Python web API framework.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
flask-pydantic - flask extension for integration with the awesome pydantic package
starlette - The little ASGI framework that shines. π
Jinja2 - A very fast and expressive template engine.
uvicorn - An ASGI web server, for Python. π¦
asyncpg - A fast PostgreSQL Database Client Library for Python/asyncio.