Comparison
fasttext-predict vs lingua-language-detector vs py3langid vs pycld2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
fasttext with wheels and no external dependency, but only the predict method (<1MB)
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install fasttext-predictAn accurate natural language detection library, suitable for short text and mixed-language text
Low maintenance activity. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install lingua-language-detectorFork 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 py3langidPython bindings around Google Chromium's embedded compact language detection library (CLD2)
Low maintenance activity. Last release 20 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pycld2In short
- fasttext-predict is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- lingua-language-detector is the most used: 4.9M downloads a month, 2.0× more than fasttext-predict.
- py3langid is better maintained: Pythie’s Index 57 against 26.
- py3langid is growing fastest: downloads +65% over the last month.
Side by side
| Metric | fasttext-predict | lingua-language-detector | py3langid | pycld2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 26 |