Comparison
fast-langdetect vs fasttext-langdetect vs langdetect vs lingua-language-detector
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Quickly detect text language and segment language
Actively maintained. Last release 3 weeks ago. A safe choice.
pip install fast-langdetect80x faster and 95% accurate language identification with fastText
Maintained. Last release 5 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install fasttext-langdetectLanguage detection library ported from Google's language-detection.
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install langdetectAn 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-detectorIn short
- langdetect looks abandoned: avoid it for new projects.
- lingua-language-detector is the most used: 5M downloads a month.
- fast-langdetect is better maintained: Pythie’s Index 77 against 26.
- lingua-language-detector is growing fastest: downloads +16% over the last month.
Side by side
| Metric | fast-langdetect | fasttext-langdetect | langdetect | lingua-language-detector |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | Pythie’s Index: 50 | Pythie’s Index: 13 | Pythie’s Index: 26 |
| Verdict | Actively maintained | Maintained | Likely abandoned | Low maintenance activity |
| Downloads / month | 1.3M | 102.3K | 12.7M | 5M |
| Downloads, month over month | +12% | -46% | +9% | +16% |
| GitHub stars | – | 177 | 1.9K | 1.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 20 | 5 | 584 | 64 |
| Last release | Nov 13, 2026 | Oct 27, 2026 | May 7, 2021 | Mar 9, 2026 |
| Releases, 12 months | 3 | 3 | 0 | 1 |
| Weeks with commits | – | 1 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | – | 2 | 11 | 6 |
| First release | Jan 2024 | Jun 2021 | May 2014 | Jan 2022 |
| Python versions | 3.9 – 3.14 | 3.9 – 3.14 | 3.4 – 3.8 | 3.12 – 3.14 |
| License | MIT | MIT | MIT | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.