{"adoption": {"forks": 316, "observed_at": "2026-08-28T04:08:36.582109+00:00", "stars": 4157}, "canonical_url": "https://ross.abutalabs.com/products/kotlinpoet", "card": {"archived": false, "artifact_type": "library", "description": "A Kotlin API for generating .kt source files.", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["developer-tools"], "health_score": 98, "homepage": "https://square.github.io/kotlinpoet/", "language": "Kotlin", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["square/kotlinpoet"], "name": "square/kotlinpoet", "platform": ["jvm"], "pushed_at": "2026-08-26T22:09:41+00:00", "repo": "square/kotlinpoet", "stars": 4157, "tags": ["kotlin", "code-generation", "javapoet-inspired", "annotation-processing", "source-generation"], "topics": ["kotlin", "code-generation", "javapoet"], "urls": [], "use_cases": ["generate kotlin source files programmatically", "write an annotation processor that emits kotlin code", "generate boilerplate from database schemas", "generate kotlin classes from protocol or metadata files", "avoid hand-writing repetitive kotlin code"], "what_it_is": "KotlinPoet is a Kotlin and Java API for generating .kt source files, inspired by JavaPoet. It is commonly used for annotation processing and generating code from metadata such as database schemas or protocol formats.", "when_to_avoid": ["you need to generate Java source code (use JavaPoet instead)", "you need to parse or analyze existing Kotlin code rather than generate it", "your target language is not Kotlin"], "when_to_choose": ["you need to emit valid Kotlin source code from JVM code", "you are building a Kotlin compiler plugin or annotation processor", "you want a fluent, type-safe API instead of string-templated code generation"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/kotlinpoet", "repo": "square/kotlinpoet", "role": "main", "score": 83}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.582109+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.653173+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7cfe45f90766e160c7b059c6bbbea215d6c353196168bdcbfc7a6f4a07337289", "fetched_at": "2026-08-28T04:08:36.582109+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/kotlinpoet"}, {"content_hash": "f794da1422004c6bccf86d80a549c44a939c2dd23733500c27f1c28f0dcca089", "fetched_at": "2026-08-29T09:13:36.495420+00:00", "kind": "homepage", "missing": false, "url": "https://square.github.io/kotlinpoet/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.582109+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.653173+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7cfe45f90766e160c7b059c6bbbea215d6c353196168bdcbfc7a6f4a07337289", "fetched_at": "2026-08-28T04:08:36.582109+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/kotlinpoet"}, {"content_hash": "f794da1422004c6bccf86d80a549c44a939c2dd23733500c27f1c28f0dcca089", "fetched_at": "2026-08-29T09:13:36.495420+00:00", "kind": "homepage", "missing": false, "url": "https://square.github.io/kotlinpoet/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.653173+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7cfe45f90766e160c7b059c6bbbea215d6c353196168bdcbfc7a6f4a07337289", "fetched_at": "2026-08-28T04:08:36.582109+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/kotlinpoet"}, {"content_hash": "f794da1422004c6bccf86d80a549c44a939c2dd23733500c27f1c28f0dcca089", "fetched_at": "2026-08-29T09:13:36.495420+00:00", "kind": "homepage", "missing": false, "url": "https://square.github.io/kotlinpoet/"}], "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:08:36.582109+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.582109+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.582109+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.653173+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7cfe45f90766e160c7b059c6bbbea215d6c353196168bdcbfc7a6f4a07337289", "fetched_at": "2026-08-28T04:08:36.582109+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/kotlinpoet"}, {"content_hash": "f794da1422004c6bccf86d80a549c44a939c2dd23733500c27f1c28f0dcca089", "fetched_at": "2026-08-29T09:13:36.495420+00:00", "kind": "homepage", "missing": false, "url": "https://square.github.io/kotlinpoet/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.582109+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.582109+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.653173+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7cfe45f90766e160c7b059c6bbbea215d6c353196168bdcbfc7a6f4a07337289", "fetched_at": "2026-08-28T04:08:36.582109+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/kotlinpoet"}, {"content_hash": "f794da1422004c6bccf86d80a549c44a939c2dd23733500c27f1c28f0dcca089", "fetched_at": "2026-08-29T09:13:36.495420+00:00", "kind": "homepage", "missing": false, "url": "https://square.github.io/kotlinpoet/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.582109+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.582109+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.582109+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.653173+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7cfe45f90766e160c7b059c6bbbea215d6c353196168bdcbfc7a6f4a07337289", "fetched_at": "2026-08-28T04:08:36.582109+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/kotlinpoet"}, {"content_hash": "f794da1422004c6bccf86d80a549c44a939c2dd23733500c27f1c28f0dcca089", "fetched_at": "2026-08-29T09:13:36.495420+00:00", "kind": "homepage", "missing": false, "url": "https://square.github.io/kotlinpoet/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.582109+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.582109+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.653173+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7cfe45f90766e160c7b059c6bbbea215d6c353196168bdcbfc7a6f4a07337289", "fetched_at": "2026-08-28T04:08:36.582109+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/kotlinpoet"}, {"content_hash": "f794da1422004c6bccf86d80a549c44a939c2dd23733500c27f1c28f0dcca089", "fetched_at": "2026-08-29T09:13:36.495420+00:00", "kind": "homepage", "missing": false, "url": "https://square.github.io/kotlinpoet/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.653173+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7cfe45f90766e160c7b059c6bbbea215d6c353196168bdcbfc7a6f4a07337289", "fetched_at": "2026-08-28T04:08:36.582109+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/kotlinpoet"}, {"content_hash": "f794da1422004c6bccf86d80a549c44a939c2dd23733500c27f1c28f0dcca089", "fetched_at": "2026-08-29T09:13:36.495420+00:00", "kind": "homepage", "missing": false, "url": "https://square.github.io/kotlinpoet/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.653173+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7cfe45f90766e160c7b059c6bbbea215d6c353196168bdcbfc7a6f4a07337289", "fetched_at": "2026-08-28T04:08:36.582109+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/kotlinpoet"}, {"content_hash": "f794da1422004c6bccf86d80a549c44a939c2dd23733500c27f1c28f0dcca089", "fetched_at": "2026-08-29T09:13:36.495420+00:00", "kind": "homepage", "missing": false, "url": "https://square.github.io/kotlinpoet/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.653173+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7cfe45f90766e160c7b059c6bbbea215d6c353196168bdcbfc7a6f4a07337289", "fetched_at": "2026-08-28T04:08:36.582109+00:00", "kind": "readme", "missing": false, "url": "https://github.com/square/kotlinpoet"}, {"content_hash": "f794da1422004c6bccf86d80a549c44a939c2dd23733500c27f1c28f0dcca089", "fetched_at": "2026-08-29T09:13:36.495420+00:00", "kind": "homepage", "missing": false, "url": "https://square.github.io/kotlinpoet/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 53}, "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": 3472, "days_push": 7, "days_rel": 159, "gap_med": 125, "n_releases_24m": 4}, "score": 83, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}