FastAPI filter
Compatibility
Required:
- Python: >=3.9, <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
Metadata
Release files for fastapi-filter 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastapi_filter-3.0.0.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastapi_filter-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.9 kB
Release files / fastapi_filter-3.0.0.tar.gz
| Download URL | fastapi_filter-3.0.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afdea1347c9bb61d7c1102d5ee1f5308810bfa7e08aa8d7f3cc3f3d258e24507
|
|
BLAKE2b-256 checksum How to use checksums |
d5e9cd52fa0d71adb81ac69b3ffce1c5155e6afd8434e1f021666c8edabf16cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.13 Linux/6.17.0-1015-azure
|
Release files / fastapi_filter-3.0.0-py3-none-any.whl
| Download URL | fastapi_filter-3.0.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b4f39ba94b51134d441cdac61d1d7f6a86e51cb662c4aa47854b5db7bfdd5c5
|
|
BLAKE2b-256 checksum How to use checksums |
e3e2710f4e50ce083d53ae840078d750f062e158a78c97d1e380915e2860d35e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.13 Linux/6.17.0-1015-azure
|