Skip to main content

FastAPI filter SQLAlchemy

Project description

FastAPI filter SQLAlchemy

This is a fork fastapi-filter

  • added functionality for creating custom filters (analog SerializerMethodField into drf).
  • possibility to sort by fields of related tables.
  • new filter range implementing behavior between.
  • new filter likein combines behavior in and ilike.

Required

  • python >=3.11, <4.0
  • fastapi >=0.100.0, <1.0
  • SQLAlchemy >=1.4.36, <2.1.0
  • pydantic >=2.0.0, <3.0.0

Installation

pip install fastapi-filter-sqlalchemy

Contribution

You can run tests with pytest.

pip install poetry
poetry install
pytest

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_sqlalchemy-0.0.3.tar.gz (10.7 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_sqlalchemy-0.0.3-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_filter_sqlalchemy-0.0.3.tar.gz.

File metadata

  • Download URL: fastapi_filter_sqlalchemy-0.0.3.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.11.0-1014-azure

File hashes

Hashes for fastapi_filter_sqlalchemy-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5364d1d17da7c401467ddc4c72f5846baab280dd82c31a80bcab54366ea6b747
MD5 d3b83d4a8ec03b36b1a0b3a85ed0cf31
BLAKE2b-256 22446d18431abfbc8984df4a4950b192951beee47e89d5235fd083c7aad540f0

See more details on using hashes here.

File details

Details for the file fastapi_filter_sqlalchemy-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_filter_sqlalchemy-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c58ab8f7bd27b3f26a475e93b91fbf61501d8454525f31df1a214488274e68d4
MD5 8f20ed610a94ff728543750ea2aa710e
BLAKE2b-256 3e594562e17237d857aea70870ea826168831061231c74311bce6e20a450cf77

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