A lightway library to perform deep merges of python dictionaries
Project description
DeepMerge
A simple python package for performing deep-merges of python dictionaries
Usage is simple:
from pydeepmerge import deep_merge
> some_data = {'foo': {'bar': 'baz'}}
> more_data = {'spam': {'eggs': 'ham'}, 'foo': {'baz': 'bar', 'bar': 'foo'}}
> deep_merge(some_data, more_data)
{'foo': {'bar': 'foo', 'baz': 'bar'}, 'spam': {'eggs': 'ham'}}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydeepmerge-0.1.1b0.tar.gz
(1.6 kB
view hashes)