{"adoption": {"forks": 60, "observed_at": "2026-08-28T04:04:44.698791+00:00", "stars": 1442}, "canonical_url": "https://ross.abutalabs.com/products/pyannotate", "card": {"archived": false, "artifact_type": "library", "description": "Auto-generate PEP-484 annotations", "domain": ["developer-tools", "programming-languages", "testing"], "enriched": true, "function": ["type-system", "developer-tools", "cli"], "health_score": 75, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["dropbox/pyannotate"], "name": "dropbox/pyannotate", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-07-06T01:32:52+00:00", "repo": "dropbox/pyannotate", "stars": 1442, "tags": ["type-annotations", "pep-484", "mypy", "runtime-type-collection", "code-annotation"], "topics": [], "urls": [], "use_cases": ["add type hints to an untyped Python codebase automatically", "generate PEP-484 annotations from runtime call data", "prepare a legacy project for mypy checking", "collect observed argument and return types during pytest runs", "insert type comments into Python 2 code"], "what_it_is": "PyAnnotate auto-generates PEP-484 type annotations for Python code by collecting argument and return types observed at runtime, then inserting them into source files. It consists of a runtime collection module and a CLI tool that applies the inferred annotations as inline Python 3 annotations or Python 2 style type comments.", "when_to_avoid": ["you want fully accurate static type inference without running code", "your code paths are not exercised by tests, so few types are observed", "you need annotations maintained continuously rather than generated once"], "when_to_choose": ["you want to bootstrap type annotations for a large untyped Python project", "you already run tests and can observe real call types at runtime", "you plan to adopt mypy and want a starting point for annotations"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pyannotate", "repo": "dropbox/pyannotate", "role": "main", "score": 73}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.698791+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:36:23.977148+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c5850b578e6bbd77f83411054f612a94b84ee858c3d7d6c1a0bac6b5a4de6d05", "fetched_at": "2026-08-28T04:04:44.698791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dropbox/pyannotate"}, {"content_hash": "31ef565b886880cfc09c8cbe482bfae003d4f3be220b688b076b79a826711c6c", "fetched_at": "2026-08-29T11:46:30.095111+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyannotate/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.698791+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:36:23.977148+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c5850b578e6bbd77f83411054f612a94b84ee858c3d7d6c1a0bac6b5a4de6d05", "fetched_at": "2026-08-28T04:04:44.698791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dropbox/pyannotate"}, {"content_hash": "31ef565b886880cfc09c8cbe482bfae003d4f3be220b688b076b79a826711c6c", "fetched_at": "2026-08-29T11:46:30.095111+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyannotate/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:36:23.977148+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c5850b578e6bbd77f83411054f612a94b84ee858c3d7d6c1a0bac6b5a4de6d05", "fetched_at": "2026-08-28T04:04:44.698791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dropbox/pyannotate"}, {"content_hash": "31ef565b886880cfc09c8cbe482bfae003d4f3be220b688b076b79a826711c6c", "fetched_at": "2026-08-29T11:46:30.095111+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyannotate/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:04:44.698791+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.698791+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.698791+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:36:23.977148+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c5850b578e6bbd77f83411054f612a94b84ee858c3d7d6c1a0bac6b5a4de6d05", "fetched_at": "2026-08-28T04:04:44.698791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dropbox/pyannotate"}, {"content_hash": "31ef565b886880cfc09c8cbe482bfae003d4f3be220b688b076b79a826711c6c", "fetched_at": "2026-08-29T11:46:30.095111+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyannotate/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.698791+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.698791+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:36:23.977148+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c5850b578e6bbd77f83411054f612a94b84ee858c3d7d6c1a0bac6b5a4de6d05", "fetched_at": "2026-08-28T04:04:44.698791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dropbox/pyannotate"}, {"content_hash": "31ef565b886880cfc09c8cbe482bfae003d4f3be220b688b076b79a826711c6c", "fetched_at": "2026-08-29T11:46:30.095111+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyannotate/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.698791+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.698791+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.698791+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:36:23.977148+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c5850b578e6bbd77f83411054f612a94b84ee858c3d7d6c1a0bac6b5a4de6d05", "fetched_at": "2026-08-28T04:04:44.698791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dropbox/pyannotate"}, {"content_hash": "31ef565b886880cfc09c8cbe482bfae003d4f3be220b688b076b79a826711c6c", "fetched_at": "2026-08-29T11:46:30.095111+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyannotate/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.698791+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.698791+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:36:23.977148+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c5850b578e6bbd77f83411054f612a94b84ee858c3d7d6c1a0bac6b5a4de6d05", "fetched_at": "2026-08-28T04:04:44.698791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dropbox/pyannotate"}, {"content_hash": "31ef565b886880cfc09c8cbe482bfae003d4f3be220b688b076b79a826711c6c", "fetched_at": "2026-08-29T11:46:30.095111+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyannotate/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:36:23.977148+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c5850b578e6bbd77f83411054f612a94b84ee858c3d7d6c1a0bac6b5a4de6d05", "fetched_at": "2026-08-28T04:04:44.698791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dropbox/pyannotate"}, {"content_hash": "31ef565b886880cfc09c8cbe482bfae003d4f3be220b688b076b79a826711c6c", "fetched_at": "2026-08-29T11:46:30.095111+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyannotate/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:36:23.977148+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c5850b578e6bbd77f83411054f612a94b84ee858c3d7d6c1a0bac6b5a4de6d05", "fetched_at": "2026-08-28T04:04:44.698791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dropbox/pyannotate"}, {"content_hash": "31ef565b886880cfc09c8cbe482bfae003d4f3be220b688b076b79a826711c6c", "fetched_at": "2026-08-29T11:46:30.095111+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyannotate/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:36:23.977148+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c5850b578e6bbd77f83411054f612a94b84ee858c3d7d6c1a0bac6b5a4de6d05", "fetched_at": "2026-08-28T04:04:44.698791+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dropbox/pyannotate"}, {"content_hash": "31ef565b886880cfc09c8cbe482bfae003d4f3be220b688b076b79a826711c6c", "fetched_at": "2026-08-29T11:46:30.095111+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pyannotate/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "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": 3215, "days_push": 59, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 73, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}