Set-package-attribute

Latest version: v0.2.4

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

Scan your dependencies

Page 1 of 2

0.2.4

------------------

Only minor documentation formatting and editing.

0.2.3

------------------

Reverted previous changes in 0.2.2 since they were redundant. Updated docs.

0.2.2

------------------

Changes:

* Now will only run once, even if called twice in a module. The ``modify_syspath`` setting
will be honored, if it wasn't done before.

0.2.1

------------------

Changes:

* The ``mod_path`` keyword argument to ``init`` has been changed to ``modify_syspath``.

Bug Fixes:

* Fixed bug in the routine for deleting ``sys.path[0]``.

* Added a corresponding restore routine to restore it.

0.2.0

------------------

New Features: None

Bug Fixes: None

Other changes:

* Stable version.

* Updates to docs.

0.1.2

------------------

New Features:

* The default of the ``mod_path`` argument to ``init`` is now ``True``. If a
deletion is performed then the deleted ``sys.path[0]`` entry is saved as
``set_package_attribute.deleted_sys_path_0_value`` for informational
purposes, replacing its default ``None`` value.

* A shortcut import ``set_package_attribute_magic`` was added which automatically
calls ``init`` with the default argument values.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.