Nattrs

Latest version: v0.2.3

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

Scan your dependencies

Page 1 of 2

0.2.3

- Updates pyproject.toml to new poetry version.

0.2.2

- Fixes path to hexagon badge when viewing outside of GitHub.

0.2.0

- Adds `nested_delattr()` for deleting attributes / dict members
in nested data structures.
- Adds `nested_updattr()` for updating dicts and `class.__dict__` of
nested attributes with a `dict`.
- Adds `regex` argument to `nested_*attr()` functions for using
regular expression to index attribute names / dict keys.
- Adds `getter_default` argument to `nested_mutattr()` to allow
better handling of missing attributes.
- Adds `Ignore()` class to use as `default` value in `nested_getattr()`
and `getter_default` in `nested_mutattr()`.
- Removes mutability requirements from type hints when they are
unnecessary (only the sub object/Mapping needs to by mutable).
- Adds hexagon bagde.

0.1.3

- Adds `__version__` variable to package.
- Changes type hints from `dict` to `Mapping` and `MutableMapping`
since the functions should work for those in general.

0.1.2

- Handles `zipp` vulnerability.
- Now requires `Python==3.8` or newer.

0.1.1

- Reformats README

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.