# 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 = {}
>>> d2 = {'a': 1}
>>> deep_merge.merge(d1, d2)
>>> print(d1)
{'a': 1}
## Author * Aaron Halfaker – https://github.com/halfak
Metadata
Release files for deep_merge 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deep_merge-0.0.4.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deep_merge-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / deep_merge-0.0.4.tar.gz
| Download URL | deep_merge-0.0.4.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b54415f90934c42e334114e2864cb4d4e7335b34ad396e35ad8610c96065a47e
|
|
BLAKE2b-256 checksum How to use checksums |
a525aa35c20acd8a4f515f9e4c8dee4c7731446234101a6dae0c34cf498bb342
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / deep_merge-0.0.4-py3-none-any.whl
| Download URL | deep_merge-0.0.4-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8056b4b43c6dfddf5c7b1feb3a09f1ab1cbd74e8382e43736ea8c5619e8e5a4e
|
|
BLAKE2b-256 checksum How to use checksums |
e00794e20c6407d93bb7800cf316762d64a6c9fb7b76a1163f90a7af4c3ae1da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |