{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"},{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/3"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"coola compares complex nested data structures containing tensors, arrays, DataFrames, and other scientific objects for exact or approximate equality, with detailed difference reporting.","skillfed_tags":["testing","data-structures","scientific-computing"],"use_cases":["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."],"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\u2014objects 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.\n\nBeyond 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).","worth_installing":"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."},"id":"coola","links":{"html":"https://skillfed.io/packages/coola","md":"https://skillfed.io/packages/coola.md","pypi":"https://pypi.org/project/coola/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-30","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"coola","python_support":"supports_current","summary":"Library to check equality between two complex/nested objects"},"popularity":{"monthly_downloads":1006325,"position":4525,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.1.10"}
