Metadata-Version: 2.1
Name: pydotted
Version: 0.0.3
Summary: pydotted
Home-page: https://github.com/aredden/pydotted.git
Author: Alex Redden
Author-email: alexander.h.redden@gmail.com
License: MIT
Keywords: python,dict,dot,dotdict,dot notation,pydotted
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# PyDotted

A very simple low code footprint dictionary with dot notation attribute (x.y) access, including nested dicts.

## Installation:

```bash
pip install git+https://github.com/aredden/pydotted.git
```

## Examples & Usage:

```python

from pydotted import pydot

d = pydot({"a": 1})

print(d.a)
# prints 1

d.b = d.a + 4

print(d.b)
# prints 5

d.c = {"b": object(), "a": 123}

print(d)
# prints {'a': 1, 'b': 5, 'c': {'b': <object object at 0x...>, 'a': 123}}

print(d.c.a)
# prints 123

d.a = {"e": {"f": {"h": {"i": "j"}}}}

print(d.a.e.f.h.i)
# prints "j"

```

