Modernized Flask API builder with schema validator and OpenAPI
Project description
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-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:
Read the docs to get more details.
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
Built Distribution
File details
Details for the file flask_lan-0.1.12.tar.gz
.
File metadata
- Download URL: flask_lan-0.1.12.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e2ce55bed8ba289fb52dc4caa7a9a4a9682eab9846be2d9116af7acca497d6c |
|
MD5 | 6aa3803b2c81513bb0973bd4fb75fdc3 |
|
BLAKE2b-256 | 527e374317e15e4ee221545fa11f73a852705a63a7163acfe799115996fc8525 |
File details
Details for the file flask_lan-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: flask_lan-0.1.12-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d2bdbd8caf21bd332491643396b00932fe0232c4c8c2479c0dc3adef5b5c276 |
|
MD5 | 5b82e004850d583d2f3009cc202e6630 |
|
BLAKE2b-256 | 74141f4a11e13c4ba1f905b48e83ec835b894795072ef5acdce2e6650cff3516 |