FastAPI filter
Project description
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
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-2.0.1.tar.gz
(9.9 kB
view details)
Built Distribution
File details
Details for the file fastapi_filter-2.0.1.tar.gz
.
File metadata
- Download URL: fastapi_filter-2.0.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cffda370097af7e404f1eb188aca58b199084bfaf7cec881e40b404adf12566e |
|
MD5 | 6e300f25ed5e4d0b5638dedc81f87da7 |
|
BLAKE2b-256 | 43edc36cfcd849519fd2d23051ad81a91fc5e8cfa7109496fc8a10ad565a5fe9 |
File details
Details for the file fastapi_filter-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: fastapi_filter-2.0.1-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 711d48707ec62f7c9e12a7713fc0f6a99858a9e3741b4d108102d5599e77197d |
|
MD5 | c85221f6e5064f1c42a39af2ca6f68ac |
|
BLAKE2b-256 | 5e88afc022ad64d12f730141fc50758ecf9d60de5fed11335dc16e3127617f05 |