Pytoolbox

Latest version: v14.8.4

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

Scan your dependencies

Page 2 of 11

14.6.0

Diff: https://github.com/davidfischer-ch/pytoolbox/compare/14.5.1...14.6.0

Minor comptability breaks

* Functions `humanize.natural*`: Rename `format` arguments to `fmt`

Features

* Module `humanize`: Add functions `parse_*`

Fix and enhancements

* Ensure Python 3.11 compatibility
* Explain how to bother with GExiv2
* Add more type hints (especially `humanize` and `multimedia.exif`)
* Add `PyGObject` to requirements for `imaging` feature

14.5.1

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

Fix and enhancements

* Make code compatible with legacy versions of `packaging`

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

Page 2 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.