FastAPI 过滤器
项目描述
FastAPI 过滤器
兼容性
必需的:
- 蟒蛇:3.9+
- Fastapi:0.78+
- Pydantic:1.9+
可选的
- MongoEngine:0.24.1+
- SQLAlchemy:1.4.36+
安装
# Basic version
pip install fastapi-filter
# With backends
pip install fastapi-filter[all]
# More selective
pip install fastapi-filter[sqlalchemy]
pip install fastapi-filter[mongoengine]
文档
请访问:https ://fastapi-filter.netlify.app/
例子
你可以玩一些例子:
pip install poetry
poetry install
python examples/fastapi_filter_sqlalchemy.py
筛选
https://user-images.githubusercontent.com/950449/176737541-0e36b72f-38e2-4368-abfa-8bbc0c82e8ae.mp4
订购方式
https://user-images.githubusercontent.com/950449/176747056-ea82d6b9-cb3b-43eb-aec7-96ba0bc79e8b.mp4
贡献
您可以使用pytest
.
pip install poetry
poetry install --extras all
pytest
项目详情
关
fastapi_filter -0.2.1-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 28a0423b72c6d1093336eea42fad0b81976e7ae32d0e9fc0f500a970ef664b34 |
|
MD5 | e1405274e9c5af7849a0c3e82b7dcdbd |
|
布莱克2-256 | da6d571b3620485d4f207062bbead75d7fd01948693f60b4139b4b5117ce7517 |