Skip to main content

FastAPI filter

Project description

pypi downloads codecov Netlify Status CodeQL

FastAPI filter

Compatibility

Required:

  • Python: >=3.8, <3.12
  • Fastapi: >=0.78, <1.0
  • Pydantic: >=1.10.0, <2.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

Swagger UI

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
arthur_Arthurs-MacBook-Pro-2___code_fastapi-filter

Project details


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.5.4.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_filter-0.5.4-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_filter-0.5.4.tar.gz.

File metadata

  • Download URL: fastapi_filter-0.5.4.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/5.15.0-1034-azure

File hashes

Hashes for fastapi_filter-0.5.4.tar.gz
Algorithm Hash digest
SHA256 90194874e75d79cba35d3550cc91c4cdfa38857324a224d0990ec33535a13c79
MD5 e5d3cda2e42b44b8f25c8018b4c94307
BLAKE2b-256 c4d87500872726265d90ff775e7d765aa767954a111c68cd695d1e23b69e0c5c

See more details on using hashes here.

File details

Details for the file fastapi_filter-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: fastapi_filter-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/5.15.0-1034-azure

File hashes

Hashes for fastapi_filter-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 34aa932b9bff2e120ea8613f88fe5e8536d36d27684497112debe5b6a7989415
MD5 5107c6e2f99cf658d388e2133fcd57b0
BLAKE2b-256 1f85b59012a75366ba4c9a8c205e840782c88f21c624255e91775faf5000820e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page