python-jsonpath 2.0.1__tar.gz → 2.0.2__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.
Files changed (42) hide show
  1. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/PKG-INFO +3 -2
  2. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/README.md +1 -1
  3. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/__about__.py +1 -1
  4. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/lex.py +1 -1
  5. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/pyproject.toml +2 -1
  6. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/.gitignore +0 -0
  7. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/LICENSE.txt +0 -0
  8. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/__init__.py +0 -0
  9. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/__main__.py +0 -0
  10. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/_data.py +0 -0
  11. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/_types.py +0 -0
  12. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/cli.py +0 -0
  13. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/env.py +0 -0
  14. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/exceptions.py +0 -0
  15. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/filter.py +0 -0
  16. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/fluent_api.py +0 -0
  17. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/__init__.py +0 -0
  18. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/_pattern.py +0 -0
  19. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/arguments.py +0 -0
  20. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/count.py +0 -0
  21. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/filter_function.py +0 -0
  22. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/is_instance.py +0 -0
  23. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/keys.py +0 -0
  24. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/length.py +0 -0
  25. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/match.py +0 -0
  26. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/search.py +0 -0
  27. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/starts_with.py +0 -0
  28. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/typeof.py +0 -0
  29. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/function_extensions/value.py +0 -0
  30. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/lru_cache.py +0 -0
  31. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/match.py +0 -0
  32. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/parse.py +0 -0
  33. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/patch.py +0 -0
  34. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/path.py +0 -0
  35. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/pointer.py +0 -0
  36. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/py.typed +0 -0
  37. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/segments.py +0 -0
  38. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/selectors.py +0 -0
  39. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/serialize.py +0 -0
  40. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/stream.py +0 -0
  41. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/token.py +0 -0
  42. {python_jsonpath-2.0.1 → python_jsonpath-2.0.2}/jsonpath/unescape.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-jsonpath
3
- Version: 2.0.1
3
+ Version: 2.0.2
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
@@ -19,6 +19,7 @@ Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
22
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
23
24
  Classifier: Programming Language :: Python :: Implementation :: PyPy
24
25
  Requires-Python: >=3.8
@@ -95,7 +96,7 @@ conda install -c conda-forge python-jsonpath
95
96
 
96
97
  ## Related projects
97
98
 
98
- - [JSONPath RFC 9535](https://github.com/jg-rp/python-jsonpath-rfc9535) - A minimal, slightly cleanr Python implementation of RFC 9535. If you're not interested JSONPath sytax beyond that defined in RFC 9535, you might choose [jsonpath-rfc9535](https://pypi.org/project/jsonpath-rfc9535/) over [python-jsonpath](https://pypi.org/project/python-jsonpath/).
99
+ - [JSONPath RFC 9535](https://github.com/jg-rp/python-jsonpath-rfc9535) - A minimal, slightly cleaner Python implementation of RFC 9535. If you're not interested JSONPath sytax beyond that defined in RFC 9535, you might choose [jsonpath-rfc9535](https://pypi.org/project/jsonpath-rfc9535/) over [python-jsonpath](https://pypi.org/project/python-jsonpath/).
99
100
 
100
101
  jsonpath-rfc9535 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.
101
102
 
@@ -66,7 +66,7 @@ conda install -c conda-forge python-jsonpath
66
66
 
67
67
  ## Related projects
68
68
 
69
- - [JSONPath RFC 9535](https://github.com/jg-rp/python-jsonpath-rfc9535) - A minimal, slightly cleanr Python implementation of RFC 9535. If you're not interested JSONPath sytax beyond that defined in RFC 9535, you might choose [jsonpath-rfc9535](https://pypi.org/project/jsonpath-rfc9535/) over [python-jsonpath](https://pypi.org/project/python-jsonpath/).
69
+ - [JSONPath RFC 9535](https://github.com/jg-rp/python-jsonpath-rfc9535) - A minimal, slightly cleaner Python implementation of RFC 9535. If you're not interested JSONPath sytax beyond that defined in RFC 9535, you might choose [jsonpath-rfc9535](https://pypi.org/project/jsonpath-rfc9535/) over [python-jsonpath](https://pypi.org/project/python-jsonpath/).
70
70
 
71
71
  jsonpath-rfc9535 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
 
@@ -1,4 +1,4 @@
1
1
  # SPDX-FileCopyrightText: 2023-present James Prior <jamesgr.prior@gmail.com>
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
- __version__ = "2.0.1"
4
+ __version__ = "2.0.2"
@@ -113,7 +113,7 @@ class Lexer:
113
113
  )
114
114
 
115
115
  # /pattern/ or /pattern/flags
116
- self.re_pattern = r"/(?P<G_RE>.+?)/(?P<G_RE_FLAGS>[aims]*)"
116
+ self.re_pattern = r"/(?P<G_RE>(?:(?!(?<!\\)/).)*)/(?P<G_RE_FLAGS>[aims]*)"
117
117
 
118
118
  # func(
119
119
  self.function_pattern = r"(?P<G_FUNC>[a-z][a-z_0-9]+)(?P<G_FUNC_PAREN>\()"
@@ -21,6 +21,7 @@ classifiers = [
21
21
  "Programming Language :: Python :: 3.11",
22
22
  "Programming Language :: Python :: 3.12",
23
23
  "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14",
24
25
  "Programming Language :: Python :: Implementation :: CPython",
25
26
  "Programming Language :: Python :: Implementation :: PyPy",
26
27
  ]
@@ -76,7 +77,7 @@ lint = "ruff check ."
76
77
  typing = "mypy"
77
78
 
78
79
  [[tool.hatch.envs.test.matrix]]
79
- python = ["38", "39", "310", "311", "312", "pypy38", "pypy39"]
80
+ python = ["38", "39", "310", "311", "312", "313", "314", "pypy38", "pypy39"]
80
81
 
81
82
  [tool.hatch.envs.test.scripts]
82
83
  test = "pytest {args}"