A python Library created to improve functionality of Nested Dictionaries in Python
Project description
Lindex [List Index]
by @some1and2
A python Library created to improve functionality of Nested Dictionaries in Python
Functionality::
-
Making a Lindex Dictionary
dictionary = lindex(dictionary)
-
Ability to index Nested Dictionaries by using a list
print(dictionary.RTN(*path))
if
pathis a list of indexes of the dictionary then this will returndictionary[path[0]][path[1]][path[2]]... -
Ability to change information from a Nested Dictionary through a list
dictionary.set(*path, num)
if
pathis a list of indexes of the dictionary, then whatever value is at the end ofdictionary[path[0]][path[1]][path[2]]...will be set tonum -
Ability to add to a number from a Nested Dictionary indexed through a list
dictionary.add(*path, num)
whatever value is at the end of
dictionary[path[0]][path[1]][path[2]]...will be added added withnum -
Ability to pretty print dictionaries
dictionary.pprint()
Documentation [Coming Soon]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Lindex-1.0.0.tar.gz.
File metadata
- Download URL: Lindex-1.0.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
236c35f8d135231b6a5f9e39d9debe9a21c3e8a2f850cdeedd0df16c7a120d22
|
|
| MD5 |
8021f353b59a281712d1a806169cb9be
|
|
| BLAKE2b-256 |
89fbee252dfb3a54069c182905c5e34b9bcde3e2e9f1c216efcddb6ed5cd12cb
|
File details
Details for the file Lindex-1.0.0-py3-none-any.whl.
File metadata
- Download URL: Lindex-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac883b9fabab8704fc7784f915df2522b2814c5ca788ecf741b1d7c31edc781a
|
|
| MD5 |
0f91fd1f9f2097d73f7ee02e2cfb34c0
|
|
| BLAKE2b-256 |
b7f35d455fdf8d5be22986aa54eb5962c024ad07d0433bd7e0988c475478336c
|