Comparison
langdetect vs langid vs lingua-language-detector 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 langdetectlangid.py is a standalone Language Identification (LangID) tool.
Likely abandoned. No release or commit for years (last release over 10 years ago).
pip install langidAn 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 py3langidIn short
- langdetect looks abandoned: avoid it for new projects.
- langid looks abandoned: avoid it for new projects.
- lingua-language-detector is the most used: 4.9M downloads a month.
- py3langid is better maintained: Pythie’s Index 61 against 26.
- py3langid is growing fastest: downloads +65% over the last month.
Side by side
| Metric | langdetect | langid | lingua-language-detector | py3langid |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 13 | Pythie’s Index: 14 | Pythie’s Index: 26 | Pythie’s Index: 61 |
| Verdict | Likely abandoned | Likely abandoned | Low maintenance activity | Maintained |
| Downloads / month | 12.4M | 897.8K | 4.9M | 1.4M |
| Downloads, month over month | +6% | +16% | +11% | +65% |
| GitHub stars | 1.9K | 2.5K | 1.8K | 69 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 584 | 118 | 64 | 24 |
| Last release | May 7, 2021 | Apr 5, 2016 | Mar 9, 2026 | Sep 2, 2026 |
| Releases, 12 months | 0 | 0 | 1 | 1 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 5 / 26 |
| Recent contributors | 11 | 6 | 6 | 8 |
| First release | May 2014 | Jul 2012 | Jan 2022 | Nov 2021 |
| Python versions | 3.4 – 3.8 | – | 3.12 – 3.14 | 3.10 – 3.14 |
| License | MIT | non-standard | non-standard | BSD-3-Clause |
| 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.