Metadata-Version: 2.1
Name: binarn
Version: 0.0.3
Summary: Find arbitrary keys in deep dictionaries.
Home-page: https://github.com/bfontaine/binarn
License: MIT
Author: Baptiste Fontaine
Author-email: b@ptistefontaine.fr
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown

# 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

```python3
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".

