Skip to main content

Flask-Lan

GitHub Workflow Status codecov PyPI PyPI - Python Version GitHub

Warning

Flask-Lan has been renamed to Flask-More. Please use the new name instead.

Modernized Flask API builder with schema validator and OpenAPI.

Warning

Currently, Flask-Lan is still under active development(before v1.0.0).

Don't use it in production.

Flask-Lan 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-Lan

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

Read the docs to get more details.

License

This project is licensed under the terms of the MIT license.

Metadata

Release files for Flask-Lan 0.1.12

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-Lan 0.1.12
File Size Uploaded Provenance
flask_lan-0.1.12.tar.gz 13.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Flask-Lan 0.1.12
File Interpreter ABI Platform
flask_lan-0.1.12-py3-none-any.whl Python 3 none any Details

Total release size: 25.3 kB

Release files / flask_lan-0.1.12.tar.gz

Download URL flask_lan-0.1.12.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3e2ce55bed8ba289fb52dc4caa7a9a4a9682eab9846be2d9116af7acca497d6c
BLAKE2b-256 checksum
How to use checksums
527e374317e15e4ee221545fa11f73a852705a63a7163acfe799115996fc8525
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.0

Release files / flask_lan-0.1.12-py3-none-any.whl

Download URL flask_lan-0.1.12-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d2bdbd8caf21bd332491643396b00932fe0232c4c8c2479c0dc3adef5b5c276
BLAKE2b-256 checksum
How to use checksums
74141f4a11e13c4ba1f905b48e83ec835b894795072ef5acdce2e6650cff3516
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.0

Security for Flask-Lan 0.1.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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