Flask-More
Modernized Flask API builder with schema validator and OpenAPI.
Warning
Currently,
Flask-Moreis 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
OpenAPIdocs(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.
Release files for Flask-More 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask_more-0.2.2.tar.gz | 14.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_more-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.9 kB
Release files / flask_more-0.2.2.tar.gz
| Download URL | flask_more-0.2.2.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d034d9e377f6ba79f14a7ac3f30a979384a02cdd5f7eb4a7de124cf4d7114fba
|
|
BLAKE2b-256 checksum How to use checksums |
2cdfff3a7576c69477d53955267c65793948cffee9faae719e372c3ef692e95a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Release files / flask_more-0.2.2-py3-none-any.whl
| Download URL | flask_more-0.2.2-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ed8b584cd7781ce61ead2b240344e12602b00946c68a9c2aad8bd0ac2ced3ae
|
|
BLAKE2b-256 checksum How to use checksums |
5090672ecbc43f61b65bde52cbb550fd05bb5a05a05388c2ba9898791e21a50a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|