Tools for working with dicts (and lists)
Project description
struc-tools
Tools for working with data containers/structures, i.e. lists, dicts, classes.
- Attribute-access and align-printed dicts.
- Print functionality also provided as class to be subclassed.
- Deep (nested) attribute access.
- Transposing dict-of-dicts, list-of-lists, and mixed.
- Dict intersection, complement.
- Cartesian product.
TODO
See alternatives:
- https://github.com/srevenant/dictlib
- https://pypi.org/project/dict/
- https://pypi.org/project/dicty/
- https://pypi.org/project/print-dict/
- https://pypi.org/project/dictionaries/
Answer SO.com questions: https://www.google.com/search?q=python+aligned+dict&oq=python+aligned+dict
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
struct-tools-0.2.0.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for struct_tools-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44427462f333be3bbd0feb07f36aded5dd73b43a82547e8f4c93258eb006b998 |
|
MD5 | a2f6e5dcdbb95fc8ed17406c45561378 |
|
BLAKE2b-256 | 815aa68e9f4b1ad8c9d96dc1664c0a4601d6fc983eb2c8e95a150da4c5789749 |