Comparison
pypinyin vs xpinyin
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
汉字拼音转换模块/工具.
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
- pypinyin is the most used: 3.2M downloads a month, 34× more than xpinyin.
- Maintenance is comparable: pypinyin 30, xpinyin 26 on Pythie’s Index.
- pypinyin is growing fastest: downloads +39% over the last month.
Side by side
| Metric | pypinyin | xpinyin |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 30 | Pythie’s Index: 26 |
| Verdict | Low maintenance activity | Low maintenance activity |
| Downloads / month | 3.2M | 95.7K |
| Downloads, month over month | +39% | +9% |
| GitHub stars | 5.4K | 832 |
| Stars, last 7 days | – | – |
| Direct dependents | 277 | 26 |
| Last release | Jul 20, 2025 | Jun 2, 2025 |
| Releases, 12 months | 0 | 0 |
| Weeks with commits | 3 / 26 | 0 / 26 |
| Recent contributors | 11 | 13 |
| First release | Sep 2013 | Oct 2011 |
| Python versions | 3.4 – 3.13 | 3.0 – 3.13 |
| License | MIT | MIT |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.