deeppath

Python module to easily manipulate complex nested structures


Keywords
deeppath
License
MIT
Install
pip install deeppath==1.0.0

Documentation

deeppath

image

image

Documentation Status

Downloads

Python module to easily manipulate complex nested structures

Features

With ~deeppath.dget, you can access data in a complex nested structure. The nested structure should be a json-like structure, so essentially consisting of dictionary- and list-like structures:

nested_data = {
    "users": [
        {"surname": "Doe", "name": "John"},
        {"name": "Jane", "surname": "Doe"},
    ],
    "location": {
        "city": "London",
        "country": "United Kingdom",
    },
}

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.