# 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'})
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/pydeepchainmap",
"name": "pydeepchainmap",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "ChainMap",
"author": "Johannes Fischer",
"author_email": "aulasparticularesdealemaosp@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f0/a0/e65b85b1d207b851b233ccafd807fc70d64fd42841e8e00ebdc6725017fe/pydeepchainmap-0.10.tar.gz",
"platform": null,
"description": "\r\n# DeepChainMap from the Python documentation\r\n\r\n## pip install pydeepchainmap\r\n\r\nUseful stuff from the Python documentation: https://docs.python.org/3/library/collections.html#collections.ChainMap\r\n\r\n#### Tested against Windows 10 / Python 3.10 / Anaconda \r\n\r\n\t\r\n```python\r\n>>> d = DeepChainMap({'zebra': 'black'}, {'elephant': 'blue'}, {'lion': 'yellow'})\r\n>>> d['lion'] = 'orange' # update an existing key two levels down\r\n>>> d['snake'] = 'red' # new keys get added to the topmost dict\r\n>>> del d['elephant'] # remove an existing key one level down\r\n>>> d # display result\r\nDeepChainMap({'zebra': 'black', 'snake': 'red'}, {}, {'lion': 'orange'})\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "DeepChainMap from the Python documentation",
"version": "0.10",
"project_urls": {
"Homepage": "https://github.com/hansalemaos/pydeepchainmap"
},
"split_keywords": [
"chainmap"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dd246e2c9b2d1261603e8f404097dd27c32a4ee00d4922812e5ff83e9325f1c8",
"md5": "39abb5e09787e617a35fd2dfc5c32aae",
"sha256": "4b93b0082fedd932a4a6615396d5676a350ff4821cbb78c81f46cc6e0a3e58a8"
},
"downloads": -1,
"filename": "pydeepchainmap-0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "39abb5e09787e617a35fd2dfc5c32aae",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4003,
"upload_time": "2023-07-02T02:56:46",
"upload_time_iso_8601": "2023-07-02T02:56:46.898174Z",
"url": "https://files.pythonhosted.org/packages/dd/24/6e2c9b2d1261603e8f404097dd27c32a4ee00d4922812e5ff83e9325f1c8/pydeepchainmap-0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f0a0e65b85b1d207b851b233ccafd807fc70d64fd42841e8e00ebdc6725017fe",
"md5": "dd375cb0bb75d5d3bd2b1107a3e698d8",
"sha256": "1f48d0a39b25981aaf1ec3bda5ecab2f5589d239a305fe9279f33ab5ae74c16c"
},
"downloads": -1,
"filename": "pydeepchainmap-0.10.tar.gz",
"has_sig": false,
"md5_digest": "dd375cb0bb75d5d3bd2b1107a3e698d8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2988,
"upload_time": "2023-07-02T02:56:48",
"upload_time_iso_8601": "2023-07-02T02:56:48.596585Z",
"url": "https://files.pythonhosted.org/packages/f0/a0/e65b85b1d207b851b233ccafd807fc70d64fd42841e8e00ebdc6725017fe/pydeepchainmap-0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-02 02:56:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hansalemaos",
"github_project": "pydeepchainmap",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "pydeepchainmap"
}