Skip to main content

FastAPI 过滤器

项目描述

pypi 下载 编解码器 网络化状态 代码QL

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
arthur_Arthurs-MacBook-Pro-2___code_fastapi-filter

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

fastapi-filter-0.2.1.tar.gz (8.0 kB 查看哈希)

已上传 source

内置分布

fastapi_filter-0.2.1-py3-none-any.whl (8.7 kB 查看哈希

已上传 py3