%global _empty_manifest_terminate_build 0 Name: python-deepdiff Version: 6.3.0 Release: 1 Summary: Deep Difference and Search of any Python object/data. Recreate objects by adding adding deltas to each other. License: MIT URL: https://github.com/seperman/deepdiff Source0: https://mirrors.nju.edu.cn/pypi/web/packages/48/cd/8fcd6381e72d7e4033b695489df3a0f54ff5c04eea6d0f67379367b7baeb/deepdiff-6.3.0.tar.gz BuildArch: noarch Requires: python3-ordered-set Requires: python3-click Requires: python3-pyyaml Requires: python3-orjson %description # DeepDiff v 6.3.0 ![Downloads](https://img.shields.io/pypi/dm/deepdiff.svg?style=flat) ![Python Versions](https://img.shields.io/pypi/pyversions/deepdiff.svg?style=flat) ![License](https://img.shields.io/pypi/l/deepdiff.svg?version=latest) [![Build Status](https://github.com/seperman/deepdiff/workflows/Unit%20Tests/badge.svg)](https://github.com/seperman/deepdiff/actions) [![codecov](https://codecov.io/gh/seperman/deepdiff/branch/master/graph/badge.svg?token=KkHZ3siA3m)](https://codecov.io/gh/seperman/deepdiff) ## Modules - [DeepDiff](https://zepworks.com/deepdiff/current/diff.html): Deep Difference of dictionaries, iterables, strings, and ANY other object. - [DeepSearch](https://zepworks.com/deepdiff/current/dsearch.html): Search for objects within other objects. - [DeepHash](https://zepworks.com/deepdiff/current/deephash.html): Hash any object based on their content. - [Delta](https://zepworks.com/deepdiff/current/delta.html): Store the difference of objects and apply them to other objects. - [Extract](https://zepworks.com/deepdiff/current/extract.html): Extract an item from a nested Python object using its path. - [commandline](https://zepworks.com/deepdiff/current/commandline.html): Use DeepDiff from commandline. Tested on Python 3.7+ and PyPy3. - **[Documentation](https://zepworks.com/deepdiff/6.3.0/)** ## What is new? Please check the [ChangeLog](CHANGELOG.md) file for the detailed information. DeepDiff 6-3-0 - `PrefixOrSuffixOperator`: This operator will skip strings that are suffix or prefix of each other. - `include_obj_callback` and `include_obj_callback_strict` are added by [Håvard Thom](https://github.com/havardthom). - Fixed a corner case where numpy's `np.float32` nans are not ignored when using `ignore_nan_equality` by [Noam Gottlieb](https://github.com/noamgot) - `orjson` becomes optional again. - Fix for `ignore_type_in_groups` with numeric values so it does not report number changes when the number types are different. DeepDiff 6-2-0 - Major improvement in the diff report for lists when items are all hashable and the order of items is important. ## Installation ### Install from PyPi: `pip install deepdiff` If you want to use DeepDiff from commandline: `pip install "deepdiff[cli]"` If you want to improve the performance of DeepDiff with certain functionalities such as improved json serialization: `pip install "deepdiff[optimize]"` # Documentation # ChangeLog Please take a look at the [CHANGELOG](CHANGELOG.md) file. # Contribute 1. Please make your PR against the dev branch 2. Please make sure that your PR has tests. Since DeepDiff is used in many sensitive data driven projects, we strive to maintain around 100% test coverage on the code. Please run `pytest --cov=deepdiff --runslow` to see the coverage report. Note that the `--runslow` flag will run some slow tests too. In most cases you only want to run the fast tests which so you wont add the `--runslow` flag. Or to see a more user friendly version, please run: `pytest --cov=deepdiff --cov-report term-missing --runslow`. Thank you! # Citing How to cite this library (APA style): Dehpour, S. (2022). DeepDiff (Version 6.3.0) [Software]. Available from https://github.com/seperman/deepdiff. How to cite this library (Chicago style): Dehpour, Sep. 2022. DeepDiff (version 6.3.0). # Authors Please take a look at the [AUTHORS](AUTHORS.md) file. %package -n python3-deepdiff Summary: Deep Difference and Search of any Python object/data. Recreate objects by adding adding deltas to each other. Provides: python-deepdiff BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-deepdiff # DeepDiff v 6.3.0 ![Downloads](https://img.shields.io/pypi/dm/deepdiff.svg?style=flat) ![Python Versions](https://img.shields.io/pypi/pyversions/deepdiff.svg?style=flat) ![License](https://img.shields.io/pypi/l/deepdiff.svg?version=latest) [![Build Status](https://github.com/seperman/deepdiff/workflows/Unit%20Tests/badge.svg)](https://github.com/seperman/deepdiff/actions) [![codecov](https://codecov.io/gh/seperman/deepdiff/branch/master/graph/badge.svg?token=KkHZ3siA3m)](https://codecov.io/gh/seperman/deepdiff) ## Modules - [DeepDiff](https://zepworks.com/deepdiff/current/diff.html): Deep Difference of dictionaries, iterables, strings, and ANY other object. - [DeepSearch](https://zepworks.com/deepdiff/current/dsearch.html): Search for objects within other objects. - [DeepHash](https://zepworks.com/deepdiff/current/deephash.html): Hash any object based on their content. - [Delta](https://zepworks.com/deepdiff/current/delta.html): Store the difference of objects and apply them to other objects. - [Extract](https://zepworks.com/deepdiff/current/extract.html): Extract an item from a nested Python object using its path. - [commandline](https://zepworks.com/deepdiff/current/commandline.html): Use DeepDiff from commandline. Tested on Python 3.7+ and PyPy3. - **[Documentation](https://zepworks.com/deepdiff/6.3.0/)** ## What is new? Please check the [ChangeLog](CHANGELOG.md) file for the detailed information. DeepDiff 6-3-0 - `PrefixOrSuffixOperator`: This operator will skip strings that are suffix or prefix of each other. - `include_obj_callback` and `include_obj_callback_strict` are added by [Håvard Thom](https://github.com/havardthom). - Fixed a corner case where numpy's `np.float32` nans are not ignored when using `ignore_nan_equality` by [Noam Gottlieb](https://github.com/noamgot) - `orjson` becomes optional again. - Fix for `ignore_type_in_groups` with numeric values so it does not report number changes when the number types are different. DeepDiff 6-2-0 - Major improvement in the diff report for lists when items are all hashable and the order of items is important. ## Installation ### Install from PyPi: `pip install deepdiff` If you want to use DeepDiff from commandline: `pip install "deepdiff[cli]"` If you want to improve the performance of DeepDiff with certain functionalities such as improved json serialization: `pip install "deepdiff[optimize]"` # Documentation # ChangeLog Please take a look at the [CHANGELOG](CHANGELOG.md) file. # Contribute 1. Please make your PR against the dev branch 2. Please make sure that your PR has tests. Since DeepDiff is used in many sensitive data driven projects, we strive to maintain around 100% test coverage on the code. Please run `pytest --cov=deepdiff --runslow` to see the coverage report. Note that the `--runslow` flag will run some slow tests too. In most cases you only want to run the fast tests which so you wont add the `--runslow` flag. Or to see a more user friendly version, please run: `pytest --cov=deepdiff --cov-report term-missing --runslow`. Thank you! # Citing How to cite this library (APA style): Dehpour, S. (2022). DeepDiff (Version 6.3.0) [Software]. Available from https://github.com/seperman/deepdiff. How to cite this library (Chicago style): Dehpour, Sep. 2022. DeepDiff (version 6.3.0). # Authors Please take a look at the [AUTHORS](AUTHORS.md) file. %package help Summary: Development documents and examples for deepdiff Provides: python3-deepdiff-doc %description help # DeepDiff v 6.3.0 ![Downloads](https://img.shields.io/pypi/dm/deepdiff.svg?style=flat) ![Python Versions](https://img.shields.io/pypi/pyversions/deepdiff.svg?style=flat) ![License](https://img.shields.io/pypi/l/deepdiff.svg?version=latest) [![Build Status](https://github.com/seperman/deepdiff/workflows/Unit%20Tests/badge.svg)](https://github.com/seperman/deepdiff/actions) [![codecov](https://codecov.io/gh/seperman/deepdiff/branch/master/graph/badge.svg?token=KkHZ3siA3m)](https://codecov.io/gh/seperman/deepdiff) ## Modules - [DeepDiff](https://zepworks.com/deepdiff/current/diff.html): Deep Difference of dictionaries, iterables, strings, and ANY other object. - [DeepSearch](https://zepworks.com/deepdiff/current/dsearch.html): Search for objects within other objects. - [DeepHash](https://zepworks.com/deepdiff/current/deephash.html): Hash any object based on their content. - [Delta](https://zepworks.com/deepdiff/current/delta.html): Store the difference of objects and apply them to other objects. - [Extract](https://zepworks.com/deepdiff/current/extract.html): Extract an item from a nested Python object using its path. - [commandline](https://zepworks.com/deepdiff/current/commandline.html): Use DeepDiff from commandline. Tested on Python 3.7+ and PyPy3. - **[Documentation](https://zepworks.com/deepdiff/6.3.0/)** ## What is new? Please check the [ChangeLog](CHANGELOG.md) file for the detailed information. DeepDiff 6-3-0 - `PrefixOrSuffixOperator`: This operator will skip strings that are suffix or prefix of each other. - `include_obj_callback` and `include_obj_callback_strict` are added by [Håvard Thom](https://github.com/havardthom). - Fixed a corner case where numpy's `np.float32` nans are not ignored when using `ignore_nan_equality` by [Noam Gottlieb](https://github.com/noamgot) - `orjson` becomes optional again. - Fix for `ignore_type_in_groups` with numeric values so it does not report number changes when the number types are different. DeepDiff 6-2-0 - Major improvement in the diff report for lists when items are all hashable and the order of items is important. ## Installation ### Install from PyPi: `pip install deepdiff` If you want to use DeepDiff from commandline: `pip install "deepdiff[cli]"` If you want to improve the performance of DeepDiff with certain functionalities such as improved json serialization: `pip install "deepdiff[optimize]"` # Documentation # ChangeLog Please take a look at the [CHANGELOG](CHANGELOG.md) file. # Contribute 1. Please make your PR against the dev branch 2. Please make sure that your PR has tests. Since DeepDiff is used in many sensitive data driven projects, we strive to maintain around 100% test coverage on the code. Please run `pytest --cov=deepdiff --runslow` to see the coverage report. Note that the `--runslow` flag will run some slow tests too. In most cases you only want to run the fast tests which so you wont add the `--runslow` flag. Or to see a more user friendly version, please run: `pytest --cov=deepdiff --cov-report term-missing --runslow`. Thank you! # Citing How to cite this library (APA style): Dehpour, S. (2022). DeepDiff (Version 6.3.0) [Software]. Available from https://github.com/seperman/deepdiff. How to cite this library (Chicago style): Dehpour, Sep. 2022. DeepDiff (version 6.3.0). # Authors Please take a look at the [AUTHORS](AUTHORS.md) file. %prep %autosetup -n deepdiff-6.3.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-deepdiff -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri Apr 07 2023 Python_Bot - 6.3.0-1 - Package Spec generated