Pytoolbox

Latest version: v14.8.2

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

Scan your dependencies

Page 5 of 10

12.1.2

Not secure
Compatibility breaks

* Remove `object_to_dict` and `object_to_dictV2`
* Rename `object_to_dictV3` to `object_to_dict`

Fix and enhancements

* Move AI data to S3 (own account).
* Function `serialization.object_to_dict`: Also authorize to tweak obj (not only schema).
* Function `serialization.object_to_dict`: Also add depth information.
* Function `serialization.to_file`: Fix `to_file` not using `makedirs` properly

11.10.0

Fix and enhancements

* Fix PEP-8 issue
* Class `django.models.fields.base.MoneyField`: Make decimal_places tweakable

Features

* Add class `django.models.fields.mixins.LowercaseMixin`
* Add function `serialization.object_to_dictV3`

11.9.1

Fix and enhancements

* Set line size to 100 chars and cleanup code
* Fix Travis build (remove `django` modules when testing)
* Always install pillow when installing with -e imaging
* Update README to reflect newer options
* Class `multimedia.exif.brand.Brand`: Add more brands
* Class `multimedia.exif.image.Orientation`: Use standard Enum, or object if not available

Features

* Add module `ai`

11.8.6

Not secure
Fixes and enhancements

* Add `functions multimedia.image.PIL.{apply,get}_orientation`
* Add constant `ORIENTATION_TO_ROTATION` to `multimedia.exif.image.Image`
* Make function `multimedia.image.PIL.apply_orientation` more generic
* Make function `multimedia.image.PIL.apply_orientation` defaulting to nothing if orientation is crazy
* Make function `multimedia.image.PIL.get_orientation` more robust
* Class `exceptions.MessageMixin`: Fix pickle recursion error

Features

* Add module `multimedia.image.PIL`
* Add function `types.merge_base_attribute`

11.7.6

Not secure
Minor compatibility breaks

* Remove jinja2 from packages installed by default

Fixes and enhancements

* Support more Python versions (3.5, 3.6)
* Function `filesystem.makedirs`: Add parent argument
* Module `logging`: Update logging color scheme + make it overridable
* Module django.templatetags:
* Implement `TEMPLATE_STRING_IF_INVALID` for Django \>= 1.8
* Implement `include_is_allowed` for Django \>= 1.10
* `Class multimedia.exif.Metadata`: Can also read EXIF metadata from buffer
* Function `argparse.password`: Add it

11.7.1

Minor compatibility breaks

* Remove unnecessary dependencies + put some as extra

Fixes and enhancements

* Module `filesystem`: Add `walk_kwargs` to some functions
* Function `logging.setup_logging`: make possible to setup an instance of logger

Page 5 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.