{"adoption": {"forks": 204, "observed_at": "2026-08-28T04:07:21.427442+00:00", "stars": 2776}, "canonical_url": "https://ross.abutalabs.com/products/cachetools", "card": {"archived": false, "artifact_type": "library", "description": "Extensible memoizing collections and decorators", "domain": ["developer-tools", "performance"], "enriched": true, "function": ["caching", "developer-tools"], "health_score": 77, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["tkem/cachetools"], "name": "tkem/cachetools", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-01T21:20:48+00:00", "repo": "tkem/cachetools", "stars": 2776, "tags": ["memoization", "lru-cache", "ttl-cache", "decorators", "in-memory-cache", "python"], "topics": [], "urls": [], "use_cases": ["memoize expensive function calls in python", "cache with ttl expiration", "lru cache with max size for python functions", "speed up recursive functions with dynamic programming", "cache api responses for a limited time", "custom cache eviction policies"], "what_it_is": "A Python library providing extensible memoizing collections and decorators, including cache classes like LRUCache and TTLCache with pluggable eviction policies. It offers a @cached decorator as a drop-in alternative to functools.lru_cache with more cache algorithm options.", "when_to_avoid": ["you need a distributed or shared cache across processes - use Redis or Memcached instead", "you need async function caching out of the box - cachetools is synchronous (see asyncache)", "you need persistent caching across restarts"], "when_to_choose": ["you need in-process memoization with configurable eviction policies like LRU, TTL, or LFU", "you want a more flexible alternative to functools.lru_cache", "you need bounded mutable mappings that act as caches"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cachetools", "repo": "tkem/cachetools", "role": "main", "score": 75}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.427442+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T08:16:32.697841+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fc28ed6f8e0e57ebec7090abfad85a4ad8bbdc0dd260f26baa5286bc269b7271", "fetched_at": "2026-08-28T04:07:21.427442+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tkem/cachetools"}, {"content_hash": "154b3a50cb4b8242a5a6cf4e298bc20dcb57ac10a993a53e286a74a573fdb40f", "fetched_at": "2026-08-29T09:55:51.006229+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cachetools/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.427442+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T08:16:32.697841+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fc28ed6f8e0e57ebec7090abfad85a4ad8bbdc0dd260f26baa5286bc269b7271", "fetched_at": "2026-08-28T04:07:21.427442+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tkem/cachetools"}, {"content_hash": "154b3a50cb4b8242a5a6cf4e298bc20dcb57ac10a993a53e286a74a573fdb40f", "fetched_at": "2026-08-29T09:55:51.006229+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cachetools/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T08:16:32.697841+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fc28ed6f8e0e57ebec7090abfad85a4ad8bbdc0dd260f26baa5286bc269b7271", "fetched_at": "2026-08-28T04:07:21.427442+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tkem/cachetools"}, {"content_hash": "154b3a50cb4b8242a5a6cf4e298bc20dcb57ac10a993a53e286a74a573fdb40f", "fetched_at": "2026-08-29T09:55:51.006229+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cachetools/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-08-28T04:07:21.427442+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.427442+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.427442+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T08:16:32.697841+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fc28ed6f8e0e57ebec7090abfad85a4ad8bbdc0dd260f26baa5286bc269b7271", "fetched_at": "2026-08-28T04:07:21.427442+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tkem/cachetools"}, {"content_hash": "154b3a50cb4b8242a5a6cf4e298bc20dcb57ac10a993a53e286a74a573fdb40f", "fetched_at": "2026-08-29T09:55:51.006229+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cachetools/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.427442+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.427442+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T08:16:32.697841+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fc28ed6f8e0e57ebec7090abfad85a4ad8bbdc0dd260f26baa5286bc269b7271", "fetched_at": "2026-08-28T04:07:21.427442+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tkem/cachetools"}, {"content_hash": "154b3a50cb4b8242a5a6cf4e298bc20dcb57ac10a993a53e286a74a573fdb40f", "fetched_at": "2026-08-29T09:55:51.006229+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cachetools/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.427442+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.427442+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.427442+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T08:16:32.697841+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fc28ed6f8e0e57ebec7090abfad85a4ad8bbdc0dd260f26baa5286bc269b7271", "fetched_at": "2026-08-28T04:07:21.427442+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tkem/cachetools"}, {"content_hash": "154b3a50cb4b8242a5a6cf4e298bc20dcb57ac10a993a53e286a74a573fdb40f", "fetched_at": "2026-08-29T09:55:51.006229+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cachetools/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.427442+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:21.427442+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T08:16:32.697841+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fc28ed6f8e0e57ebec7090abfad85a4ad8bbdc0dd260f26baa5286bc269b7271", "fetched_at": "2026-08-28T04:07:21.427442+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tkem/cachetools"}, {"content_hash": "154b3a50cb4b8242a5a6cf4e298bc20dcb57ac10a993a53e286a74a573fdb40f", "fetched_at": "2026-08-29T09:55:51.006229+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cachetools/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T08:16:32.697841+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fc28ed6f8e0e57ebec7090abfad85a4ad8bbdc0dd260f26baa5286bc269b7271", "fetched_at": "2026-08-28T04:07:21.427442+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tkem/cachetools"}, {"content_hash": "154b3a50cb4b8242a5a6cf4e298bc20dcb57ac10a993a53e286a74a573fdb40f", "fetched_at": "2026-08-29T09:55:51.006229+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cachetools/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T08:16:32.697841+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fc28ed6f8e0e57ebec7090abfad85a4ad8bbdc0dd260f26baa5286bc269b7271", "fetched_at": "2026-08-28T04:07:21.427442+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tkem/cachetools"}, {"content_hash": "154b3a50cb4b8242a5a6cf4e298bc20dcb57ac10a993a53e286a74a573fdb40f", "fetched_at": "2026-08-29T09:55:51.006229+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cachetools/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T08:16:32.697841+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fc28ed6f8e0e57ebec7090abfad85a4ad8bbdc0dd260f26baa5286bc269b7271", "fetched_at": "2026-08-28T04:07:21.427442+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tkem/cachetools"}, {"content_hash": "154b3a50cb4b8242a5a6cf4e298bc20dcb57ac10a993a53e286a74a573fdb40f", "fetched_at": "2026-08-29T09:55:51.006229+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cachetools/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 95, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4547, "days_push": 32, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 75, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}