python-jsonpath 1.2.0__tar.gz → 1.2.1__tar.gz
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.
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/PKG-INFO +6 -6
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/README.md +2 -2
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/__about__.py +1 -1
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/filter.py +1 -2
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/pyproject.toml +2 -1
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/.gitignore +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/LICENSE.txt +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/__init__.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/__main__.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/_data.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/cli.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/env.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/exceptions.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/fluent_api.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/__init__.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/arguments.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/count.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/filter_function.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/is_instance.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/keys.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/length.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/match.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/search.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/typeof.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/value.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/lex.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/match.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/parse.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/patch.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/path.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/pointer.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/py.typed +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/selectors.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/stream.py +0 -0
- {python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/token.py +0 -0
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: python-jsonpath
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: JSONPath, JSON Pointer and JSON Patch for Python.
|
|
5
5
|
Project-URL: Documentation, https://jg-rp.github.io/python-jsonpath/
|
|
6
6
|
Project-URL: Issues, https://github.com/jg-rp/python-jsonpath/issues
|
|
7
7
|
Project-URL: Source, https://github.com/jg-rp/python-jsonpath
|
|
8
8
|
Author-email: James Prior <jamesgr.prior@gmail.com>
|
|
9
|
-
License
|
|
10
|
-
License-File: LICENSE.txt
|
|
9
|
+
License: MIT
|
|
11
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
11
|
Classifier: Intended Audience :: Developers
|
|
13
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -18,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
21
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
22
22
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
23
23
|
Requires-Python: >=3.7
|
|
@@ -91,9 +91,9 @@ conda install -c conda-forge python-jsonpath
|
|
|
91
91
|
|
|
92
92
|
## Related projects
|
|
93
93
|
|
|
94
|
-
- [
|
|
94
|
+
- [JSONPath RFC 9535](https://github.com/jg-rp/python-jsonpath-rfc9535) - A Python implementation of JSONPath that follows RFC 9535 much more strictly. If you require maximum interoperability with JSONPath implemented in other languages - at the expense of extra features - choose [jsonpath-rfc9535](https://pypi.org/project/jsonpath-rfc9535/) over [python-jsonpath](https://pypi.org/project/python-jsonpath/).
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
jsonpath-rfc9535 matches RFC 9535's JSONPath model internally and is careful to use the spec's terminology. It also includes utilities for verifying and testing the [JSONPath Compliance Test Suite](https://github.com/jsonpath-standard/jsonpath-compliance-test-suite). Most notably the nondeterministic behavior of some JSONPath selectors.
|
|
97
97
|
|
|
98
98
|
- [JSON P3](https://github.com/jg-rp/json-p3) - RFC 9535 implemented in TypeScript. JSON P3 does not include all the non-standard features of Python JSONPath, but does define some optional [extra syntax](https://jg-rp.github.io/json-p3/guides/jsonpath-extra).
|
|
99
99
|
|
|
@@ -66,9 +66,9 @@ conda install -c conda-forge python-jsonpath
|
|
|
66
66
|
|
|
67
67
|
## Related projects
|
|
68
68
|
|
|
69
|
-
- [
|
|
69
|
+
- [JSONPath RFC 9535](https://github.com/jg-rp/python-jsonpath-rfc9535) - A Python implementation of JSONPath that follows RFC 9535 much more strictly. If you require maximum interoperability with JSONPath implemented in other languages - at the expense of extra features - choose [jsonpath-rfc9535](https://pypi.org/project/jsonpath-rfc9535/) over [python-jsonpath](https://pypi.org/project/python-jsonpath/).
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
jsonpath-rfc9535 matches RFC 9535's JSONPath model internally and is careful to use the spec's terminology. It also includes utilities for verifying and testing the [JSONPath Compliance Test Suite](https://github.com/jsonpath-standard/jsonpath-compliance-test-suite). Most notably the nondeterministic behavior of some JSONPath selectors.
|
|
72
72
|
|
|
73
73
|
- [JSON P3](https://github.com/jg-rp/json-p3) - RFC 9535 implemented in TypeScript. JSON P3 does not include all the non-standard features of Python JSONPath, but does define some optional [extra syntax](https://jg-rp.github.io/json-p3/guides/jsonpath-extra).
|
|
74
74
|
|
|
@@ -243,8 +243,7 @@ class RegexLiteral(Literal[Pattern[str]]):
|
|
|
243
243
|
if self.value.flags & flag:
|
|
244
244
|
flags.append(ch)
|
|
245
245
|
|
|
246
|
-
|
|
247
|
-
return f"/{pattern}/{''.join(flags)}"
|
|
246
|
+
return f"/{self.value.pattern}/{''.join(flags)}"
|
|
248
247
|
|
|
249
248
|
|
|
250
249
|
class ListLiteral(FilterExpression):
|
|
@@ -21,6 +21,7 @@ classifiers = [
|
|
|
21
21
|
"Programming Language :: Python :: 3.10",
|
|
22
22
|
"Programming Language :: Python :: 3.11",
|
|
23
23
|
"Programming Language :: Python :: 3.12",
|
|
24
|
+
"Programming Language :: Python :: 3.13",
|
|
24
25
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
25
26
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
26
27
|
]
|
|
@@ -167,7 +168,7 @@ select = [
|
|
|
167
168
|
"YTT",
|
|
168
169
|
]
|
|
169
170
|
|
|
170
|
-
ignore = ["S105", "S101", "D107", "D105", "PLR0913", "SIM108"]
|
|
171
|
+
ignore = ["S105", "S101", "D107", "D105", "PLR0913", "SIM108", "PT001"]
|
|
171
172
|
|
|
172
173
|
fixable = ["I"]
|
|
173
174
|
unfixable = []
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_jsonpath-1.2.0 → python_jsonpath-1.2.1}/jsonpath/function_extensions/filter_function.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|