Skip to main content

Get and apply diffs of python dictionaries

Project description

dict-diff

Dict diff is a python module that lets you get and apply diffs of python dictionaries

Examples

Use diff = diff(original_dict, another_dict) to get the diff between the dictionaries

Use another_dict = apply_diff(original_dict, diff) to get back another_dict

Installation

PyPI

This package is available on PyPI. Use pip install dictionary-diff to install it

Contributing

Open an issue or a pull request

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

dictionary-diff-0.0.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

dictionary_diff-0.0.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file dictionary-diff-0.0.2.tar.gz.

File metadata

  • Download URL: dictionary-diff-0.0.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for dictionary-diff-0.0.2.tar.gz
Algorithm Hash digest
SHA256 67e84944d1db21872827db5380798610c140237be0ce9077b1bc89a619683f14
MD5 304b57bb9a7eb357b01974546e10f8d3
BLAKE2b-256 a1f081d2cf887f0b9528ca1c07e85ab6a7c8e509168ac78aaece3db4b7adec3b

See more details on using hashes here.

File details

Details for the file dictionary_diff-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for dictionary_diff-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6605351edc10c408b851df14b60110149d1ca00f5dfa8d5d4461f60702a87709
MD5 dcbc4f006264cc2fa959d59cca8b3ad6
BLAKE2b-256 36c357e73e4345490dd712e16fcb1612f6d80becccabacfdb3811fdb0241fad2

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