Comparison
langdetect vs py3langid
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Language detection library ported from Google's language-detection.
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install langdetectFork of the language identification tool langid.py, featuring a modernized codebase and faster execution times.
Maintained. Last release 3 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install py3langidIn short
- langdetect looks abandoned: avoid it for new projects.
- py3langid is the most used: 1.4M downloads a month.
- py3langid also has the best Pythie’s Index (61).
- py3langid is growing fastest: downloads +65% over the last month.
- Safe default for a new project: py3langid.
Side by side
| Metric | langdetect | py3langid |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 13 | 61 |