jsonpatch
توضیحات
Apply JSON-Patches (RFC 6902)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | jsonpatch-1.9 |
| نام | jsonpatch |
| نسخه کتابخانه | 1.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Stefan Kögl |
| ایمیل نویسنده | stefan@skoegl.net |
| آدرس صفحه اصلی | https://github.com/stefankoegl/python-json-patch |
| آدرس اینترنتی | https://pypi.org/project/jsonpatch/ |
| مجوز | - |
python-json-patch
=================
[](https://pypi.org/project/jsonpatch//)
[](https://pypi.org/project/jsonpatch//)
[](https://github.com/stefankoegl/python-json-patch/actions/workflows/test.yaml)
[](https://coveralls.io/github/stefankoegl/python-json-patch?branch=master)
Applying JSON Patches in Python
-------------------------------
Library to apply JSON Patches according to
[RFC 6902](https://datatracker.ietf.org/doc/html/rfc6902)
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.org/project/jsonpatch/
* CI: https://github.com/stefankoegl/python-json-patch/actions
* Coveralls: https://coveralls.io/github/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_tests.py
./ext_tests.py ../json-patch-tests/tests.json
Running property-based tests
----------------------------
Property-based tests using [Hypothesis](https://hypothesis.readthedocs.io/)
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.
نیازمندی
| مقدار | نام |
|---|---|
| - | jsonpointer>=3.2 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl jsonpatch-1.9:
pip install jsonpatch.whl
نصب پکیج tar.gz jsonpatch-1.9:
pip install jsonpatch.tar.gz