Skip to content

SergeiVElfimov/fastapi-filter-sqlalchemy

Repository files navigation

FastAPI filter SQLAlchemy

build-status-image codeql-image pypi-version pypi-downloads

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

Contributing

Before contributing please read our contributing guidelines.