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
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
dictionary-diff-0.0.2.tar.gz
(5.1 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67e84944d1db21872827db5380798610c140237be0ce9077b1bc89a619683f14 |
|
MD5 | 304b57bb9a7eb357b01974546e10f8d3 |
|
BLAKE2b-256 | a1f081d2cf887f0b9528ca1c07e85ab6a7c8e509168ac78aaece3db4b7adec3b |
File details
Details for the file dictionary_diff-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: dictionary_diff-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6605351edc10c408b851df14b60110149d1ca00f5dfa8d5d4461f60702a87709 |
|
MD5 | dcbc4f006264cc2fa959d59cca8b3ad6 |
|
BLAKE2b-256 | 36c357e73e4345490dd712e16fcb1612f6d80becccabacfdb3811fdb0241fad2 |