$npx skillfedfor your agent

coola

Library to check equality between two complex/nested objects

Worth itPyPI LibrariesReleased Jul 20261.0M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — coola-1.1.10-py3-none-any.whl
v1.1.10 · released 2026-07-30 · Python >=3.10

Yes. coola is actively maintained, has no core dependencies, supports current Python versions, carries no known vulnerabilities, and solves a real problem for anyone working with nested data structures in testing or validation. The permissive BSD-3-Clause license poses no restrictions. Install it if you regularly compare complex objects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or higher; optional dependencies must be installed separately to compare specific types like tensors or arrays.
  • Low install friction with no runtime dependencies; actively maintained with a release 15 days ago and recent commits.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use, modify, and distribute coola freely in commercial and private projects with minimal restrictions.

last release 2026-07-30 (15 days) · last repo commit 2026-08-14 · 1 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,006,325 downloads/mo, #4,525 on PyPI

Verify before relying

pip install coola

from coola.equality import objects_are_equal

data1 = {"key": "value1"}
data2 = {"key": "value1"}
result = objects_are_equal(data1, data2)
print(result)  # True
  • Whether custom comparators can be registered for user-defined types beyond the documented supported types
  • Performance characteristics when comparing very large nested structures or deeply nested hierarchies
  • Whether the library handles circular references in nested structures
Same gist for agents: .md · .json

What it is and what it does

coola is a lightweight equality-checking library for scientific Python that solves the problem of comparing complex nested structures containing tensors, arrays, and DataFrames—objects where Python's native `==` operator fails or produces unexpected results. It provides three main functions: `objects_are_equal()` for strict comparison, `objects_are_allclose()` for numerical tolerance, and difference reporting to show exactly what differs between two structures.

Beyond equality checking, coola also offers utilities for data summarization (human-readable nested structure summaries), conversion between list-of-dicts and dict-of-lists formats, mapping utilities for flattening and filtering nested dictionaries, systematic traversal via depth-first and breadth-first search, and reduction operations (min, max, mean, median, quantile, std) on numeric sequences with pluggable backends. It has no core dependencies, making it lightweight, and supports modern Python versions (3.10 and above).

Use it for

  • Unit testing: Compare expected and actual outputs in tests with clear failure messages showing structural differences.
  • Numerical validation: Check if two nested structures are equal within a tolerance using `objects_are_allclose()`.
  • Data pipeline debugging: Summarize and compare intermediate results to identify where data diverges.
  • Configuration comparison: Flatten and compare nested configuration dictionaries or extract specific values.
  • Batch processing: Traverse nested collections using DFS/BFS to filter or extract specific data types.

Worth the install?

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

Worth it

Yes.

coola is actively maintained, has no core dependencies, supports current Python versions, carries no known vulnerabilities, and solves a real problem for anyone working with nested data structures in testing or validation. The permissive BSD-3-Clause license poses no restrictions. Install it if you regularly compare complex objects.

Install

coola on PyPI

Before you install

Low install friction with no runtime dependencies; actively maintained with a release 15 days ago and recent commits.

Requires Python 3.10 or higher; optional dependencies must be installed separately to compare specific types like tensors or arrays.

License in practice

BSD-3-Clause is permissive; you can use, modify, and distribute coola freely in commercial and private projects with minimal restrictions.

Quickstart

pip install coola

from coola.equality import objects_are_equal

data1 = {"key": "value1"}
data2 = {"key": "value1"}
result = objects_are_equal(data1, data2)
print(result)  # True

Verify before relying

  • Whether custom comparators can be registered for user-defined types beyond the documented supported types
  • Performance characteristics when comparing very large nested structures or deeply nested hierarchies
  • Whether the library handles circular references in nested structures

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 15 days since the last release
Last repo commit
First released
Downloads1,006,325 / month, #4,525 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: MacOSOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development :: LibrariesTopic :: Software Development :: Testing

Evidence: coola-1.1.10-py3-none-any.whl

Tags

Capabilities
compare nested data structuresequality testing for complex objectsdataframe comparisonnumerical tolerance comparisonnested structure diff reportingtensor array comparison
Topics
testingdata-structuresscientific-computing
PyPI keywords
equalityjaxnumpypandaspolarspyarrowpytorchtestingxarray

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 › “compare nested data structures”

  • coolacoola compares complex nested data structures containing tensors,…
  • recursive-diffRecursively compares two Python data structures and reports their…
  • deepdiffDeepDiff compares dictionaries, iterables, strings, and arbitrary…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also recursive-diff · feu · datacompy · narwhals · jsoncomparison · array-api-compat · dataframe-api-compat · pyjson · deepdiff6 · awkward-pandas