{"adoption": {"forks": 307, "observed_at": "2026-09-03T02:15:09.964536+00:00", "stars": 1283}, "canonical_url": "https://ross.abutalabs.com/products/pyrival", "card": {"archived": false, "artifact_type": "library", "description": "⚡ Competitive Programming Library", "domain": ["developer-tools", "education"], "enriched": true, "function": ["developer-tools", "testing"], "health_score": 80, "homepage": "https://pyrival.readthedocs.io/", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["cheran-senthil/PyRival"], "name": "cheran-senthil/PyRival", "platform": ["python"], "pushed_at": "2026-09-02T05:27:28+00:00", "repo": "cheran-senthil/PyRival", "stars": 1283, "tags": ["competitive-programming", "algorithms", "data-structures", "codeforces", "templates", "snippets"], "topics": ["competitive-programming", "python", "data-structures", "algorithms"], "urls": [], "use_cases": ["prepare a python template for codeforces contests", "find a fast fenwick tree implementation in python", "implement miller-rabin primality testing for a contest problem", "stress test a brute force solution against an optimized one", "copy snippets for fft, ntt, or chinese remainder theorem", "speed up competitive programming solutions for pypy"], "what_it_is": "PyRival is a Python library of algorithms, data structures, and templates for competitive programming. It includes battle-tested snippets for number theory, graphs, geometry, and strings, plus tools like stress testers and interactive runners.", "when_to_avoid": ["you need a production-grade general-purpose algorithms library with stable APIs", "you want pip-installable dependencies for application development rather than copy-paste snippets", "you work in a language other than Python"], "when_to_choose": ["you compete in online judges like Codeforces or AtCoder using Python or PyPy", "you want a curated, tested collection of contest-ready algorithm snippets", "you need a single-file template that works across Python and PyPy versions"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pyrival", "repo": "cheran-senthil/PyRival", "role": "main", "score": 68}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.964536+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:56:47.982716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fce43d992b205d2e816591132712fa650793c7c5e0c11b0a15ef31833089683f", "fetched_at": "2026-09-03T02:15:09.964536+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cheran-senthil/PyRival"}, {"content_hash": "ea039a535e40a99a39f5acd18832de1395f08635bec26a4da6727ed1ba91df0a", "fetched_at": "2026-08-29T12:13:12.939194+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyrival/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.964536+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:56:47.982716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fce43d992b205d2e816591132712fa650793c7c5e0c11b0a15ef31833089683f", "fetched_at": "2026-09-03T02:15:09.964536+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cheran-senthil/PyRival"}, {"content_hash": "ea039a535e40a99a39f5acd18832de1395f08635bec26a4da6727ed1ba91df0a", "fetched_at": "2026-08-29T12:13:12.939194+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyrival/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:56:47.982716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fce43d992b205d2e816591132712fa650793c7c5e0c11b0a15ef31833089683f", "fetched_at": "2026-09-03T02:15:09.964536+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cheran-senthil/PyRival"}, {"content_hash": "ea039a535e40a99a39f5acd18832de1395f08635bec26a4da6727ed1ba91df0a", "fetched_at": "2026-08-29T12:13:12.939194+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyrival/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:09.964536+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.964536+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.964536+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:56:47.982716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fce43d992b205d2e816591132712fa650793c7c5e0c11b0a15ef31833089683f", "fetched_at": "2026-09-03T02:15:09.964536+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cheran-senthil/PyRival"}, {"content_hash": "ea039a535e40a99a39f5acd18832de1395f08635bec26a4da6727ed1ba91df0a", "fetched_at": "2026-08-29T12:13:12.939194+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyrival/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.964536+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.964536+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:56:47.982716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fce43d992b205d2e816591132712fa650793c7c5e0c11b0a15ef31833089683f", "fetched_at": "2026-09-03T02:15:09.964536+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cheran-senthil/PyRival"}, {"content_hash": "ea039a535e40a99a39f5acd18832de1395f08635bec26a4da6727ed1ba91df0a", "fetched_at": "2026-08-29T12:13:12.939194+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyrival/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.964536+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.964536+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.964536+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:56:47.982716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fce43d992b205d2e816591132712fa650793c7c5e0c11b0a15ef31833089683f", "fetched_at": "2026-09-03T02:15:09.964536+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cheran-senthil/PyRival"}, {"content_hash": "ea039a535e40a99a39f5acd18832de1395f08635bec26a4da6727ed1ba91df0a", "fetched_at": "2026-08-29T12:13:12.939194+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyrival/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.964536+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-09-03T02:15:09.964536+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:56:47.982716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fce43d992b205d2e816591132712fa650793c7c5e0c11b0a15ef31833089683f", "fetched_at": "2026-09-03T02:15:09.964536+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cheran-senthil/PyRival"}, {"content_hash": "ea039a535e40a99a39f5acd18832de1395f08635bec26a4da6727ed1ba91df0a", "fetched_at": "2026-08-29T12:13:12.939194+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyrival/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:56:47.982716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fce43d992b205d2e816591132712fa650793c7c5e0c11b0a15ef31833089683f", "fetched_at": "2026-09-03T02:15:09.964536+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cheran-senthil/PyRival"}, {"content_hash": "ea039a535e40a99a39f5acd18832de1395f08635bec26a4da6727ed1ba91df0a", "fetched_at": "2026-08-29T12:13:12.939194+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyrival/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:56:47.982716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fce43d992b205d2e816591132712fa650793c7c5e0c11b0a15ef31833089683f", "fetched_at": "2026-09-03T02:15:09.964536+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cheran-senthil/PyRival"}, {"content_hash": "ea039a535e40a99a39f5acd18832de1395f08635bec26a4da6727ed1ba91df0a", "fetched_at": "2026-08-29T12:13:12.939194+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyrival/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:56:47.982716+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fce43d992b205d2e816591132712fa650793c7c5e0c11b0a15ef31833089683f", "fetched_at": "2026-09-03T02:15:09.964536+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cheran-senthil/PyRival"}, {"content_hash": "ea039a535e40a99a39f5acd18832de1395f08635bec26a4da6727ed1ba91df0a", "fetched_at": "2026-08-29T12:13:12.939194+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyrival/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 100, "longevity": 100, "rhythm": 8}, "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": 2918, "days_push": 0, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 68, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 3, "stale_scrape": false}}