Nested OBject manipulations
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:
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:
Pretty neat, no? For more, checkout nob's documentation.
pip install nob
Enough said :)
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size nob-0.6.1-py2.py3-none-any.whl (11.5 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|