$npx skillfedfor your agent

recursive-diff

Recursively compare two Python data structures

Worth itPyPI Scientific/EngineeringReleased Mar 2026103.6K downloads / moApachePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — recursive_diff-2.1.0-py3-none-any.whl
v2.1.0 · released 2026-03-12 · Python >=3.9 · 3 runtime deps: numpy, pandas, xarray

Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem for anyone comparing complex nested data structures—especially in scientific and data engineering contexts. The Apache license is permissive. Install it if you regularly need to understand what differs between two versions of a pandas, xarray, or deeply nested Python object.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Low friction installation with a pure-Python wheel.
  • Actively maintained as of March 2026 with recent commits; marked Production/Stable.

License · maintenance · safety

Apache (permissive) — Licensed under Apache (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.

last release 2026-03-12 (155 days) · last repo commit 2026-03-13 · 22 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 103,645 downloads/mo, #12,793 on PyPI

Verify before relying

pip install recursive-diff

import recursive_diff

result = recursive_diff.recursive_diff({'a': 1}, {'a': 2})
print(result)
  • Whether the package handles circular references or deeply nested structures gracefully.
  • Performance characteristics when comparing very large pandas DataFrames or xarray Datasets.
  • What format the diff output takes and whether it's suitable for programmatic consumption.
Same gist for agents: .md · .json

What it is and what it does

recursive_diff is a utility for comparing two Python objects at any depth and reporting what differs between them. It's designed with scientific computing in mind—it has special handling for numpy arrays, pandas DataFrames, and xarray Datasets—so it can compare these structured data types meaningfully rather than just comparing object identity. The package is actively maintained, marked as Production/Stable, and requires Python 3.9 or later.

You would use it when you need to understand what changed between two versions of a complex nested data structure, whether that's a plain dict, a pandas table, or an xarray Dataset. It's particularly useful in testing, data validation, and debugging workflows where you want to see exactly which fields or rows differ rather than just getting a boolean 'equal or not' answer.

Use it for

  • Compare two pandas DataFrames to identify which rows or columns changed between versions.
  • Validate that a data transformation pipeline produced the expected output by diffing before and after states.
  • Debug scientific computations by recursively comparing xarray Datasets to spot where values diverged.
  • Write tests that verify nested configuration dictionaries or API responses match expected structures.
  • Track changes in nested Python objects during development or data processing workflows.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem for anyone comparing complex nested data structures—especially in scientific and data engineering contexts. The Apache license is permissive. Install it if you regularly need to understand what differs between two versions of a pandas, xarray, or deeply nested Python object.

Install

recursive-diff on PyPI

Before you install

Low friction installation with a pure-Python wheel. Actively maintained as of March 2026 with recent commits; marked Production/Stable. Depends on numpy, pandas, and xarray, which are widely available.

Requires Python 3.9 or later.

License in practice

Licensed under Apache (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.

Quickstart

pip install recursive-diff

import recursive_diff

result = recursive_diff.recursive_diff({'a': 1}, {'a': 2})
print(result)

Verify before relying

  • Whether the package handles circular references or deeply nested structures gracefully.
  • Performance characteristics when comparing very large pandas DataFrames or xarray Datasets.
  • What format the diff output takes and whether it's suitable for programmatic consumption.

Package facts

LicenseApache permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
numpypandasxarray
MaintenanceActively maintained 155 days since the last release
Last repo commit
First released
Downloads103,645 / month, #12,793 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Free Threading :: 2 - BetaTopic :: Scientific/Engineering

Evidence: recursive_diff-2.1.0-py3-none-any.whl

Tags

Capabilities
recursive diff pythoncompare nested data structurespandas dataframe diffxarray comparisondeep object comparisonnested dict diffdata structure equality check
Topics
data-comparisonpandas-xarraytesting-validation
PyPI keywords
diffpandasrecursivexarray

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “recursive diff python”

  • recursive-diffRecursively compares two Python data structures and reports their…
  • icdiffIcdiff displays file differences in a side-by-side colored format,…
  • deepdiff6DeepDiff recursively compares two Python objects—dictionaries, lists,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also coola · deepdiff6 · pytest-arraydiff · collate-data-diff · pyjson · datacompy · deepdiff · jsoncomparison · sqlalchemy-diff · json-diff