Comparison
fast-langdetect vs langdetect vs lingua-language-detector vs pycld2
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-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-detectorPython 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
- 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 | langdetect | lingua-language-detector | pycld2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | Pythie’s Index: 13 | Pythie’s Index: 26 | Pythie’s Index: 29 |
| Verdict | Actively maintained | Likely abandoned | Low maintenance activity | Low maintenance activity |
| Downloads / month | 1.3M | 12.7M | 5M | 725.9K |
| Downloads, month over month | +12% | +9% | +16% | -5% |
| GitHub stars | – | 1.9K | 1.8K | 179 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 20 | 584 | 64 | 28 |
| Last release | Nov 13, 2026 | May 7, 2021 | Mar 9, 2026 | Mar 28, 2025 |
| Releases, 12 months | 3 | 0 | 1 | 0 |
| Weeks with commits | – | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | – | 11 | 6 | 7 |
| First release | Jan 2024 | May 2014 | Jan 2022 | Mar 2015 |
| Python versions | 3.9 – 3.14 | 3.4 – 3.8 | 3.12 – 3.14 | 3.8 – 3.12 |
| License | MIT | MIT | non-standard | Apache-2.0 |
| 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.