Ezdict

Latest version: v1.0.0

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

Scan your dependencies

1.0.0

The initial release for `EZDict`.

A `EZDict` supports the exact same parameters as `dict()`, so all of the below are valid:
* `EZDict({key: value, ....})`
* `EZDict(key=value, ...)`
* `EZDict((key, value) for key, value in iterable)`

* Allows keys to be accessed as attributes, so `ezdict.attr` can be used instead of
`ezdict["attr"]`. Note, this only works with string keys. Additionally, any
keys that overlap with method names will be shadowed, so to access the key `keys`,
use `ezdict["keys"]` instead of `ezdict.keys`.
* Nested fields can be accessed as well, such as `ezdict.key1.key2`
* Provide two methods, `incrementer` and `appender`, to support the common operations
of counting the occurrences of a key and grouping values by a key, respectively.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.