{"adoption": {"forks": 627, "observed_at": "2026-08-28T04:09:15.981474+00:00", "stars": 5356}, "canonical_url": "https://ross.abutalabs.com/products/pypinyin", "card": {"archived": false, "artifact_type": "library", "description": "汉字转拼音(pypinyin)", "domain": ["developer-tools"], "enriched": true, "function": ["nlp", "cli", "parser"], "health_score": 90, "homepage": "https://pypinyin.readthedocs.io", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["mozillazg/python-pinyin", "mozillazg/go-pinyin", "mozillazg/pinyin-data"], "name": "pypinyin", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-07-20T16:22:54+00:00", "repo": "mozillazg/python-pinyin", "stars": 5356, "tags": ["pinyin", "chinese", "hanzi", "text-processing", "transliteration", "natural-language-processing", "localization"], "topics": ["python", "pinyin", "pypinyin", "hanzi", "hanzi-pinyin", "python2", "python3", "chinese"], "urls": [], "use_cases": ["convert chinese characters to pinyin", "get pinyin annotations for hanzi text", "sort chinese strings alphabetically by pinyin", "build chinese text search with pinyin matching", "handle polyphonic characters correctly", "convert pinyin with tone numbers to tone marks", "get first letters of chinese words for indexing"], "what_it_is": "pypinyin is a Python library (with a companion CLI) that converts Chinese characters (hanzi) to pinyin, supporting polyphonic characters, multiple pinyin styles, bopomofo, and Wade-Giles romanization. It also has related Go and data projects under the same author.", "when_to_avoid": ["you need Chinese word segmentation or full NLP pipelines rather than pinyin conversion", "you need machine translation or speech synthesis", "you work in a language ecosystem without a pypinyin port"], "when_to_choose": ["you need accurate hanzi-to-pinyin conversion in Python or Go", "you need polyphone/heteronym support or custom pinyin dictionaries", "you need multiple romanization styles including bopomofo and Wade-Giles"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/repos/mozillazg/python-pinyin", "repo": "mozillazg/python-pinyin", "role": "main", "score": 67}, {"path": "/repos/mozillazg/go-pinyin", "repo": "mozillazg/go-pinyin", "role": "sdk", "score": 55}, {"path": "/repos/mozillazg/pinyin-data", "repo": "mozillazg/pinyin-data", "role": "infra", "score": 54}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.981474+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:58:46.855270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83db2e412f6bc5da59955546ddb3d96813dec226bb1e53d5d61cf08bef92dfcc", "fetched_at": "2026-08-28T04:09:15.981474+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozillazg/python-pinyin"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.981474+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:58:46.855270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83db2e412f6bc5da59955546ddb3d96813dec226bb1e53d5d61cf08bef92dfcc", "fetched_at": "2026-08-28T04:09:15.981474+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozillazg/python-pinyin"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:58:46.855270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83db2e412f6bc5da59955546ddb3d96813dec226bb1e53d5d61cf08bef92dfcc", "fetched_at": "2026-08-28T04:09:15.981474+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozillazg/python-pinyin"}], "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:09:15.981474+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.981474+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.981474+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:58:46.855270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83db2e412f6bc5da59955546ddb3d96813dec226bb1e53d5d61cf08bef92dfcc", "fetched_at": "2026-08-28T04:09:15.981474+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozillazg/python-pinyin"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.981474+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.981474+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:58:46.855270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83db2e412f6bc5da59955546ddb3d96813dec226bb1e53d5d61cf08bef92dfcc", "fetched_at": "2026-08-28T04:09:15.981474+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozillazg/python-pinyin"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.981474+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.981474+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.981474+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:58:46.855270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83db2e412f6bc5da59955546ddb3d96813dec226bb1e53d5d61cf08bef92dfcc", "fetched_at": "2026-08-28T04:09:15.981474+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozillazg/python-pinyin"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.981474+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:15.981474+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:58:46.855270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83db2e412f6bc5da59955546ddb3d96813dec226bb1e53d5d61cf08bef92dfcc", "fetched_at": "2026-08-28T04:09:15.981474+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozillazg/python-pinyin"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:58:46.855270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83db2e412f6bc5da59955546ddb3d96813dec226bb1e53d5d61cf08bef92dfcc", "fetched_at": "2026-08-28T04:09:15.981474+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozillazg/python-pinyin"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:58:46.855270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83db2e412f6bc5da59955546ddb3d96813dec226bb1e53d5d61cf08bef92dfcc", "fetched_at": "2026-08-28T04:09:15.981474+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozillazg/python-pinyin"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:58:46.855270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "83db2e412f6bc5da59955546ddb3d96813dec226bb1e53d5d61cf08bef92dfcc", "fetched_at": "2026-08-28T04:09:15.981474+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozillazg/python-pinyin"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 93, "longevity": 100, "rhythm": 16}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4736, "days_push": 44, "days_rel": 409, "gap_med": 153.5, "n_releases_24m": 3}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}