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
File details
Details for the file flask_more-0.2.2.tar.gz
.
File metadata
- Download URL: flask_more-0.2.2.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d034d9e377f6ba79f14a7ac3f30a979384a02cdd5f7eb4a7de124cf4d7114fba |
|
MD5 | 84a848dafa686189c6e248f32ccce5cb |
|
BLAKE2b-256 | 2cdfff3a7576c69477d53955267c65793948cffee9faae719e372c3ef692e95a |
File details
Details for the file flask_more-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: flask_more-0.2.2-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed8b584cd7781ce61ead2b240344e12602b00946c68a9c2aad8bd0ac2ced3ae |
|
MD5 | 237ef9c8a601a7a1e1240575ddca1716 |
|
BLAKE2b-256 | 5090672ecbc43f61b65bde52cbb550fd05bb5a05a05388c2ba9898791e21a50a |