Pytoolbox

Latest version: v14.8.2

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

Scan your dependencies

Page 3 of 10

14.0.1

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

Fix and enhancements

* Function `filesystem.from_template`: Add directories optional argument
* Fix Keras imports (because they changed)
* Fix newer pylint errors

14.0.0

Diff: https://github.com/davidfischer-ch/pytoolbox/compare/13.5.0...14.0.0

Major compatibility breaks

* Drop Python 2.7 - 3.5 compatibility
* Drop module `encoding`
* Drop module `mongo`
* Drop function `network.http.get_request_data`
* Drop function `unittest.{mock_cmd,runtests}` (and dependency to nose)
* Remove unused arguments on some functions

Minor compatibility breaks

* Function `multimedia.exif.brand.Brand.clean`: Raise `exceptions.InvalidBrandError`

Features

* Rewrite code in Python 3 thanks to 2to3 and a lot of edits
* Rewrite tests in Python 3 and with pytest in replacement to unittest (and nose)
* Seamlessly download tests assets (small.mp4, ffmpeg, ffprobe) from S3
* Test on recent Python releases from 3.6 to 3.8 (3.9 will come next)
* Temporarily removed PyPy 3.6 from test matrix due to `tensorflow` (work in progress)

Fix and enhancements

* setup.py an extra `all` one can install with pip install `.[all]`
* Separate requirements in three major groups: features, test and docs
* Make some functions compatible with `pathlib.Path` (work in progress)
* Check code quality with pylint and flake8 (they are top notch)
* Remove doctests boilerplate code and make them more robust
* Fix deprecation issues by reimplementing some functions
* Fix code smells and silent irrelevant warnings
* Update Travis CI configuration: Define distribution, update script, ...
* Generate documentation with `python setup.py docs`

13.5.0

Not secure
Minor compatibility breaks

* Class `multimedia.exif.miscellaneous.VideoStream`: Rename rotate to rotation

Fix and enhancements

* Module `multimedia.exif`: Add Tamron brand

13.4.0

Not secure
Minor compatibility breaks

* Drop Python 2.6 + Python 3.2 support (remove from Travis CI build)
* Module `multimedia.ffmpeg`: Allow to pass input options (encoding)

Fix and enhancements

* Module `multimedia.ffmpeg`: Refresh metadata classes
* Class `multimedia.exif.Metadata`: Allow to define path to save EXIF metadata

13.3.5

Not secure
Fix and enhancements

* Module `django`: Django 2.0 compatibility
* Module `filesystem`: Windows compatbility
* Class `django.models.fields.URLField`: Set max_length to 8000 by default
* Class `django.models.fields.\*`: Use `OptionsMixin` on all fields
* Add `requests` to requirements

13.3.0

Not secure
Fix and enhancements

* Function `filesystem.file_mime`: Convert to unicode only if required.

Features

* Add module `pandas`

Page 3 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.