Name: python-jsonpath-python Version: 1.1.6 Release: %autorelease Summary: A lightweight and powerful JSONPath implementation for Python License: MIT URL: https://github.com/sean2077/jsonpath-python Source: %{pypi_source jsonpath_python} BuildSystem: pyproject BuildOption(install): --assert-license jsonpath BuildArch: noarch BuildRequires: python3-devel # tests BuildRequires: %{py3_dist pytest} %global _description %{expand: A lightweight and powerful JSONPath implementation for Python. Why jsonpath-python? There are already several JSONPath libraries in Python, so why choose this one? 1. Lightweight & Zero Dependency: Unlike jsonpath-ng which relies on complex AST parsing frameworks like ply, jsonpath-python is implemented with pure Python string parsing. It has zero third-party dependencies, making it incredibly easy to integrate into any environment. 2. Simple & Pythonic: The implementation is straightforward and linear. If you encounter a bug or need to extend it, the code is easy to read and modify. You can even copy the core file directly into your project as a utility. 3. Powerful Features: It supports advanced features like sorting, filtering, and updating JSON data. If you require strict adherence to the JSONPath standard (RFC 9535), other libraries might be more suitable, but for practical data manipulation, this library offers more power. } %description %_description %package -n python3-jsonpath-python Summary: %{summary} %description -n python3-jsonpath-python %_description %check -a %pytest -m "not perf" %files -n python3-jsonpath-python -f %{pyproject_files} %doc README.md %changelog %autochangelog