python-json-patch
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 tests (such as those from https://github.com/json-patch/json-patch-tests) use ext_test.py
./ext_tests.py ../json-patch-tests/tests.json
Running property-based tests
Property-based tests using Hypothesis are in property_tests.py. Properties that the implementation does not satisfy yet are marked as expected failures.
pip install hypothesis
python property_tests.py
Set HYPOTHESIS_PROFILE=thorough to run many more examples.
Metadata
Release files for jsonpatch 1.34
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jsonpatch-1.34.tar.gz | 25.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jsonpatch-1.34-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.3 kB
Release files / jsonpatch-1.34.tar.gz
| Download URL | jsonpatch-1.34.tar.gz |
|---|---|
| Size | 25.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e60c9f2d903d261d6eddcbd12cf3193efdb58cd9376a36ccc4db2e29d6cc88e3
|
|
BLAKE2b-256 checksum How to use checksums |
2c298f7262f848569fe374b34a0f09e6d366bdd5ac82081edbecd5fd104fe9fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logRelease files / jsonpatch-1.34-py3-none-any.whl
| Download URL | jsonpatch-1.34-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be7726e7fa0969bc4100b3d9f4259f16aadda68a244c6e9e1066157a0c524ec3
|
|
BLAKE2b-256 checksum How to use checksums |
c8d2fdb9bbd0e86dad9d8ce1353fe477fb67b4901daf9dec79558876ebeb9877
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency log