wip/py-deep-merge 0.0.4 NetBSD
Simple utility for merging python dictionaries
- System
- NetBSD
- Repository
- pkgsrc-wip
- Maintainer
- [email protected]
- License
- mit
- Categories
- wip, devel, python
Description
TODO: Adjust the following lines from README.md
# Deep Merge
This library contains a simple utility for deep-merging dictionaries and the data structures they contain.
* **Installation:** ``pip install deep_merge`` * **Documentation:** https://pythonhosted.org/deep_merge * **Repositiory:** https://github.com/halfak/deep_merge * **License:** MIT
## Example
>>> import deep\_merge
>>>
>>> print(deep\_merge.merge({'a': {'b': 10}}, {'a': {'c': 5}}))
{'a': {'b': 10, 'c': 5}}
Note that the first parameter is modified and will be assigned the return value.
>>> d1 = {}
...
Install
From pkgsrc-wip (no binary package):
cd /usr/pkgsrc/wip/py-deep-merge && make install clean