Metadata-Version: 2.3
Name: fastapi-filter-sqlalchemy
Version: 0.0.5
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

[![build-status-image]][build-status]
[![codeql-image]][codeql]
[![pypi-version]][pypi]
[![pypi-downloads]][pypi]

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```

## Contributing

Before contributing please read our [contributing guidelines](CONTRIBUTING.md).

[build-status-image]: https://github.com/SergeiVElfimov/fastapi-filter-sqlalchemy/actions/workflows/python-package.yml/badge.svg
[build-status]: https://github.com/SergeiVElfimov/fastapi-filter-sqlalchemy/actions/workflows/python-package.yml
[codeql-image]: https://github.com/SergeiVElfimov/fastapi-filter-sqlalchemy/actions/workflows/codeql.yml/badge.svg
[codeql]: https://github.com/SergeiVElfimov/fastapi-filter-sqlalchemy/actions/workflows/codeql.yml
[pypi-version]: https://img.shields.io/pypi/v/fastapi-filter-sqlalchemy.svg
[pypi-downloads]: https://img.shields.io/pypi/dm/fastapi-filter-sqlalchemy?color=%232E73B2&logo=python&logoColor=%23F9D25F
[pypi]: https://pypi.org/project/fastapi-filter-sqlalchemy/

