binarn
binarn is a small tool to find an arbitrary key in a deep dictionary. It returns the full path to that key (if any) as well as its value.
It is intended as a debugging/exploration tool only.
Install
pip install binarn
Usage
import binarn
binarn.find_one(my_deep_dict, key="my_key")
# => (("key1", "key2", "my_key"), "value")
Origin of the name
"binarn" may look like a random name, but it has a true meaning. It stands for "binarn is not a random name".
Metadata
Release files for binarn 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| binarn-0.0.3.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| binarn-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / binarn-0.0.3.tar.gz
| Download URL | binarn-0.0.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c26069c1daae1d518650ef659a7ff543297bfc55a6d3eb8b489a3fa4f704ea66
|
|
BLAKE2b-256 checksum How to use checksums |
42a472b0b8aff567151fb993791d4148dd1290ef00d6c699ab52d1f98f79ec0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Linux/5.11.0-1028-azure
|
Release files / binarn-0.0.3-py3-none-any.whl
| Download URL | binarn-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7c20a753bbc11f1d15bac1d5185cac5c39dff71d19161fba37ae86b018b3630
|
|
BLAKE2b-256 checksum How to use checksums |
88b4eea85bebf2ca2f66852e40bf29bb4fd4ce5670aff7450c4598812f784d16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Linux/5.11.0-1028-azure
|