Mapping keys path to value derivation.
Project description
Usage
import pathing
root = (
{
0: {
'some': [
'data',
'right'
],
'here': True
},
'is': {
False: 'too',
'deep': {
'for': {
'this': {
'depth': 'level'
}
},
'but': {
'here': 'it is just right'
}
}
}
}
)
for keys, value in pathing.derive(root, max = 4):
print(keys, '->', value)
Installing
python3 -m pip install pathing
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pathing-0.1.3.tar.gz
(1.7 kB
view details)
Built Distribution
File details
Details for the file pathing-0.1.3.tar.gz
.
File metadata
- Download URL: pathing-0.1.3.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e5d67ed226ae2c80140b448b94eadd13508c5c0586268b198f272feb14d128d |
|
MD5 | 32e022c1a081ec7d3a53a86bc9a6a32b |
|
BLAKE2b-256 | a2050fe209cc602c384c25ea1b828684b9c5a37d146ab0975b933a74c0c11c26 |
File details
Details for the file pathing-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: pathing-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb66e61d88a3f9288deb6d26c2ec77a1113b8d956099cbd17a5cbb52d6238f88 |
|
MD5 | 3adffe4fae6b77c32ce9a4483c78d7b9 |
|
BLAKE2b-256 | d7b0b43d8bdb01babf79a95613442810a41ea6314188f266035f29456195f579 |