Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
so-saf committed Sep 7, 2024
1 parent 990385b commit 6c3d99f
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Check out code from GitHub
uses: actions/[email protected]
Expand Down
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@

# pydantic-filters

**Source Code:** https://github.com/so-saf/pydantic-filters

[![Testing](https://github.com/so-saf/pydantic-filters/actions/workflows/test.yaml/badge.svg)](https://github.com/so-saf/pydantic-filters/actions/workflows/test.yaml)
[![Coverage](https://codecov.io/gh/so-saf/pydantic-filters/branch/main/graph/badge.svg)](https://codecov.io/gh/so-saf/pydantic-filters)
[![pypi](https://img.shields.io/pypi/v/pydantic-filters.svg)](https://pypi.python.org/pypi/pydantic-filters)
[![license](https://img.shields.io/github/license/so-saf/pydantic-filters.svg)](https://github.com/so-saf/pydantic-filters/blob/main/LICENSE)
[![Linting](https://github.com/so-saf/pydantic-filters/actions/workflows/linting.yaml/badge.svg)](https://github.com/so-saf/pydantic-filters/actions/workflows/linting.yaml)
[![versions](https://img.shields.io/pypi/pyversions/pydantic-filters.svg)](https://github.com/so-saf/pydantic-filters)

**Source Code:** https://github.com/so-saf/pydantic-filters

---

Expand All @@ -17,11 +19,17 @@ You can use the basic features without being attached to specific frameworks,
or use one of the supported plugins and drivers:

Plugins:
* FastAPI >= 0.111.0
* FastAPI >= 0.100.0

Drivers:
* SQLAlchemy >= 2

## Installation

```shell
pip install pydantic-filters
```

# A Simple Example

`BaseFilter` is just a pydantic model, it should be treated similarly
Expand Down
31 changes: 16 additions & 15 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pydantic = "^2"
[tool.poetry.group.dev.dependencies]
sqlalchemy = ">1.4,<3"
ruff = ">=0.4"
fastapi = {extras = ["standard"], version = "^0.111.0"}
fastapi = {extras = ["standard"], version = ">=0.100.0"}
pytest = "^8.2.2"
coverage = {extras = ["toml"], version = "^7.6.1"}
pytest-cov = "^5.0.0"
Expand Down

0 comments on commit 6c3d99f

Please sign in to comment.