Skip to main content

Modernized Flask API builder with schema validator and OpenAPI

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_more-0.2.2.tar.gz (14.3 kB view hashes)

Uploaded Source

Built Distribution

flask_more-0.2.2-py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page