Patito

Latest version: v0.8.2

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.8.2

What's Changed
* add iter_models docs entry by gab23r in https://github.com/JakobGM/patito/pull/116
* Speed up `iter_models` (x2-x3 improvement) by gab23r in https://github.com/JakobGM/patito/pull/117
* Modify metaclass to allow DataFrame[Foo] type propagation by thomasaarholt in https://github.com/JakobGM/patito/pull/99
* move pre-commit in dev dependencies by gab23r in https://github.com/JakobGM/patito/pull/118
* chore: turn off UP007 by dsgibbons in https://github.com/JakobGM/patito/pull/101
* Fix AliasGenerator by thomasaarholt in https://github.com/JakobGM/patito/pull/87
* Fix latest compatibility with latest polars version by thomasaarholt in https://github.com/JakobGM/patito/pull/122
* int model annotation should return only integer dtypes as valid by maxhipperson in https://github.com/JakobGM/patito/pull/121
* Bump patito to v0.8.2 by thomasaarholt in https://github.com/JakobGM/patito/pull/123

New Contributors
* maxhipperson made their first contribution in https://github.com/JakobGM/patito/pull/121

**Full Changelog**: https://github.com/JakobGM/patito/compare/v0.8.1...v0.8.2

0.8.1

What's Changed
Patito 0.8 onwards now requires Polars 1.10 due to some changes in polars.

* Include Python 3.12 in release action by thomasaarholt in https://github.com/JakobGM/patito/pull/108
* Patito v0.8 by thomasaarholt in https://github.com/JakobGM/patito/pull/109
* Upgrade to setup-python v5 for multiple python versions by thomasaarholt in https://github.com/JakobGM/patito/pull/110
* Fix tests on polars 1.10 by gab23r in https://github.com/JakobGM/patito/pull/112
* Specify all supported python versions for redundancy by thomasaarholt in https://github.com/JakobGM/patito/pull/113
* fix: empty list validation by dsgibbons in https://github.com/JakobGM/patito/pull/107
* Update lockfile by thomasaarholt in https://github.com/JakobGM/patito/pull/114
* Add to authors list by thomasaarholt in https://github.com/JakobGM/patito/pull/79
* Fix validating enum when field is optional. by vosskj03 in https://github.com/JakobGM/patito/pull/76
* patio -> patito typo fix by GeorgePearse in https://github.com/JakobGM/patito/pull/82
* Speed up pyright by thomasaarholt in https://github.com/JakobGM/patito/pull/90
* Add pre-commit to poetry by thomasaarholt in https://github.com/JakobGM/patito/pull/92
* Bump version of ruff in pre-commit to match poetry by thomasaarholt in https://github.com/JakobGM/patito/pull/93
* Fix test failure due to polars 1.2 by thomasaarholt in https://github.com/JakobGM/patito/pull/91
* Add iterators by joloppo in https://github.com/JakobGM/patito/pull/80
* Simplify and fix ColumnInfo by thomasaarholt in https://github.com/JakobGM/patito/pull/94
* Tidy up linting by thomasaarholt in https://github.com/JakobGM/patito/pull/95
* Fix docstring tests by thomasaarholt in https://github.com/JakobGM/patito/pull/97
* fix: optional list of structs by dsgibbons in https://github.com/JakobGM/patito/pull/100
* feat: add allow missing field by dsgibbons in https://github.com/JakobGM/patito/pull/98
* feat: Allow clients to pass json_schema_extra too by adrienDog in https://github.com/JakobGM/patito/pull/88
* fix: validate should not mutate the dataframe by adrienDog in https://github.com/JakobGM/patito/pull/89
* chore: keep polars <= 1.6.0 while test suite is fixed by dsgibbons in https://github.com/JakobGM/patito/pull/106

New Contributors
* gab23r made their first contribution in https://github.com/JakobGM/patito/pull/112
* vosskj03 made their first contribution in https://github.com/JakobGM/patito/pull/76
* GeorgePearse made their first contribution in https://github.com/JakobGM/patito/pull/82
* joloppo made their first contribution in https://github.com/JakobGM/patito/pull/80
* adrienDog made their first contribution in https://github.com/JakobGM/patito/pull/88

**Full Changelog**: https://github.com/JakobGM/patito/compare/v0.7.0...v0.8.0

0.7.0

