nob: the Nested OBject manipulator
Deep nested data is sometimes difficult to map with objects in an Object Relational Mapping (ORM) appraoch. Suppose e.g. you're working with this file:
root:
System:
Library:
Frameworks:
Python.framework:
Versions:
2.7:
bin: python2.7
If you wanted the last value here using pure Python, you would have to write something like:
pure_python['root']['System']['Library']['Frameworks']['Python.framework']['Versions']['2.7']['bin']
Gosh that's bad, it doesn't even fit in the screen! This is where nob shines: it offers a simple set of tools to explore and edit any nested data (Python native dicts and lists). With nob, this becomes:
nob_object['bin'][:]
Pretty neat, no? For more, checkout nob's documentation.
Installation
pip install nob
Enough said :)
Metadata
Release files for nob 0.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nob-0.8.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for nob-0.8.2-py2.py3-none-any.whl |
Release files / nob-0.8.2-py2.py3-none-any.whl
| Download URL | nob-0.8.2-py2.py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
668edaeffd8ab93b3ca4e906403a8e5e7f6a504e00eb0cc6373c89578a34a63f
|
|
BLAKE2b-256 checksum How to use checksums |
cf705c06496ed1768a7f3b2afa733e82899f780fc1e1a895faa7fb2d318729d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.4
|
Security for nob 0.8.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.