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.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.0.tar.gz (55.2 kB view details)

Uploaded Source

Built Distribution

json_merger-0.7.0-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.0.tar.gz.

File metadata

  • Download URL: json-merger-0.7.0.tar.gz
  • Upload date:
  • Size: 55.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for json-merger-0.7.0.tar.gz
Algorithm Hash digest
SHA256 e843ef2db376eca9b471fcce5d477a8687fe95195d05cfdc655db4cf1c76da85
MD5 874ed91a9debc8ab32ec2eedd78a421d
BLAKE2b-256 39d5a0f13d146125cfe9794be912b7a332fd7402ae93b6d36c236b42c9fd8e7b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: json_merger-0.7.0-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.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for json_merger-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ece52bf1bad28638c7a29821bad04017ca77c28a504ca38a453c9344b92da879
MD5 dc3782c8cf13c321e151a74b73771bb8
BLAKE2b-256 d78c67d2cf4d8b21abdb0a13903679a34dbeeea2f1e57070f287d8499f34a26e

See more details on using hashes here.

Provenance

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