We now support polars 1.0 and 1.1, as well as the latest version of pydantic (2.8)

What's Changed
* chore: prepare for polars 1.0 release by ion-elgreco in https://github.com/JakobGM/patito/pull/74
* Require Pydantic 2.7 by thomasaarholt in https://github.com/JakobGM/patito/pull/78

New Contributors
* ion-elgreco made their first contribution in https://github.com/JakobGM/patito/pull/74

**Full Changelog**: https://github.com/JakobGM/patito/compare/v0.6.2...v0.7.0

0.6.2

This is the last release supporting pre-1.0 polars. We have a LOT of improvements, thank you to all contributors!

What's Changed
* fix: validate multiple constraints with AND, not OR 45 by dsgibbons in https://github.com/JakobGM/patito/pull/46
* chore: update pyproject.toml to reference new repository owner by dsgibbons in https://github.com/JakobGM/patito/pull/47
* ci: run tests on pull requests by dsgibbons in https://github.com/JakobGM/patito/pull/48
* fix deprecation and require pydantic >=2.4.1 by thomasaarholt in https://github.com/JakobGM/patito/pull/51
* Update typing-extensions usage by lmmx in https://github.com/JakobGM/patito/pull/53
* Remove unused XDG cache by thomasaarholt in https://github.com/JakobGM/patito/pull/57
* Remove readme mention of duckdb by thomasaarholt in https://github.com/JakobGM/patito/pull/56
* Use ruff and pre-commit on CI by thomasaarholt in https://github.com/JakobGM/patito/pull/58
* Add tests for AliasGenerator by thomasaarholt in https://github.com/JakobGM/patito/pull/61
* Add python 3.12 to poetry and tests by thomasaarholt in https://github.com/JakobGM/patito/pull/64
* Simplify default_dtypes and return DataType over DataTypeClass when possible" by thomasaarholt in https://github.com/JakobGM/patito/pull/65
* Improve repr of ColumnInfo by thomasaarholt in https://github.com/JakobGM/patito/pull/66
* Explicitly allow allow_missing and allow_superfluous columns to Model.validate by thomasaarholt in https://github.com/JakobGM/patito/pull/60
* fix: handle nested Literals by brendancooley in https://github.com/JakobGM/patito/pull/69
* docs: Fix example usage by nakashima-hikaru in https://github.com/JakobGM/patito/pull/67
* Add field validation on structs by dsgibbons in https://github.com/JakobGM/patito/pull/52
* fix: make all xfail `read_csv` tests pass by lmmx in https://github.com/JakobGM/patito/pull/62
* Remove python version upper constraint by chainyo in https://github.com/JakobGM/patito/pull/70
* docs: Remove database & SQL references, remove title underlines to comply with Google docstring format, fix patito.Field docstring, error on front page by nameloCmaS in https://github.com/JakobGM/patito/pull/72
* feat: use model field alias generator appropriately for CSV column names by lmmx in https://github.com/JakobGM/patito/pull/54
* Version 0.6.2 by thomasaarholt in https://github.com/JakobGM/patito/pull/77

New Contributors
* dsgibbons made their first contribution in https://github.com/JakobGM/patito/pull/46
* lmmx made their first contribution in https://github.com/JakobGM/patito/pull/53
* nakashima-hikaru made their first contribution in https://github.com/JakobGM/patito/pull/67
* chainyo made their first contribution in https://github.com/JakobGM/patito/pull/70
* nameloCmaS made their first contribution in https://github.com/JakobGM/patito/pull/72

**Full Changelog**: https://github.com/JakobGM/patito/compare/v0.6.1...v0.6.2

0.6.1

What's Changed
* Disable type and lint checks to allow release by thomasaarholt in https://github.com/JakobGM/patito/pull/41
* Fix some warnings after migration by thomasaarholt in https://github.com/JakobGM/patito/pull/39


**Full Changelog**: https://github.com/JakobGM/patito/compare/v0.6.0...v0.6.1

0.6.0

What's Changed
* Add support for pydantic 2.0, polars 0.20.10 and remove duckdb support by brendancooley in https://github.com/JakobGM/patito/pull/32

New Contributors
* brendancooley made their first contribution in https://github.com/JakobGM/patito/pull/32

**Full Changelog**: https://github.com/JakobGM/patito/compare/v0.5.1...v0.6.0

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.