Skip to main content

Flask-More

GitHub Workflow Status codecov PyPI PyPI - Python Version GitHub

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:

docs

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)

Source distribution for Flask-More 0.2.2
File Size Uploaded
flask_more-0.2.2.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Flask-More 0.2.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page