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).Don't 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:
Read the docs to get more details.
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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f2f2f913705ca2dce3f12dbd45f7f4519d80c99504d5f87aff1d37f811c909a |
|
MD5 | a9d23e6e1635d0eae32629799798d921 |
|
BLAKE2b-256 | 4735daf3b19d00b794b02352d1c42ee4a980ca50f56908b6c05ef8cd785f0027 |