Skip to main content

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


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 details)

Uploaded Source

File details

Details for the file pydeepmerge-0.1.1b0.tar.gz.

File metadata

  • Download URL: pydeepmerge-0.1.1b0.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3

File hashes

Hashes for pydeepmerge-0.1.1b0.tar.gz
Algorithm Hash digest
SHA256 3d253b80c45df53a6af3322abe1cc4191215f500b7c21620622c1720414dddf3
MD5 2777097236e89727ba9c3f41808ce996
BLAKE2b-256 6fd86f8a71a11934851bdf2f1f84630c4c25a0610fc8bd49795e387256dc31fa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page