flask-pydantic
quart-schema
Our great sponsors
flask-pydantic | quart-schema | |
---|---|---|
4 | 3 | |
337 | 69 | |
- | - | |
6.4 | 7.5 | |
3 months ago | 18 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.
flask-pydantic
-
Validating JSON
Hi, depending on what kind of programming you do (i.e. use lots of type annotation) I'd recommend either Pydantic or Marshmallow. First comes usually paired with FastAPI, but both do a phantastic job. There's also an extension for Flask + Marshmallow as well for Flask + Pydantic. Personally I see Pydantic as the more modern one.
- Python Flask has no remaining open issues or pull requests
- How do professional SWEs keep learning more Python?
-
New major versions of Flask, Jinja, Click, and Werkzeug released!
flask_pydantic
quart-schema
-
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
What are some alternatives?
flask-pydantic-spec - An Flask OpenAPI library using Pydantic
connexion - Connexion is a modern Python web framework that makes spec-first and api-first development easy.
flask-smorest - DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow
apiflask - A lightweight Python web API framework.
flask-rebar - Flask-Rebar combines flask, marshmallow, and swagger for robust REST services.
starlette - The little ASGI framework that shines. 🌟
quart - An async Python micro framework for building web applications.
Jinja2 - A very fast and expressive template engine.
quart - An async Python micro framework for building web applications.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
httpx - A next generation HTTP client for Python. 🦋