jsonpatch 1.7__py3-none-any.whl → 1.35__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,87 @@
1
+ Metadata-Version: 2.4
2
+ Name: jsonpatch
3
+ Version: 1.35
4
+ Summary: Apply JSON-Patches (RFC 6902)
5
+ Home-page: https://github.com/stefankoegl/python-json-patch
6
+ Author: Stefan Kögl
7
+ Author-email: stefan@skoegl.net
8
+ License-Expression: BSD-3-Clause
9
+ Project-URL: Website, https://github.com/stefankoegl/python-json-patch
10
+ Project-URL: Repository, https://github.com/stefankoegl/python-json-patch.git
11
+ Project-URL: Documentation, https://python-json-patch.readthedocs.org/
12
+ Project-URL: PyPI, https://pypi.org/pypi/jsonpatch
13
+ Project-URL: Tests, https://github.com/stefankoegl/python-json-patch/actions
14
+ Project-URL: Test Coverage, https://coveralls.io/github/stefankoegl/python-json-patch
15
+ Classifier: Development Status :: 5 - Production/Stable
16
+ Classifier: Environment :: Console
17
+ Classifier: Intended Audience :: Developers
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Programming Language :: Python
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3 :: Only
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
29
+ Classifier: Topic :: Software Development :: Libraries
30
+ Classifier: Topic :: Utilities
31
+ Requires-Python: >=3.10
32
+ Description-Content-Type: text/markdown
33
+ License-File: LICENSE
34
+ License-File: AUTHORS
35
+ Requires-Dist: jsonpointer>=3.2
36
+ Dynamic: author
37
+ Dynamic: author-email
38
+ Dynamic: classifier
39
+ Dynamic: description
40
+ Dynamic: description-content-type
41
+ Dynamic: home-page
42
+ Dynamic: license-file
43
+ Dynamic: license-expression
44
+ Dynamic: project-url
45
+ Dynamic: requires-dist
46
+ Dynamic: requires-python
47
+ Dynamic: summary
48
+
49
+ python-json-patch
50
+ =================
51
+
52
+ [![PyPI version](https://img.shields.io/pypi/v/jsonpatch.svg)](https://pypi.org/project/jsonpatch//)
53
+ [![Supported Python versions](https://img.shields.io/pypi/pyversions/jsonpatch.svg)](https://pypi.org/project/jsonpatch//)
54
+ [![Build Status](https://github.com/stefankoegl/python-json-patch/actions/workflows/test.yaml/badge.svg?branch=master)](https://github.com/stefankoegl/python-json-patch/actions/workflows/test.yaml)
55
+ [![Coverage Status](https://coveralls.io/repos/github/stefankoegl/python-json-patch/badge.svg?branch=master)](https://coveralls.io/github/stefankoegl/python-json-patch?branch=master)
56
+
57
+ Applying JSON Patches in Python
58
+ -------------------------------
59
+
60
+ Library to apply JSON Patches according to
61
+ [RFC 6902](https://datatracker.ietf.org/doc/html/rfc6902)
62
+
63
+ See source code for examples
64
+
65
+ * Website: https://github.com/stefankoegl/python-json-patch
66
+ * Repository: https://github.com/stefankoegl/python-json-patch.git
67
+ * Documentation: https://python-json-patch.readthedocs.org/
68
+ * PyPI: https://pypi.org/project/jsonpatch/
69
+ * CI: https://github.com/stefankoegl/python-json-patch/actions
70
+ * Coveralls: https://coveralls.io/github/stefankoegl/python-json-patch
71
+
72
+ Running external tests
73
+ ----------------------
74
+ To run external tests (such as those from https://github.com/json-patch/json-patch-tests) use ext_tests.py
75
+
76
+ ./ext_tests.py ../json-patch-tests/tests.json
77
+
78
+ Running property-based tests
79
+ ----------------------------
80
+ Property-based tests using [Hypothesis](https://hypothesis.readthedocs.io/)
81
+ are in property_tests.py. Properties that the implementation does not satisfy
82
+ yet are marked as expected failures.
83
+
84
+ pip install hypothesis
85
+ python property_tests.py
86
+
87
+ Set `HYPOTHESIS_PROFILE=thorough` to run many more examples.
@@ -0,0 +1,9 @@
1
+ jsonpatch.py,sha256=fO9Isq-oqu2Ua64PLMzuV3wCVIrx0SW7v9xB84W44rA,42817
2
+ jsonpatch_cli.py,sha256=HD5iqPJP__uTPKm50eg7xbTaTuQHL4Bt7MpgO-vlzaM,5304
3
+ jsonpatch-1.35.dist-info/licenses/AUTHORS,sha256=hOtEnBGbfDegKjzMDEl5vuVJyczbI2PlYE2ho4LjGNQ,140
4
+ jsonpatch-1.35.dist-info/licenses/LICENSE,sha256=Q5PrZzP6HjZ_QXabOC9PG-e_Da6x4kPtkrP12Lr9I28,1481
5
+ jsonpatch-1.35.dist-info/METADATA,sha256=v3G9IpDxUG83tcXWWPX4CQlfs4lMll0QGIw2i9qfDMM,3672
6
+ jsonpatch-1.35.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
7
+ jsonpatch-1.35.dist-info/entry_points.txt,sha256=aY9ormBVRZHHDaAeMcdqTBwZ-ax7GvBTSQ33I75xtZM,98
8
+ jsonpatch-1.35.dist-info/top_level.txt,sha256=efUF341HUk8WcQKnFt8ZLKEKNrm1kFT76Flr38Fjno0,24
9
+ jsonpatch-1.35.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.23.0)
2
+ Generator: setuptools (84.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ jsondiff = jsonpatch_cli:jsondiff_main
3
+ jsonpatch = jsonpatch_cli:jsonpatch_main
@@ -0,0 +1,4 @@
1
+ Stefan Kögl <stefan@skoegl.net>
2
+ Alexander Shorin <kxepal@gmail.com>
3
+ Byron Ruth <bruth@codeomics.com>
4
+ William Kral <william.kral@gmail.com>
@@ -0,0 +1,11 @@
1
+ Copyright (c) 2011 Stefan Kögl <stefan@skoegl.net>
2
+
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
+
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+
9
+ 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,2 @@
1
+ jsonpatch
2
+ jsonpatch_cli