{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/20"}],"enrichment":{"capability":"Generates human-readable diffs of Python data structures (dicts, lists, tuples, sets, strings) and provides drop-in assertion replacements for test frameworks.","skillfed_tags":["testing-utilities","data-comparison"],"use_cases":["Debugging test failures by displaying a clear diff of expected vs. actual data structures in assertions","Comparing complex nested dictionaries or lists to quickly identify which fields or elements changed","Generating human-readable output when validating API responses or configuration objects in tests","Inspecting differences in large data structures without manually walking through nested levels"],"what_it_does":"DataDiff is a utility library that compares Python data structures and outputs the differences in a unified diff format, similar to what you'd see comparing text files. It recursively diffs dictionaries and sequences, and has special handling for multi-line strings. The library also provides drop-in replacements for test assertions (like `assert_equal`) that display a data diff when the assertion fails, making it easier to spot what actually differs in complex nested structures during test failures.\n\nThe package has no runtime dependencies and installs cleanly. However, it has been abandoned with no active maintenance, so it should be considered stable but not actively developed. It was originally designed to support Python 2.6 through Python 3, though current compatibility with recent Python versions is untested.","worth_installing":"Yes, if you need readable diffs for test debugging and don't require active maintenance. The package is stable, has no dependencies, and works for its stated purpose. However, avoid it if you need ongoing support or compatibility assurance with current Python versions."},"id":"datadiff","links":{"html":"https://skillfed.io/packages/datadiff","md":"https://skillfed.io/packages/datadiff.md","pypi":"https://pypi.org/project/datadiff/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2023-08-27","license_spdx":null,"license_treatment":"permissive","name":"datadiff","python_support":"unspecified","summary":"DataDiff is a library to provide human-readable diffs of python data structures."},"popularity":{"monthly_downloads":101179,"position":12957,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.0"}
