Metadata-Version: 2.3
Name: fastapi-filter-sqlalchemy
Version: 0.0.2
Summary: FastAPI filter SQLAlchemy
License: Apache-2.0
Author: Sergey V. Elfimov
Author-email: elfimovserg@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: Framework :: FastAPI
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Dist: SQLAlchemy (>=1.4.36,<2.1.0)
Requires-Dist: fastapi (>=0.100.0,<1.0)
Requires-Dist: pydantic (>=2.0.0,<3.0.0)
Project-URL: Repository, https://github.com/SergeiVElfimov/fastapi-filter-sqlalchemy
Description-Content-Type: text/markdown

# FastAPI filter SQLAlchemy
This is a fork [fastapi-filter](https://github.com/arthurio/fastapi-filter)

- added functionality for creating custom filters (analog SerializerMethodField into [drf](https://github.com/encode/django-rest-framework).
- 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
```

