Skip to main content

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)

Source distribution for binarn 0.0.3
File Size Uploaded
binarn-0.0.3.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for binarn 0.0.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page