Home
Nested Extensions to Python dictionaries
Free software: MIT license
Documentation: https://sndict.readthedocs.io
Introduction
This module provides extensions to dicts in the python standard library, providing fast and clean manipulation of nested dictionary structures. This module exposes two new dict-types:
NestedDict/ndict: A light-weight wrapper for dict s that provides additional functionality for operations on nested dictionary structures.
StructuredNestedDict/sndict: A heavy-weight data dict -based structure for operating on hierarchical data with rich functionality for filtering and transformation across nested levels.
Both implementations are use OrderedDict s under the hood.
No additional dependencies are required.
Features
- NestedDict/ndict:
Iterating over flattened keys and values
Nested getting/setting operations
Applicable to dictionaries of arbitrary and unbalanced depth
- StructuredNestedDict/sndict:
flatten/stratify/rearrange methods allow for powerful and rich operations across different levels of hierarchy
Nested getting/setting operations, including intelligent filtering via ix
Convenient data inspection via dim, unique_keys, etc
History
0.1.2 (2019-05-02)
Remove Python 2 compatibility
0.1.1 (2017-03-15)
- Minor functionality update:
unique_keys
to_tree_string
Improved filtering/indexing
Documentation
0.1.0 (2017-03-14)
Initial Version with basic functionality
Metadata
Release files for sndict 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sndict-0.1.2.tar.gz | 27.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sndict-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 43.4 kB
Release files / sndict-0.1.2.tar.gz
| Download URL | sndict-0.1.2.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6660791bb519df4b984f8891a944644f6cfc28a9041228d8da26b199a4657973
|
|
BLAKE2b-256 checksum How to use checksums |
872d98fdb7fa49fc6071fa528375994c95b64bbf60726b07be60a4cb5db2fb74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
|
Release files / sndict-0.1.2-py2.py3-none-any.whl
| Download URL | sndict-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d594a87ca21e1977dbfcd68e30943ce05861566362f753216a2480d2a936da18
|
|
BLAKE2b-256 checksum How to use checksums |
77191071cf16a41a52efc1a3bad4516dc93b31bd52c81ee1cece95f0a47dc488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
|
Security for sndict 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.