Metadata-Version: 2.1
Name: pydeepchainmap
Version: 0.10
Summary: DeepChainMap from the Python documentation
Home-page: https://github.com/hansalemaos/pydeepchainmap
Author: Johannes Fischer
Author-email: aulasparticularesdealemaosp@gmail.com
License: MIT
Keywords: ChainMap
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
License-File: LICENSE.rst


# DeepChainMap from the Python documentation

## pip install pydeepchainmap

Useful stuff from the Python documentation: https://docs.python.org/3/library/collections.html#collections.ChainMap

#### Tested against Windows 10 / Python 3.10 / Anaconda 

	
```python
>>> d = DeepChainMap({'zebra': 'black'}, {'elephant': 'blue'}, {'lion': 'yellow'})
>>> d['lion'] = 'orange'         # update an existing key two levels down
>>> d['snake'] = 'red'           # new keys get added to the topmost dict
>>> del d['elephant']            # remove an existing key one level down
>>> d                            # display result
DeepChainMap({'zebra': 'black', 'snake': 'red'}, {}, {'lion': 'orange'})

```
