--- id: json-delta version: "2.0.2" license: BSD license_treatment: permissive maintenance: abandoned --- # json-delta — A diff/patch pair for JSON-serialized data structures. License: permissive · Maintenance: abandoned · Downloads: 599.3K/mo ## 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 above — 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 pip install json-delta uv add json-delta 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: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 599.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags json diff patch, json delta compression, json data synchronization, minimize json transmission, json change detection, json serialization delta, efficient json updates, json-processing, data-synchronization, abandoned [View on SkillFed](https://skillfed.io/packages/json-delta) · [View on PyPI](https://pypi.org/project/json-delta/)