Skip to main content

Python module that is able to merge json record objects.

Project description

https://img.shields.io/travis/inspirehep/json-merger.svg https://img.shields.io/coveralls/inspirehep/json-merger.svg https://img.shields.io/github/tag/inspirehep/json-merger.svg https://img.shields.io/pypi/dm/json-merger.svg https://img.shields.io/github/license/inspirehep/json-merger.svg

Module for merging JSON Objects.

  • Free software: GPLv2 license

  • Documentation: https://pythonhosted.org/json-merger/

  • For the simple use-case: pip install json-merger

  • To install contrib dependencies: pip install json-merger[contrib]

Changes

Version 0.7.1

  • Fix bug when DictMergeOps.keep_longest is used inside lists.

Version 0.7.0

  • Add a new strategy for conflicts on head delete (contrib).

Version 0.6.1

  • Smarter handling of conflicts in case of authors with the same name (contrib).

Version 0.6.0

  • Correctly handle unicode in author names (contrib).

Version 0.5.2:

  • Fix duplicate patches.

Version 0.5.1:

  • Fix patch_to_conflict_set for list patches.

Version 0.5.0:

  • Conflict method to_json it returns a list of patches conflicts of a single one.

Version 0.4.0:

  • It’s now possible to have field- and content- dependent merger operations.

Version 0.3.2:

  • Initial public release.

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

json-merger-0.7.1.tar.gz (54.7 kB view details)

Uploaded Source

Built Distribution

json_merger-0.7.1-py2.py3-none-any.whl (45.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file json-merger-0.7.1.tar.gz.

File metadata

  • Download URL: json-merger-0.7.1.tar.gz
  • Upload date:
  • Size: 54.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.14

File hashes

Hashes for json-merger-0.7.1.tar.gz
Algorithm Hash digest
SHA256 16a79778edbf6e2e7b8ad539f25c5c8b069679a2f9f669fc1b0d2a3bcad46b15
MD5 d94f33761cd7f6e86d26df7f8b40c7df
BLAKE2b-256 04340c8672e6c246dcca9bfe456f3167ae9d087b973dd03a5112e66f49583c7f

See more details on using hashes here.

File details

Details for the file json_merger-0.7.1-py2.py3-none-any.whl.

File metadata

  • Download URL: json_merger-0.7.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 45.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.14

File hashes

Hashes for json_merger-0.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fc62d347b2d98241464b10bf7f3a6c4f4fc39a159412a15e9d2a8dcb738423bc
MD5 42839a6f4c94847547e5268e9e760f4d
BLAKE2b-256 4807b675dce540e10c6bc94756f48716cd3ea7d29407902677cd164f78076376

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