skillfed

jsonpatch

Apply JSON-Patches (RFC 6902)

jsonpatch Permissive license Modified BSD License Active 497 v1.33 released

Install

jsonpatch on PyPI

pip

pip install jsonpatch

uv

uv add jsonpatch

poetry

poetry add jsonpatch

Package facts

License Modified BSD License (permissive)
Python support supports the current Python release (>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*)
Install friction low — pure-Python wheel
Runtime dependencies 1 — jsonpointer
Maintenance actively maintained — 1,154 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: jsonpatch-1.33-py2.py3-none-any.whl

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: LibrariesTopic :: Utilities

About jsonpatch

from the package's own PyPI description — quoted content, verbatim

python-json-patch

PyPI version (image) Supported Python versions (image) Build Status (image) Coverage Status (image)

Applying JSON Patches in Python

Library to apply JSON Patches according to RFC 6902

See source code for examples

  • Website: https://github.com/stefankoegl/python-json-patch
  • Repository: https://github.com/stefankoegl/python-json-patch.git
  • Documentation: https://python-json-patch.readthedocs.org/
  • PyPI: https://pypi.python.org/pypi/jsonpatch
  • Travis CI: https://travis-ci.org/stefankoegl/python-json-patch
  • Coveralls: https://coveralls.io/r/stefankoegl/python-json-patch

Running external tests

To run external...

Read as markdown · JSON record · Source repository · Homepage · Docs

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

Applies JSON Patches according to RFC 6902, enabling programmatic modification of JSON documents through a standardized patch format.

Low friction installation with a single pure-Python runtime dependency (jsonpointer). Actively maintained with recent commits and stable production status since 2011.

Modified BSD License (permissive) allows commercial and private use with minimal restrictions, requiring only license and copyright notice retention.

Usage

pip install jsonpatch
import jsonpatch
patch = jsonpatch.JsonPatch([{"op": "add", "path": "/foo", "value": "bar"}])
result = patch.apply({"baz": "qux"})

Verdict: Mature, well-maintained RFC 6902 implementation with no known vulnerabilities, permissive licensing, and minimal dependencies. Suitable for production use in JSON document manipulation workflows.

Needs verification

  • Whether the package actively maintains compatibility with Python 3.10+ beyond the stated 3.9 support in classifiers
  • Performance characteristics for large JSON documents or complex patch sequences
json patch rfc 6902apply json patches pythonjson document diff and mergejson modification libraryrfc 6902 implementationjson patch operationsjson delta application

Similar packages