skillfed

json-delta

A diff/patch pair for JSON-serialized data structures.

json-delta v2.0.2 599.3K downloads/30d#5,830 on PyPI
Permissive license BSD Abandoned released

What it is and what it does

json-delta is a Python library for computing and applying deltas (diffs) between JSON data structures. It reduces communication overhead by transmitting only the changes between two versions of a JSON object rather than the entire updated structure. The package provides both a Python API and command-line tools (json_diff, json_patch, json_cat) for working with JSON deltas.

The library was designed for scenarios where two programs—such as a client and server communicating over HTTP, or two processes using IPC—need to synchronize shared data structures while minimizing bandwidth. It has zero runtime dependencies and installs as a pure-Python wheel, making deployment straightforward. However, the package has been abandoned since 2020-10-18 with no maintenance activity, meaning it receives no bug fixes, security updates, or compatibility improvements for newer Python versions.

Use it for:

  • Reduce bandwidth in client-server JSON synchronization by transmitting only deltas instead of full payloads.
  • Minimize data transfer in bidirectional IPC between processes that share evolving JSON data structures.
  • Compress JSON change logs or audit trails by storing deltas rather than complete snapshots.
  • Implement efficient real-time collaboration features where multiple clients modify shared JSON documents.
  • Generate human-readable diffs of JSON configuration or data files for version control or debugging.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Computes and applies diffs/patches between JSON data structures to minimize communication overhead when synchronizing data across processes or network channels.

Yes, if you need JSON diff/patch functionality and can tolerate an unmaintained package. The zero-dependency installation and permissive BSD license make it low-risk to adopt, but verify compatibility with your Python version and test thoroughly before production use. Consider alternatives if you require active maintenance or support for modern Python versions.

Install

json-delta on PyPI

pip

pip install json-delta

uv

uv add json-delta

poetry

poetry add json-delta

Installing json-delta

Before you install

Installation is frictionless—a pure-Python wheel with no runtime dependencies—but the package is abandoned as of 2020-10-18 with no maintenance activity since then. Use only if you accept the risk of unpatched bugs and no forward compatibility.

License in practice

BSD permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects that can tolerate an unmaintained codebase.

Quickstart

pip install json-delta

import json_delta

old = {"a": 1, "b": 2}
new = {"a": 1, "b": 3, "c": 4}
delta = json_delta.diff(old, new)
result = json_delta.patch(old, delta)

Verify before relying

  • Whether the package works correctly on modern Python versions beyond 3.4.
  • Whether the command-line tools (json_diff, json_patch, json_cat) are still functional.
  • Performance characteristics and delta compression efficiency compared to alternatives.

Package facts

License BSD (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 2,126 days since the last release
First released
Downloads 599,318/month — #5,830 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: json_delta-2.0.2-py2.py3-none-any.whl

Keywords: JSON, delta, diff, patch, compression

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4

Tags

json diff patchjson delta compressionjson data synchronizationminimize json transmissionjson change detectionjson serialization deltaefficient json updates
json-processingdata-synchronizationabandoned

More Utilities packages