A simple utility for merging python dictionaries.
Project description
# 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}}
## Author * Aaron Halfaker – https://github.com/halfak
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
deep_merge-0.0.2.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file deep_merge-0.0.2.tar.gz
.
File metadata
- Download URL: deep_merge-0.0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55cd64353265c468ba7747e8ac704eab607cb55284b86346bcbedd53d2477dc9 |
|
MD5 | 405ed82c99770ea44103364016389db7 |
|
BLAKE2b-256 | bbc33416980959bbe94fe83b90f599618c8d108ff67fe2d0da3981c2f69eef02 |
File details
Details for the file deep_merge-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: deep_merge-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c3066c2f54c3f7d946cb1dc982ca6df377d381751e05acdb47c4dc40b2e2894 |
|
MD5 | 4609044ffc6abc1cf5cc187088911786 |
|
BLAKE2b-256 | 66d3dfed2428f5af59281049a94bfe5ac4dda55b2073f51633c9a16aa731de1e |