{"adoption": {"forks": 318, "observed_at": "2026-08-28T04:07:32.292707+00:00", "stars": 2959}, "canonical_url": "https://ross.abutalabs.com/products/datasketch", "card": {"archived": false, "artifact_type": "library", "description": "MinHash, LSH, LSH Forest, Weighted MinHash, HyperLogLog, HyperLogLog++, LSH Ensemble and HNSW", "domain": ["data-science", "big-data", "machine-learning"], "enriched": true, "function": ["search-engine", "data-science", "benchmarking"], "health_score": 98, "homepage": "https://ekzhu.github.io/datasketch", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["ekzhu/datasketch"], "name": "ekzhu/datasketch", "platform": ["python"], "pushed_at": "2026-08-09T07:37:02+00:00", "repo": "ekzhu/datasketch", "stars": 2959, "tags": ["minhash", "locality-sensitive-hashing", "hyperloglog", "lsh-forest", "lsh-ensemble", "hnsw", "probabilistic-data-structures", "jaccard-similarity", "cardinality-estimation", "deduplication", "algorithms", "search"], "topics": ["python", "lsh-forest", "jaccard-similarity", "hyperloglog", "lsh", "minhash", "weighted-quantiles", "top-k", "search", "data-sketches", "data-summary", "lsh-ensemble", "locality-sensitive-hashing", "hnsw"], "urls": [], "use_cases": ["find near-duplicate documents at scale", "estimate Jaccard similarity between large sets", "estimate cardinality of huge streams with HyperLogLog", "build a top-k similarity search index with LSH Forest", "deduplicate records or emails in a large dataset", "query sets by containment with LSH Ensemble", "nearest neighbor search with HNSW"], "what_it_is": "datasketch is a Python library of probabilistic data structures (MinHash, Weighted MinHash, HyperLogLog, HyperLogLog++) and indexes (MinHash LSH, LSHBloom, LSH Forest, LSH Ensemble, HNSW) for processing and searching very large datasets with little loss of accuracy. It supports scalable storage layers via Redis and Cassandra and optional GPU acceleration.", "when_to_avoid": ["you need exact similarity or exact distinct counts", "your datasets are small enough for brute-force computation", "you need general-purpose vector embeddings search beyond what HNSW here provides"], "when_to_choose": ["you need fast approximate set similarity or cardinality estimation on big data", "you want sub-linear query time for Jaccard threshold or top-k queries", "you need scalable sketch indexes backed by Redis or Cassandra"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/datasketch", "repo": "ekzhu/datasketch", "role": "main", "score": 91}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.292707+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:32:10.742943+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a34ca531d33a3e6e36ac0f9bff424ee517ba23e9d1f910ee695bc45f34efd213", "fetched_at": "2026-08-28T04:07:32.292707+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ekzhu/datasketch"}, {"content_hash": "b3d8791fa28e385086d5e8d6b6b8da6b516758bbd8fba155d6ada038b47f56d8", "fetched_at": "2026-08-29T09:47:31.765481+00:00", "kind": "homepage", "missing": false, "url": "https://ekzhu.github.io/datasketch"}, {"content_hash": "52b67c163b9ce5ce975cee7fbbfd7a95dd23250bbd7d3ace6f1c61a51587287d", "fetched_at": "2026-08-29T09:47:31.775294+00:00", "kind": "site_page", "missing": false, "url": "https://ekzhu.com/datasketch/documentation.html"}, {"content_hash": "39104584c2e4ac414c3360eaf8340b83cb1b38b25363231feeee04f34cc29a36", "fetched_at": "2026-08-29T09:47:31.778919+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/datasketch/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.292707+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:32:10.742943+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a34ca531d33a3e6e36ac0f9bff424ee517ba23e9d1f910ee695bc45f34efd213", "fetched_at": "2026-08-28T04:07:32.292707+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ekzhu/datasketch"}, {"content_hash": "b3d8791fa28e385086d5e8d6b6b8da6b516758bbd8fba155d6ada038b47f56d8", "fetched_at": "2026-08-29T09:47:31.765481+00:00", "kind": "homepage", "missing": false, "url": "https://ekzhu.github.io/datasketch"}, {"content_hash": "52b67c163b9ce5ce975cee7fbbfd7a95dd23250bbd7d3ace6f1c61a51587287d", "fetched_at": "2026-08-29T09:47:31.775294+00:00", "kind": "site_page", "missing": false, "url": "https://ekzhu.com/datasketch/documentation.html"}, {"content_hash": "39104584c2e4ac414c3360eaf8340b83cb1b38b25363231feeee04f34cc29a36", "fetched_at": "2026-08-29T09:47:31.778919+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/datasketch/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:32:10.742943+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a34ca531d33a3e6e36ac0f9bff424ee517ba23e9d1f910ee695bc45f34efd213", "fetched_at": "2026-08-28T04:07:32.292707+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ekzhu/datasketch"}, {"content_hash": "b3d8791fa28e385086d5e8d6b6b8da6b516758bbd8fba155d6ada038b47f56d8", "fetched_at": "2026-08-29T09:47:31.765481+00:00", "kind": "homepage", "missing": false, "url": "https://ekzhu.github.io/datasketch"}, {"content_hash": "52b67c163b9ce5ce975cee7fbbfd7a95dd23250bbd7d3ace6f1c61a51587287d", "fetched_at": "2026-08-29T09:47:31.775294+00:00", "kind": "site_page", "missing": false, "url": "https://ekzhu.com/datasketch/documentation.html"}, {"content_hash": "39104584c2e4ac414c3360eaf8340b83cb1b38b25363231feeee04f34cc29a36", "fetched_at": "2026-08-29T09:47:31.778919+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/datasketch/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:32.292707+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.292707+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.292707+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:32:10.742943+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a34ca531d33a3e6e36ac0f9bff424ee517ba23e9d1f910ee695bc45f34efd213", "fetched_at": "2026-08-28T04:07:32.292707+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ekzhu/datasketch"}, {"content_hash": "b3d8791fa28e385086d5e8d6b6b8da6b516758bbd8fba155d6ada038b47f56d8", "fetched_at": "2026-08-29T09:47:31.765481+00:00", "kind": "homepage", "missing": false, "url": "https://ekzhu.github.io/datasketch"}, {"content_hash": "52b67c163b9ce5ce975cee7fbbfd7a95dd23250bbd7d3ace6f1c61a51587287d", "fetched_at": "2026-08-29T09:47:31.775294+00:00", "kind": "site_page", "missing": false, "url": "https://ekzhu.com/datasketch/documentation.html"}, {"content_hash": "39104584c2e4ac414c3360eaf8340b83cb1b38b25363231feeee04f34cc29a36", "fetched_at": "2026-08-29T09:47:31.778919+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/datasketch/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.292707+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.292707+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:32:10.742943+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a34ca531d33a3e6e36ac0f9bff424ee517ba23e9d1f910ee695bc45f34efd213", "fetched_at": "2026-08-28T04:07:32.292707+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ekzhu/datasketch"}, {"content_hash": "b3d8791fa28e385086d5e8d6b6b8da6b516758bbd8fba155d6ada038b47f56d8", "fetched_at": "2026-08-29T09:47:31.765481+00:00", "kind": "homepage", "missing": false, "url": "https://ekzhu.github.io/datasketch"}, {"content_hash": "52b67c163b9ce5ce975cee7fbbfd7a95dd23250bbd7d3ace6f1c61a51587287d", "fetched_at": "2026-08-29T09:47:31.775294+00:00", "kind": "site_page", "missing": false, "url": "https://ekzhu.com/datasketch/documentation.html"}, {"content_hash": "39104584c2e4ac414c3360eaf8340b83cb1b38b25363231feeee04f34cc29a36", "fetched_at": "2026-08-29T09:47:31.778919+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/datasketch/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.292707+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.292707+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.292707+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:32:10.742943+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a34ca531d33a3e6e36ac0f9bff424ee517ba23e9d1f910ee695bc45f34efd213", "fetched_at": "2026-08-28T04:07:32.292707+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ekzhu/datasketch"}, {"content_hash": "b3d8791fa28e385086d5e8d6b6b8da6b516758bbd8fba155d6ada038b47f56d8", "fetched_at": "2026-08-29T09:47:31.765481+00:00", "kind": "homepage", "missing": false, "url": "https://ekzhu.github.io/datasketch"}, {"content_hash": "52b67c163b9ce5ce975cee7fbbfd7a95dd23250bbd7d3ace6f1c61a51587287d", "fetched_at": "2026-08-29T09:47:31.775294+00:00", "kind": "site_page", "missing": false, "url": "https://ekzhu.com/datasketch/documentation.html"}, {"content_hash": "39104584c2e4ac414c3360eaf8340b83cb1b38b25363231feeee04f34cc29a36", "fetched_at": "2026-08-29T09:47:31.778919+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/datasketch/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.292707+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:32.292707+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:32:10.742943+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a34ca531d33a3e6e36ac0f9bff424ee517ba23e9d1f910ee695bc45f34efd213", "fetched_at": "2026-08-28T04:07:32.292707+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ekzhu/datasketch"}, {"content_hash": "b3d8791fa28e385086d5e8d6b6b8da6b516758bbd8fba155d6ada038b47f56d8", "fetched_at": "2026-08-29T09:47:31.765481+00:00", "kind": "homepage", "missing": false, "url": "https://ekzhu.github.io/datasketch"}, {"content_hash": "52b67c163b9ce5ce975cee7fbbfd7a95dd23250bbd7d3ace6f1c61a51587287d", "fetched_at": "2026-08-29T09:47:31.775294+00:00", "kind": "site_page", "missing": false, "url": "https://ekzhu.com/datasketch/documentation.html"}, {"content_hash": "39104584c2e4ac414c3360eaf8340b83cb1b38b25363231feeee04f34cc29a36", "fetched_at": "2026-08-29T09:47:31.778919+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/datasketch/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:32:10.742943+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a34ca531d33a3e6e36ac0f9bff424ee517ba23e9d1f910ee695bc45f34efd213", "fetched_at": "2026-08-28T04:07:32.292707+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ekzhu/datasketch"}, {"content_hash": "b3d8791fa28e385086d5e8d6b6b8da6b516758bbd8fba155d6ada038b47f56d8", "fetched_at": "2026-08-29T09:47:31.765481+00:00", "kind": "homepage", "missing": false, "url": "https://ekzhu.github.io/datasketch"}, {"content_hash": "52b67c163b9ce5ce975cee7fbbfd7a95dd23250bbd7d3ace6f1c61a51587287d", "fetched_at": "2026-08-29T09:47:31.775294+00:00", "kind": "site_page", "missing": false, "url": "https://ekzhu.com/datasketch/documentation.html"}, {"content_hash": "39104584c2e4ac414c3360eaf8340b83cb1b38b25363231feeee04f34cc29a36", "fetched_at": "2026-08-29T09:47:31.778919+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/datasketch/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:32:10.742943+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a34ca531d33a3e6e36ac0f9bff424ee517ba23e9d1f910ee695bc45f34efd213", "fetched_at": "2026-08-28T04:07:32.292707+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ekzhu/datasketch"}, {"content_hash": "b3d8791fa28e385086d5e8d6b6b8da6b516758bbd8fba155d6ada038b47f56d8", "fetched_at": "2026-08-29T09:47:31.765481+00:00", "kind": "homepage", "missing": false, "url": "https://ekzhu.github.io/datasketch"}, {"content_hash": "52b67c163b9ce5ce975cee7fbbfd7a95dd23250bbd7d3ace6f1c61a51587287d", "fetched_at": "2026-08-29T09:47:31.775294+00:00", "kind": "site_page", "missing": false, "url": "https://ekzhu.com/datasketch/documentation.html"}, {"content_hash": "39104584c2e4ac414c3360eaf8340b83cb1b38b25363231feeee04f34cc29a36", "fetched_at": "2026-08-29T09:47:31.778919+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/datasketch/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:32:10.742943+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a34ca531d33a3e6e36ac0f9bff424ee517ba23e9d1f910ee695bc45f34efd213", "fetched_at": "2026-08-28T04:07:32.292707+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ekzhu/datasketch"}, {"content_hash": "b3d8791fa28e385086d5e8d6b6b8da6b516758bbd8fba155d6ada038b47f56d8", "fetched_at": "2026-08-29T09:47:31.765481+00:00", "kind": "homepage", "missing": false, "url": "https://ekzhu.github.io/datasketch"}, {"content_hash": "52b67c163b9ce5ce975cee7fbbfd7a95dd23250bbd7d3ace6f1c61a51587287d", "fetched_at": "2026-08-29T09:47:31.775294+00:00", "kind": "site_page", "missing": false, "url": "https://ekzhu.com/datasketch/documentation.html"}, {"content_hash": "39104584c2e4ac414c3360eaf8340b83cb1b38b25363231feeee04f34cc29a36", "fetched_at": "2026-08-29T09:47:31.778919+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/datasketch/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 80}, "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": 4185, "days_push": 24, "days_rel": 59, "gap_med": 64.5, "n_releases_24m": 5}, "score": 91, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}