Pytoolbox

Latest version: v14.8.2

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

Scan your dependencies

Page 2 of 10

14.5.0

Diff: https://github.com/davidfischer-ch/pytoolbox/compare/14.4.0...14.5.0

Minor compatibility breaks

* Bye bye Django 3 and less

Features

* Make code compatible with Django 4+

Fix and enhancements

* Usage of `super()` magic
* Upgrade testing stack especially pylint with its dozen tests
* Apply recommendations from linters (or silent it...)
* Convert Changelog and Authors in Markdown

14.4.0

Diff: https://github.com/davidfischer-ch/pytoolbox/compare/14.3.0...14.4.0

Minor compatibility breaks

* Replace `comparison.parse_version` by `comparison.try_parse_version` with a fallback behavior

Features

* Add function `humanize.naturalweight`
* Add function `console.toggle_colors`
* Module `comparison`: Add `unified_diff`, `compare_versions` and `satisfy_version_constraints`

Fix and enhancements

* Compatibility with latest Django releases
* Compatibility with latest `packaging` module (`LegacyVersion` was dropped)

14.3.0

Diff: https://github.com/davidfischer-ch/pytoolbox/compare/14.2.0...14.3.0

Minor compatibility breaks

* Drop Python 3.7 & 3.8 compatibility
* Drop `logging` extra (`termcolor` is now installed by default)

Features

* Add [types.merge_annotations` class decorator
* Module `comparison`: Add `unified_diff`, `compare_versions` and `satisfy_version_constraints`

14.2.0

Diff: https://github.com/davidfischer-ch/pytoolbox/compare/14.1.0...14.2.0

Minor compatibility breaks

* Drop Python 3.6 compatibility
* Function `filesystem.from_template`: Make Jinja2 template strict with undefined values
* Module `argparse`: Return `pathlib.Path` instead of `str` (See commit 6acf8d13e2739a6e564b325bc035e33676c9ff07)

Features

* Add some type hints (more to come)

Fix and enhancements

* Convert some FIXMEs to TODOs
* Ensure Python 3.10 compatibility
* Fix many linter issues

14.1.0

Diff: https://github.com/davidfischer-ch/pytoolbox/compare/14.0.2...14.1.0

Minor compatibility breaks

* Module `dango.models.fields`: Apply `NullifyMixin` to `StripCharField` and `StripTextField`

Features

* Module `django.models.fields`: Add `NullifyMixin`, `CharField` and `TextField`

Fix and enhancements

* Module `django.signals`: Fix `strip_strings_and_validate_model` not importable from `django.signals`
* Module `django.models.fields`: Fix `StripMixin` not fair play with inheritance

14.0.2

Diff: https://github.com/davidfischer-ch/pytoolbox/compare/14.0.1...14.0.2

Fix and enhancements

* Fix Django deprecation warning (`ugettext_lazy` -> `gettext_lazy`)

Page 2 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.