Flask-Lan
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-Lanis 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
OpenAPIdocs(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:
Read the docs to get more details.
License
This project is licensed under the terms of the MIT license.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| flask_lan-0.1.12.tar.gz | 13.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|