FastAPI filter
Project description
FastAPI filter
Compatibilty
Required:
- Python: >=3.9, <3.12
- Fastapi: >=0.78, <0.86
- Pydantic: >=1.10.0 <2.0.0
Optional
- MongoEngine: >=0.24.1, <0.25.0
- SQLAlchemy: >=1.4.36, <1.5.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-0.3.4.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for fastapi_filter-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec4345d9bf51a7c53fbaf6326c919d61e95c2a35fe4cf30b20e37001955e90c |
|
MD5 | 8a13abe3a2743008c53b19486fa41f31 |
|
BLAKE2b-256 | aed604ebf81fc049ace4a9eb6ce57deb9e9d46bf98f320ed0462c9cc74a37096 |