Metadata-Version: 2.1
Name: pyresolve
Version: 1.0.0
Summary: Resolve dot notation from dictionary
Home-page: https://github.com/fiverr/pyresolve
Author: fiverr
Author-email: devops@fiverr.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Operating System :: OS Independent
Requires-Python: >=2
Description-Content-Type: text/markdown

# pyresolve [![](https://img.shields.io/pypi/v/pyresolve?style=flat-square)](https://pypi.org/project/pyresolve/) [![](https://img.shields.io/static/v1?label=github&message=pyresolve&labelColor=black&color=3572a5&style=flat-square&logo=github)](https://github.com/fiverr/pyresolve)

Resolve dot notation from dictionary

```py
from pyresolve import resolve

my_dictionary = {"out":{"middle":{"in":"Balue"}}}

resolve(my_dictionary, "out.middle.in") # "Balue"
```

Does not break for missing properties
```py
resolve(my_dictionary, "outer.missing.something") # None
```

Can specify a different default value
```py
resolve(my_dictionary, "outer.missing.something", []) # []
```

Install

```bash
pip install pyresolve
```


