FastAPI filter
Project description
FastAPI filter
Compatibility
Required:
- Python: >=3.8, <4.0
- Fastapi: >=0.100, <1.0
- Pydantic: >=2.0.0, <3.0.0
Optional
- MongoEngine: >=0.24.1, <0.28.0
- SQLAlchemy: >=1.4.36, <2.1.0
Installation
# 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]
Documentation
Please visit: https://fastapi-filter.netlify.app/
Examples
You can play with examples:
pip install poetry
poetry install
python examples/fastapi_filter_sqlalchemy.py
Filter
https://user-images.githubusercontent.com/950449/176737541-0e36b72f-38e2-4368-abfa-8bbc0c82e8ae.mp4
Order by
https://user-images.githubusercontent.com/950449/176747056-ea82d6b9-cb3b-43eb-aec7-96ba0bc79e8b.mp4
Contribution
You can run tests with pytest
.
pip install poetry
poetry install --extras all
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastapi_filter-1.1.0.tar.gz
(9.0 kB
view hashes)
Built Distribution
Close
Hashes for fastapi_filter-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9807a65f76855580a51c232d51b15c5d69a033b6662ef445282a4f982280347f |
|
MD5 | 37aba7fcec08e334033d87844a2fde52 |
|
BLAKE2b-256 | 5bdc216fc16fbd332a3210b88a4d725bd35d6f8d50b6c9a591105f81ab7d55ba |