Pydanclick

Latest version: v0.5.1

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

Scan your dependencies

Page 1 of 2

0.5.1

What's Changed

* Fix compatibility for Pydantic <=2.9 by felix-martel in https://github.com/felix-martel/pydanclick/pull/47


**Full Changelog**: https://github.com/felix-martel/pydanclick/compare/v0.5.0...v0.5.1

0.5.0

What's Changed
* Document attributes from parent classes by rnv812 in https://github.com/felix-martel/pydanclick/pull/45
* Fix type conversion of optional types by rnv812 in https://github.com/felix-martel/pydanclick/pull/46

New Contributors
* rnv812 made their first contribution in https://github.com/felix-martel/pydanclick/pull/45

**Full Changelog**: https://github.com/felix-martel/pydanclick/compare/v0.4.0...v0.5.0

0.4.0

What's Changed

* refactor: catch exceptions raised by issubclass by azmeuk in https://github.com/felix-martel/pydanclick/pull/25
* Support ignoring unsupported pydantic field types. Fixes 32 by rectalogic in https://github.com/felix-martel/pydanclick/pull/33
* Allow unpacking of lists of submodels by felix-martel in https://github.com/felix-martel/pydanclick/pull/26
* Use `repr` when formatting option help. by rectalogic in https://github.com/felix-martel/pydanclick/pull/35
* Update to Griffe v1 by felix-martel in https://github.com/felix-martel/pydanclick/pull/34
* Add py.typed by rectalogic in https://github.com/felix-martel/pydanclick/pull/39
* Specify griffe as an extra rather than a dependency group by harrymander in https://github.com/felix-martel/pydanclick/pull/40
* build(python): update supported Python versions: 3.9 - 3.13 by noirbizarre in https://github.com/felix-martel/pydanclick/pull/36
* Various fixes for current `main` by noirbizarre in https://github.com/felix-martel/pydanclick/pull/41
* Fix typos by kianmeng in https://github.com/felix-martel/pydanclick/pull/23

New Contributors

* azmeuk made their first contribution in https://github.com/felix-martel/pydanclick/pull/25
* rectalogic made their first contribution in https://github.com/felix-martel/pydanclick/pull/33
* harrymander made their first contribution in https://github.com/felix-martel/pydanclick/pull/40
* noirbizarre made their first contribution in https://github.com/felix-martel/pydanclick/pull/36
* kianmeng made their first contribution in https://github.com/felix-martel/pydanclick/pull/23

**Full Changelog**: https://github.com/felix-martel/pydanclick/compare/v0.3.0...v0.4.0

0.3.0

New features:

- improve support for `BaseSettings` objects by deferring evaluation of default values ([17](https://github.com/felix-martel/pydanclick/pull/17), contribution by slicksk8te)

0.2.1

New features:

- destination variable name can be omitted (i.e. `from_pydantic(MyModel)` instead of `from_pydantic("my_model", MyModel)` (12)

0.2.0

New features:

- Support nested models
- Support container types such as lists or dicts

Bug fixes:

- Avoid name collision by prefixing argument names with `prefix`

And also:

- Reorganize code
- Normalize prefix and aliases (i.e. accept with and without leading dashes)

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.