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.2.tar.gz (10.8 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.2-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_filter_sqlalchemy-0.0.2.tar.gz
  • Upload date:
  • Size: 10.8 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.2.tar.gz
Algorithm Hash digest
SHA256 3e680d0cb6acb38aac972f96f057ebc534b6d8ca2a79a9c94a14a4e50f1d6cf2
MD5 d92be878bf650e05afe1b8fe306d0aaa
BLAKE2b-256 370370407d2c79783313a53c21ea5a7c70e46c7277fa1b81ec0129a96afd9571

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_filter_sqlalchemy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 778da4285440b34658af0242f03e830dc0d27bcc858954cdae476365a33f5365
MD5 58cf64c5cbf60be21b7d9b2d91fba099
BLAKE2b-256 1c264d2132be1713f202ab85d4a9b01a6113c5770e8a21ef22a479ea02c7ffe2

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