Attmap

Latest version: v0.13.2

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

Scan your dependencies

Page 3 of 6

0.12.2

Fixed
- Tweaked map type conversion upon value insertion

0.12.1

Added
- `EchoAttMap` as alias for `AttMapEcho`; see [Issue 38](https://github.com/pepkit/attmap/issues/38)
Fixed
- In any `OrdAttMap, for membership (`__contains__`) consider items added via attribute syntax.
- Prevent duplicate key/attr iteration in any `OrdAttMap`.
- Allow item and attribute syntax to equivalently mutate a map; see [Issue 50](https://github.com/pepkit/attmap/issues/50)
- Type conversion and merger of inserted mappings

0.12

Added
- Export base `AttMapLike`.
Changed
- By default, add trailing newline to YAML rendition of an attmap instance; [Issue 48](https://github.com/pepkit/attmap/issues/48)
- Better API docs
Fixed
- Do not replace double slash in URL with single slash. See [Issue 46](https://github.com/pepkit/attmap/issues/46)

0.11

Added
- `get_yaml_lines` to get collection of YAML-ready lines from any attmap
- `to_dict` to convert any attmap (and nested maps) to base `dict`
- `to_yaml` to represent any attmap as raw YAML text
Changed
- `PathExAttMap` defers expansion behavior to retrieval time.

0.10

Fixed
- `OrdAttMap` and descendants now have data updated via `__setattr__` syntax.

0.9

Changed
- `OrdPathAttExAttMap` is now `PathExAttMap`.

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.