Modernized Flask API builder with schema validator and OpenAPI
Project description
Flask-More
Modernized Flask API builder with schema validator and OpenAPI.
Warning
Currently,
Flask-More
is still under active development(before v1.0.0).Be careful to use it in production.
Flask-More is kind of like the famous library FastAPI, bringing part of its brilliant features to your Flask application, you can see a lot of similarities between the two.
For example, it uses Pydantic for request and response validation,
it will auto-generate OpenAPI
API docs and so on.
Feature
- Intuitive and easy to use.
- Request/Response validation based on type hinting(by Pydantic).
- Auto-generated
OpenAPI
docs(both swagger and redoc). - Designed for API development.
Quick start
python -m pip install flask-more
You can view and run the code in the example file. Then open http://127.0.0.1:5000/docs you will see the API docs like this:
License
This project is licensed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for flask_more-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed8b584cd7781ce61ead2b240344e12602b00946c68a9c2aad8bd0ac2ced3ae |
|
MD5 | 237ef9c8a601a7a1e1240575ddca1716 |
|
BLAKE2b-256 | 5090672ecbc43f61b65bde52cbb550fd05bb5a05a05388c2ba9898791e21a50a |