Comparison
pinyin vs pypinyin vs xpinyin
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Translate chinese chars to pinyin based on Mandarin.dat
Likely abandoned. No release or commit for years (last release over 10 years ago).
$
pip install pinyin汉字拼音转换模块/工具.
Low maintenance activity. Last release 16 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install pypinyinTranslate Chinese hanzi to pinyin (拼音) by Python, 汉字转拼音
Low maintenance activity. Last release 18 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install xpinyinIn short
- pinyin looks abandoned: avoid it for new projects.
- pypinyin is the most used: 3.3M downloads a month, 34× more than xpinyin.
- Maintenance is comparable: pypinyin 30, xpinyin 26 on Pythie’s Index.
- pypinyin is growing fastest: downloads +37% over the last month.