{"adoption": {"forks": 54, "observed_at": "2026-09-03T02:15:17.640988+00:00", "stars": 1004}, "canonical_url": "https://ross.abutalabs.com/products/dirty-equals", "card": {"archived": false, "artifact_type": "library", "description": "Doing dirty (but extremely useful) things with equals.", "domain": ["testing", "developer-tools"], "enriched": true, "function": ["testing", "developer-tools"], "health_score": 94, "homepage": "https://dirty-equals.helpmanual.io", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["samuelcolvin/dirty-equals"], "name": "samuelcolvin/dirty-equals", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-10T11:48:55+00:00", "repo": "samuelcolvin/dirty-equals", "stars": 1004, "tags": ["pytest", "unit-testing", "assertions", "declarative-tests", "matchers"], "topics": ["python", "pytest", "unit-testing", "testing-tools"], "urls": [], "use_cases": ["assert API response fields without knowing exact values", "test database row contents declaratively", "match strings against regexes in assertions", "compare JSON strings by decoded value", "check datetimes are close to now in tests", "partially match dicts and lists in pytest"], "what_it_is": "dirty-equals is a Python library that overloads __eq__ to provide declarative, partial-match assertion helpers for unit tests. It lets you compare values against matchers like IsPositiveInt, IsStr(regex=...), IsJson, and IsNow instead of exact values.", "when_to_avoid": ["non-Python projects", "production code where magic __eq__ semantics would be confusing", "tests requiring strict exact-value equality only"], "when_to_choose": ["writing pytest unit tests that assert on API responses or DB rows", "you want readable, declarative assertions with partial matching", "you need regex, type, or fuzzy datetime comparisons inside assert statements"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/dirty-equals", "repo": "samuelcolvin/dirty-equals", "role": "main", "score": 75}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:13:46.802772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e08357dbf42b443248d86fef1093e0181cbdbfd5916ffa0a8efc963779e60c1e", "fetched_at": "2026-09-03T02:15:17.640988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/samuelcolvin/dirty-equals"}, {"content_hash": "d78d824cb680f21e5c94922138571fe62b3014f0c08f6bc19325dd21f04411d9", "fetched_at": "2026-08-29T13:13:30.704869+00:00", "kind": "homepage", "missing": false, "url": "https://dirty-equals.helpmanual.io"}, {"content_hash": "06efabf39edfd325eab2ed09218f7b25e4382bc381c9bdd11b78262db4a9cfb3", "fetched_at": "2026-08-29T13:13:30.714282+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/dirty-equals/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:13:46.802772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e08357dbf42b443248d86fef1093e0181cbdbfd5916ffa0a8efc963779e60c1e", "fetched_at": "2026-09-03T02:15:17.640988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/samuelcolvin/dirty-equals"}, {"content_hash": "d78d824cb680f21e5c94922138571fe62b3014f0c08f6bc19325dd21f04411d9", "fetched_at": "2026-08-29T13:13:30.704869+00:00", "kind": "homepage", "missing": false, "url": "https://dirty-equals.helpmanual.io"}, {"content_hash": "06efabf39edfd325eab2ed09218f7b25e4382bc381c9bdd11b78262db4a9cfb3", "fetched_at": "2026-08-29T13:13:30.714282+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/dirty-equals/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:13:46.802772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e08357dbf42b443248d86fef1093e0181cbdbfd5916ffa0a8efc963779e60c1e", "fetched_at": "2026-09-03T02:15:17.640988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/samuelcolvin/dirty-equals"}, {"content_hash": "d78d824cb680f21e5c94922138571fe62b3014f0c08f6bc19325dd21f04411d9", "fetched_at": "2026-08-29T13:13:30.704869+00:00", "kind": "homepage", "missing": false, "url": "https://dirty-equals.helpmanual.io"}, {"content_hash": "06efabf39edfd325eab2ed09218f7b25e4382bc381c9bdd11b78262db4a9cfb3", "fetched_at": "2026-08-29T13:13:30.714282+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/dirty-equals/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:13:46.802772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e08357dbf42b443248d86fef1093e0181cbdbfd5916ffa0a8efc963779e60c1e", "fetched_at": "2026-09-03T02:15:17.640988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/samuelcolvin/dirty-equals"}, {"content_hash": "d78d824cb680f21e5c94922138571fe62b3014f0c08f6bc19325dd21f04411d9", "fetched_at": "2026-08-29T13:13:30.704869+00:00", "kind": "homepage", "missing": false, "url": "https://dirty-equals.helpmanual.io"}, {"content_hash": "06efabf39edfd325eab2ed09218f7b25e4382bc381c9bdd11b78262db4a9cfb3", "fetched_at": "2026-08-29T13:13:30.714282+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/dirty-equals/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:13:46.802772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e08357dbf42b443248d86fef1093e0181cbdbfd5916ffa0a8efc963779e60c1e", "fetched_at": "2026-09-03T02:15:17.640988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/samuelcolvin/dirty-equals"}, {"content_hash": "d78d824cb680f21e5c94922138571fe62b3014f0c08f6bc19325dd21f04411d9", "fetched_at": "2026-08-29T13:13:30.704869+00:00", "kind": "homepage", "missing": false, "url": "https://dirty-equals.helpmanual.io"}, {"content_hash": "06efabf39edfd325eab2ed09218f7b25e4382bc381c9bdd11b78262db4a9cfb3", "fetched_at": "2026-08-29T13:13:30.714282+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/dirty-equals/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:13:46.802772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e08357dbf42b443248d86fef1093e0181cbdbfd5916ffa0a8efc963779e60c1e", "fetched_at": "2026-09-03T02:15:17.640988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/samuelcolvin/dirty-equals"}, {"content_hash": "d78d824cb680f21e5c94922138571fe62b3014f0c08f6bc19325dd21f04411d9", "fetched_at": "2026-08-29T13:13:30.704869+00:00", "kind": "homepage", "missing": false, "url": "https://dirty-equals.helpmanual.io"}, {"content_hash": "06efabf39edfd325eab2ed09218f7b25e4382bc381c9bdd11b78262db4a9cfb3", "fetched_at": "2026-08-29T13:13:30.714282+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/dirty-equals/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-09-03T02:15:17.640988+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:13:46.802772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e08357dbf42b443248d86fef1093e0181cbdbfd5916ffa0a8efc963779e60c1e", "fetched_at": "2026-09-03T02:15:17.640988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/samuelcolvin/dirty-equals"}, {"content_hash": "d78d824cb680f21e5c94922138571fe62b3014f0c08f6bc19325dd21f04411d9", "fetched_at": "2026-08-29T13:13:30.704869+00:00", "kind": "homepage", "missing": false, "url": "https://dirty-equals.helpmanual.io"}, {"content_hash": "06efabf39edfd325eab2ed09218f7b25e4382bc381c9bdd11b78262db4a9cfb3", "fetched_at": "2026-08-29T13:13:30.714282+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/dirty-equals/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:13:46.802772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e08357dbf42b443248d86fef1093e0181cbdbfd5916ffa0a8efc963779e60c1e", "fetched_at": "2026-09-03T02:15:17.640988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/samuelcolvin/dirty-equals"}, {"content_hash": "d78d824cb680f21e5c94922138571fe62b3014f0c08f6bc19325dd21f04411d9", "fetched_at": "2026-08-29T13:13:30.704869+00:00", "kind": "homepage", "missing": false, "url": "https://dirty-equals.helpmanual.io"}, {"content_hash": "06efabf39edfd325eab2ed09218f7b25e4382bc381c9bdd11b78262db4a9cfb3", "fetched_at": "2026-08-29T13:13:30.714282+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/dirty-equals/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:13:46.802772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e08357dbf42b443248d86fef1093e0181cbdbfd5916ffa0a8efc963779e60c1e", "fetched_at": "2026-09-03T02:15:17.640988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/samuelcolvin/dirty-equals"}, {"content_hash": "d78d824cb680f21e5c94922138571fe62b3014f0c08f6bc19325dd21f04411d9", "fetched_at": "2026-08-29T13:13:30.704869+00:00", "kind": "homepage", "missing": false, "url": "https://dirty-equals.helpmanual.io"}, {"content_hash": "06efabf39edfd325eab2ed09218f7b25e4382bc381c9bdd11b78262db4a9cfb3", "fetched_at": "2026-08-29T13:13:30.714282+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/dirty-equals/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:13:46.802772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e08357dbf42b443248d86fef1093e0181cbdbfd5916ffa0a8efc963779e60c1e", "fetched_at": "2026-09-03T02:15:17.640988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/samuelcolvin/dirty-equals"}, {"content_hash": "d78d824cb680f21e5c94922138571fe62b3014f0c08f6bc19325dd21f04411d9", "fetched_at": "2026-08-29T13:13:30.704869+00:00", "kind": "homepage", "missing": false, "url": "https://dirty-equals.helpmanual.io"}, {"content_hash": "06efabf39edfd325eab2ed09218f7b25e4382bc381c9bdd11b78262db4a9cfb3", "fetched_at": "2026-08-29T13:13:30.714282+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/dirty-equals/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 33}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1680, "days_push": 23, "days_rel": 290, "gap_med": 154.0, "n_releases_24m": 3}, "score": 75, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 3, "stale_scrape": false}}