flask-smorest
APIFairy
flask-smorest | APIFairy | |
---|---|---|
5 | 4 | |
619 | 317 | |
0.6% | - | |
8.9 | 5.3 | |
8 days ago | 5 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-smorest
-
Faster time-to-market with API-first
When it comes to Flask, in particular, there’re plenty of choices. And in fairness, not all frameworks are created equal. You’ve got flasgger, restx (successor of flask-restplus), flask-RESTful, and flask-smorest, to mention a few. How do you choose among those???
- What's best library for swagger + flask?
-
I cant get multiple files with marshmallow.
Have you taken a look at this : https://github.com/marshmallow-code/flask-smorest/issues/321
-
APIFairy: Automatic OpenAPI Documentation for Flask APIs
Seems similar to flask-smorest ?
-
New major versions of Flask, Jinja, Click, and Werkzeug released!
flask-smorest Flask, API + OpenAPI/SwaggerUI/Redoc + Marshmallow
APIFairy
-
Flaks REST API lib
I just cut the 1.0 release of my APIFairy extension today. Maybe that works for you? https://github.com/miguelgrinberg/APIFairy
- APIFairy: Automatic OpenAPI Documentation for Flask APIs
-
The Flask Mega-Tutorial
Not sure what you mean by "ignoring async". If you write your handlers as regular functions, I would imagine FastAPI is going to send them to run in an executor. So all the concurrency benefits of FastAPI go down the drain, and now your concurrency is based on threads.
As far as Swagger integration, you can use APIFairy with Flask and get similar type of auto-generated docs. Disclaimer, APIFairy is an extension that I created: https://github.com/miguelgrinberg/APIFairy
What are some alternatives?
flask-restx - Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
flask-tables - Beautiful Interactive tables in your Flask templates.
flask-pydantic - flask extension for integration with the awesome pydantic package
microblog - The microblogging application developed in my Flask Mega-Tutorial series. This version maps to the 2024 Edition of the tutorial.
flask-pydantic-spec - An Flask OpenAPI library using Pydantic
jsonify - UI wrapper for flask's jsonify
flask-rebar - Flask-Rebar combines flask, marshmallow, and swagger for robust REST services.
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Flask - The Python micro framework for building web applications.
flask-mvc-boilerplate - Flask boilerlate in MVC format
starlette - The little ASGI framework that shines. 🌟
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs