Skip to main content

FastAPI filter

Project description

pypi downloads codecov Netlify Status CodeQL

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

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

Uploaded Source

Built Distribution

fastapi_filter-2.0.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_filter-2.0.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.3 Linux/6.5.0-1018-azure

File hashes

Hashes for fastapi_filter-2.0.0.tar.gz
Algorithm Hash digest
SHA256 84157d83c52eb16f41f9b8e5bd054d9c9df87b63e23b843f6dbd5c84492ca47e
MD5 4d78c65ce3e720de4ae219ea89dcb681
BLAKE2b-256 362e84c313944d4d9195810e5ed920f231883b0b088b3ff528721e70ef9a8509

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastapi_filter-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.3 Linux/6.5.0-1018-azure

File hashes

Hashes for fastapi_filter-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14c2ae6819fa71e2db5b29f741fc1f829b14ccf12dce29630e7f87329e7e5cf9
MD5 7d4b6eea7710680857f62b88669ad963
BLAKE2b-256 e41cb13a5fdce5c496b0be3dc35a2b099210763e8bdd80b6b3c2881eadb18e93

See more details on using hashes here.

Supported by

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