{"adoption": {"forks": 59, "observed_at": "2026-08-28T04:03:59.005734+00:00", "stars": 1204}, "canonical_url": "https://ross.abutalabs.com/products/magicstack-immutables", "card": {"archived": false, "artifact_type": "library", "description": "A high-performance immutable mapping type for Python.", "domain": ["programming-languages", "developer-tools"], "enriched": true, "function": ["serialization", "concurrency"], "health_score": 42, "homepage": null, "language": "C", "license": "NOASSERTION", "license_family": "other", "maturity": "stable", "member_repos": ["MagicStack/immutables"], "name": "MagicStack/immutables", "platform": ["python", "cross-platform"], "pushed_at": "2025-05-20T02:55:20+00:00", "repo": "MagicStack/immutables", "stars": 1204, "tags": ["immutable-collections", "hamt", "functional-datastructures", "persistent-data-structures", "cpython", "algorithms"], "topics": ["python", "immutable-collections", "hamt", "immutable-datastructures", "python3", "immutable", "frozen"], "urls": [], "use_cases": ["immutable dictionary for python", "hamt mapping implementation", "hashable frozen mapping type", "efficient copy-on-write dict alternative", "immutable data structures for functional python", "thread-safe immutable map"], "what_it_is": "A high-performance immutable mapping type for Python based on a Hash Array Mapped Trie (HAMT). It is the implementation used in CPython's contextvars module and offers O(log N) set/get operations with hashable, pickleable Map objects.", "when_to_avoid": ["you only need plain mutable dicts", "you need immutable lists or sets rather than mappings", "you require strict O(1) updates for very large mappings"], "when_to_choose": ["you need immutable, hashable mappings with fast O(log N) updates", "you want efficient structural sharing instead of dict copy-on-write", "you need bulk mutation APIs that produce new derived maps"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/magicstack-immutables", "repo": "MagicStack/immutables", "role": "main", "score": 33}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:19:38.078497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e5decdfa08c33be1a3c1d6ede1835fe1f2e13eb69626a4cfe34a915aa0a37f67", "fetched_at": "2026-08-28T04:03:59.005734+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MagicStack/immutables"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:19:38.078497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e5decdfa08c33be1a3c1d6ede1835fe1f2e13eb69626a4cfe34a915aa0a37f67", "fetched_at": "2026-08-28T04:03:59.005734+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MagicStack/immutables"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:19:38.078497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e5decdfa08c33be1a3c1d6ede1835fe1f2e13eb69626a4cfe34a915aa0a37f67", "fetched_at": "2026-08-28T04:03:59.005734+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MagicStack/immutables"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:19:38.078497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e5decdfa08c33be1a3c1d6ede1835fe1f2e13eb69626a4cfe34a915aa0a37f67", "fetched_at": "2026-08-28T04:03:59.005734+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MagicStack/immutables"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:19:38.078497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e5decdfa08c33be1a3c1d6ede1835fe1f2e13eb69626a4cfe34a915aa0a37f67", "fetched_at": "2026-08-28T04:03:59.005734+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MagicStack/immutables"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:19:38.078497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e5decdfa08c33be1a3c1d6ede1835fe1f2e13eb69626a4cfe34a915aa0a37f67", "fetched_at": "2026-08-28T04:03:59.005734+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MagicStack/immutables"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.005734+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:19:38.078497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e5decdfa08c33be1a3c1d6ede1835fe1f2e13eb69626a4cfe34a915aa0a37f67", "fetched_at": "2026-08-28T04:03:59.005734+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MagicStack/immutables"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:19:38.078497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e5decdfa08c33be1a3c1d6ede1835fe1f2e13eb69626a4cfe34a915aa0a37f67", "fetched_at": "2026-08-28T04:03:59.005734+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MagicStack/immutables"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:19:38.078497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e5decdfa08c33be1a3c1d6ede1835fe1f2e13eb69626a4cfe34a915aa0a37f67", "fetched_at": "2026-08-28T04:03:59.005734+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MagicStack/immutables"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:19:38.078497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e5decdfa08c33be1a3c1d6ede1835fe1f2e13eb69626a4cfe34a915aa0a37f67", "fetched_at": "2026-08-28T04:03:59.005734+00:00", "kind": "readme", "missing": false, "url": "https://github.com/MagicStack/immutables"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 22, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3078, "days_push": 470, "days_rel": 693, "gap_med": null, "n_releases_24m": 1}, "score": 33, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}