Readthedocs
python-json-patch.readthedocs.io
python-json-patch — python-json-patch 1.22 documentation
python-json-patch is a Python library for applying JSON patches (RFC 6902). Python 2.7 and 3.4+ are supported. Tests are run on both CPython and PyPy. Contents · Tutorial · Creating a Patch · Applying a Patch · The jsonpatch module · Commandline Utilities ·
Tutorial
Patches can be created in two ways. One way is to explicitly create a JsonPatch object from a list of operations.
Commandline Utilities
The JSON patch package contains the commandline utilities jsondiff and jsonpatch.
The jsonpatch module
Creates JsonPatch instance based on comparing of two document objects.
PyPI
pypi.org › project › jsonpatch
jsonpatch · PyPI
pip install jsonpatch Copy PIP instructions · Latest version · Released: Jun 16, 2023 · Apply JSON-Patches (RFC 6902) These details have been verified by PyPI · skoegl · These details have not been verified by PyPI · Homepage · Documentation · PyPI · Repository · Test Coverage · Tests · Website · License: BSD License (Modified BSD License) Author: Stefan Kögl · Requires: Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.* Development Status ·
» pip install jsonpatch
GitHub
github.com › stefankoegl › python-json-patch
GitHub - stefankoegl/python-json-patch: Applying JSON Patches in Python · GitHub
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 · To run external tests (such as those from https://github.com/json-patch/json-patch-tests) use ext_test.py ·
Starred by 494 users
Forked by 98 users
Languages Python 84.5% | JavaScript 15.1% | Makefile 0.4%
Jsonpatch
jsonpatch.com
JSON Patch | jsonpatch.com
jsonpatch-js · jiff · Fast-JSON-Patch · UltraPatch · JSON8 Patch · mutant-json · immutable-json-patch · python-json-patch · json-patch-php · php-jsonpatch/php-jsonpatch · xp-forge/json-patch · JSONPatch · swaggest/json-diff · remorhaz/php-json-patch ·
Gentoo
packages.gentoo.org › packages › dev-python › jsonpatch
dev-python/jsonpatch – Gentoo Packages
https://github.com/stefankoegl/python-json-patch/ Other homepage(s) https://pypi.org/project/jsonpatch/ Upstream · Full description · Python library to apply JSON Patches according to http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-08 · USE flags · Global Use Flags ·
Readthedocs
python-json-patch.readthedocs.io › en › latest › tutorial.html
Tutorial — python-json-patch 1.22 documentation
>>> import jsonpatch >>> patch = jsonpatch.JsonPatch([ {'op': 'add', 'path': '/foo', 'value': 'bar'}, {'op': 'add', 'path': '/baz', 'value': [1, 2, 3]}, {'op': 'remove', 'path': '/baz/1'}, {'op': 'test', 'path': '/baz', 'value': [1, 3]}, {'op': 'replace', 'path': '/baz/0', 'value': 42}, {'op': 'remove', 'path': '/baz/1'}, ]) # or equivalently >>> patch = jsonpatch.JsonPatch.from_string('[{"op": "add", ....}]')
GitHub
github.com › deephaven › pyjsonpatch
GitHub - deephaven/pyjsonpatch: Python JSON Patch generator · GitHub
Python JSON Patch generator. Contribute to deephaven/pyjsonpatch development by creating an account on GitHub.
Author deephaven
Debian
packages.debian.org › sid › python3-jsonpatch
Debian -- Details of package python3-jsonpatch in sid
Python-json-patch is a Python module (a library) to apply JSON Patches according to the IETF draft specification.
Readthedocs
python-json-patch.readthedocs.io › en › latest › mod-jsonpatch.html
The jsonpatch module — python-json-patch 1.22 documentation
Generates patch by comparing of two document objects. Actually is a proxy to JsonPatch.from_diff() method.
Anaconda.org
anaconda.org › conda-forge › jsonpatch
jsonpatch - conda-forge | Anaconda.org
Install jsonpatch with Anaconda.org. Apply JSON-Patches (RFC 6902)
Generalist Programmer
generalistprogrammer.com › home › tutorials › python packages › jsonpatch: python package guide 2025
jsonpatch Python Guide [2025] | PyPI Tutorial
November 16, 2025 - jsonpatch: Apply JSON-Patches (RFC 6902). Pip install, code examples & troubleshooting. Python 2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*++
Stack Overflow
stackoverflow.com › questions › 77379637 › how-to-update-db-from-json-patch
python - How to update db from json patch - Stack Overflow
@lucs100 They do have a unique ID. I use the 'jsonpatch' python library. It gets the patch and apply it on the json.
Read the Docs
app.readthedocs.org › projects › python-json-patch
python-json-patch - Read the Docs Community
Applying JSON Patches in Python 2.6+ and 3.x (RFC 6902).
GitHub
github.com › stefankoegl › python-json-patch › blob › master › doc › index.rst
python-json-patch/doc/index.rst at master · stefankoegl/python-json-patch
python-json-patch is a Python library for applying JSON patches (RFC 6902). Python 2.7 and 3.4+ are supported. Tests are run on both CPython and PyPy. Installation .. code-block:: bash ...
Author stefankoegl
Arch Linux ARM
archlinuxarm.org › packages › any › python-jsonpatch
python-jsonpatch (any) | Packages | Arch Linux ARM
Copyright ©2009-2026 Arch Linux ARM The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis. The Arch Linux™ name and logo are used under permission of the Arch Linux Project Lead
MSYS2
packages.msys2.org › packages › mingw-w64-clang-aarch64-python-jsonpatch
Package: mingw-w64-clang-aarch64-python-jsonpatch - MSYS2 Packages
/clangarm64/bin/jsondiff /clangarm64/bin/jsonpatch /clangarm64/lib/python3.14/site-packages/__pycache__/jsonpatch.cpython-314.opt-1.pyc /clangarm64/lib/python3.14/site-packages/__pycache__/jsonpatch.cpython-314.pyc /clangarm64/lib/python3.14/site-packages/jsonpatch-1.33.dist-info/METADATA ...
MSYS2
packages.msys2.org › packages › mingw-w64-clang-x86_64-python-jsonpatch
Package: mingw-w64-clang-x86_64-python-jsonpatch - MSYS2 Packages
November 3, 2024 - /clang64/bin/jsondiff /clang64/bin/jsonpatch /clang64/lib/python3.14/site-packages/__pycache__/jsonpatch.cpython-314.opt-1.pyc /clang64/lib/python3.14/site-packages/__pycache__/jsonpatch.cpython-314.pyc /clang64/lib/python3.14/site-packages/jsonpatch-1.33.dist-info/METADATA /clang64/lib/py...
Repology
repology.org › project › python:jsonpatch › versions
python:jsonpatch package versions - Repology
List of package versions for project python:jsonpatch in all repositories