{"id":13534495,"url":"https://github.com/seperman/deepdiff","last_synced_at":"2026-02-20T00:30:55.930Z","repository":{"id":21179691,"uuid":"24484622","full_name":"seperman/deepdiff","owner":"seperman","description":"DeepDiff: Deep Difference and search of any Python object/data. DeepHash: Hash of any object based on its contents. Delta: Use deltas to reconstruct objects by adding deltas together.","archived":false,"fork":false,"pushed_at":"2025-10-13T07:09:05.000Z","size":2863,"stargazers_count":2471,"open_issues_count":102,"forks_count":256,"subscribers_count":27,"default_branch":"master","last_synced_at":"2026-02-06T22:16:34.921Z","etag":null,"topics":["comparison","deep-search","deepdiff","deephash","delta","diff","difference","distance","distance-calculation","hash","hashing","nested","python","reconstruction","recursive","repetition","report-repetition","tree"],"latest_commit_sha":null,"homepage":"http://zepworks.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seperman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":"docs/support.rst","governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["seperman"],"ko_fi":"seperman"}},"created_at":"2014-09-26T03:21:47.000Z","updated_at":"2026-02-04T16:25:59.000Z","dependencies_parsed_at":"2024-02-05T01:28:05.533Z","dependency_job_id":"5530b552-6c13-41ac-a6a8-730c7ae5c01a","html_url":"https://github.com/seperman/deepdiff","commit_stats":{"total_commits":959,"total_committers":85,"mean_commits":"11.282352941176471","dds":"0.25651720542231493","last_synced_commit":"6d8a4c7c32d5ac57919955954790be994d01fe57"},"previous_names":[],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/seperman/deepdiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seperman%2Fdeepdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seperman%2Fdeepdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seperman%2Fdeepdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seperman%2Fdeepdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seperman","download_url":"https://codeload.github.com/seperman/deepdiff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seperman%2Fdeepdiff/sbom","scorecard":{"id":811627,"data":{"date":"2025-08-11","repo":{"name":"github.com/seperman/deepdiff","commit":"b639fece73fe3ce4120261fdcff3cc7b826776e3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 1/4 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/seperman/deepdiff/main.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/seperman/deepdiff/main.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yaml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/seperman/deepdiff/main.yaml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/main.yaml:30","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T13:20:34.678Z","repository_id":21179691,"created_at":"2025-08-23T13:20:34.678Z","updated_at":"2025-08-23T13:20:34.678Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29637408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"ssl_error","status_checked_at":"2026-02-19T22:32:38.330Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comparison","deep-search","deepdiff","deephash","delta","diff","difference","distance","distance-calculation","hash","hashing","nested","python","reconstruction","recursive","repetition","report-repetition","tree"],"created_at":"2024-08-01T07:01:34.414Z","updated_at":"2026-02-20T00:30:55.910Z","avatar_url":"https://github.com/seperman.png","language":"Python","readme":"# DeepDiff v 8.6.1\n\n![Downloads](https://img.shields.io/pypi/dm/deepdiff.svg?style=flat)\n![Python Versions](https://img.shields.io/pypi/pyversions/deepdiff.svg?style=flat)\n![License](https://img.shields.io/pypi/l/deepdiff.svg?version=latest)\n[![Build Status](https://github.com/seperman/deepdiff/workflows/Unit%20Tests/badge.svg)](https://github.com/seperman/deepdiff/actions)\n[![codecov](https://codecov.io/gh/seperman/deepdiff/branch/master/graph/badge.svg?token=KkHZ3siA3m)](https://codecov.io/gh/seperman/deepdiff)\n\n## Modules\n\n- [DeepDiff](https://zepworks.com/deepdiff/current/diff.html): Deep Difference of dictionaries, iterables, strings, and ANY other object.\n- [DeepSearch](https://zepworks.com/deepdiff/current/dsearch.html): Search for objects within other objects.\n- [DeepHash](https://zepworks.com/deepdiff/current/deephash.html): Hash any object based on their content.\n- [Delta](https://zepworks.com/deepdiff/current/delta.html): Store the difference of objects and apply them to other objects.\n- [Extract](https://zepworks.com/deepdiff/current/extract.html): Extract an item from a nested Python object using its path.\n- [commandline](https://zepworks.com/deepdiff/current/commandline.html): Use DeepDiff from commandline.\n\nTested on Python 3.9+ and PyPy3.\n\n- **[Documentation](https://zepworks.com/deepdiff/8.6.1/)**\n\n## What is new?\n\nPlease check the [ChangeLog](CHANGELOG.md) file for the detailed information.\n\nDeepDiff 8-6-1\n- Patched security vulnerability in the Delta class which was vulnerable to class pollution via its constructor, and when combined with a gadget available in DeltaDiff itself, it could lead to Denial of Service and Remote Code Execution (via insecure Pickle deserialization).\n\nDeepDiff 8-6-0\n\n- Added Colored View thanks to @mauvilsa \n- Added support for applying deltas to NamedTuple thanks to @paulsc \n- Fixed test_delta.py with Python 3.14 thanks to @Romain-Geissler-1A\n- Added python property serialization to json\n- Added ip address serialization\n- Switched to UV from pip\n- Added Claude.md\n- Added uuid hashing thanks to @akshat62\n- Added `ignore_uuid_types` flag to DeepDiff to avoid type reports when comparing UUID and string.\n- Added comprehensive type hints across the codebase (multiple commits for better type safety)\n- Added support for memoryview serialization\n- Added support for bytes serialization (non-UTF8 compatible)\n- Fixed bug where group_by with numbers would leak type info into group path reports\n- Fixed bug in `_get_clean_to_keys_mapping without` explicit significant digits\n- Added support for python dict key serialization\n- Enhanced support for IP address serialization with safe module imports\n- Added development tooling improvements (pyright config, .envrc example)\n- Updated documentation and development instructions\n\n\nDeepDiff 8-5-0\n\n- Updating deprecated pydantic calls\n- Switching to pyproject.toml\n- Fix for moving nested tables when using iterable_compare_func.  by \n- Fix recursion depth limit when hashing numpy.datetime64\n- Moving from legacy setuptools use to pyproject.toml\n\n\nDeepDiff 8-4-2\n\n- fixes the type hints for the base\n- fixes summarize so if json dumps fails, we can still get a repr of the results\n- adds ipaddress support\n\n\n## Installation\n\n### Install from PyPi:\n\n`pip install deepdiff`\n\nIf you want to use DeepDiff from commandline:\n\n`pip install \"deepdiff[cli]\"`\n\nIf you want to improve the performance of DeepDiff with certain functionalities such as improved json serialization:\n\n`pip install \"deepdiff[optimize]\"`\n\nInstall optional packages:\n- [yaml](https://pypi.org/project/PyYAML/)\n- [tomli](https://pypi.org/project/tomli/) (python 3.10 and older) and [tomli-w](https://pypi.org/project/tomli-w/) for writing\n- [clevercsv](https://pypi.org/project/clevercsv/) for more rubust CSV parsing\n- [orjson](https://pypi.org/project/orjson/) for speed and memory optimized parsing\n- [pydantic](https://pypi.org/project/pydantic/)\n\n\n# Documentation\n\n\u003chttps://zepworks.com/deepdiff/current/\u003e\n\n### A message from Sep, the creator of DeepDiff\n\n\u003e 👋 Hi there,\n\u003e\n\u003e Thank you for using DeepDiff!\n\u003e As an engineer, I understand the frustration of wrestling with **unruly data** in pipelines.\n\u003e That's why I developed a new tool - [Qluster](https://qluster.ai/solution) to empower non-engineers to control and resolve data issues at scale autonomously and **stop bugging the engineers**! 🛠️\n\u003e\n\u003e If you are going through this pain now, I would love to give you [early access](https://www.qluster.ai/try-qluster) to Qluster and get your feedback.\n\n\n# ChangeLog\n\nPlease take a look at the [CHANGELOG](CHANGELOG.md) file.\n\n# Survey\n\n:mega: **Please fill out our [fast 5-question survey](https://forms.gle/E6qXexcgjoKnSzjB8)** so that we can learn how \u0026 why you use DeepDiff, and what improvements we should make. Thank you! :dancers:\n\n# Local dev\n\n1. Clone the repo\n2. Switch to the dev branch\n3. Create your own branch\n4. Install dependencies\n\n    - Method 1: Use [`uv`](https://github.com/astral-sh/uv) to install the dependencies:  `uv sync --all-extras`.\n    - Method 2: Use pip: `pip install -e \".[cli,coverage,dev,docs,static,test]\"`\n5. Build `flit build`\n\n# Contribute\n\n1. Please make your PR against the dev branch\n2. 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.\n\nPlease 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.\n\nOr to see a more user friendly version, please run: `pytest --cov=deepdiff --cov-report term-missing --runslow`.\n\nThank you!\n\n# Authors\n\nPlease take a look at the [AUTHORS](AUTHORS.md) file.\n","funding_links":["https://github.com/sponsors/seperman","https://ko-fi.com/seperman"],"categories":["Python","Containers \u0026 Language Extentions \u0026 Linting","Code Inspection","Python程序"],"sub_categories":["For Python","资源传输下载"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseperman%2Fdeepdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseperman%2Fdeepdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseperman%2Fdeepdiff/lists"}