FastAPI filter
Project description
FastAPI filter
Compatibilty
Required:
- Python: 3.10+
- Fastapi: 0.78+
- Pydantic: 1.9+
Optional
- MongoEngine: 0.24.1+
- SQLAlchemy: 1.4.36+
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.1.0.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for fastapi_filter-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4282792815e0fc675846b83b9d545ff62d03e59758d6f6deccfffed2a1ff58e |
|
MD5 | b1c770d6897d44394025cb1895d7ea1f |
|
BLAKE2b-256 | ba9134d35d40f8a7ee1597364815b23411e8fa1ceb2fc349c3b57447a1238693 |