Comparison
fast-langdetect vs fasttext-predict vs langdetect vs py3langid
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-langdetectfasttext 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-predictLanguage 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
- fasttext-predict is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- langdetect looks abandoned: avoid it for new projects.
- py3langid is the most used: 1.4M downloads a month.
- fast-langdetect is better maintained: Pythie’s Index 77 against 61.
- py3langid is growing fastest: downloads +65% over the last month.
- Safe default for a new project: py3langid, or fast-langdetect if active maintenance matters most.
Side by side
| Metric | fast-langdetect | fasttext-predict | langdetect | py3langid |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | Pythie’s Index: 27 | Pythie’s Index: 13 | Pythie’s Index: 61 |
| Verdict | Actively maintained | Slowing down | Likely abandoned | Maintained |
| Downloads / month | 1.3M | 2.4M | 12.4M | 1.4M |
| Downloads, month over month | +9% | +44% | +6% | +65% |
| GitHub stars | – | 20 | 1.9K | 69 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 20 | 8 | 584 | 24 |
| Last release | Nov 13, 2026 | Nov 23, 2024 | May 7, 2021 | Sep 2, 2026 |
| Releases, 12 months | 3 | 0 | 0 | 1 |
| Weeks with commits | – | – | 0 / 26 | 5 / 26 |
| Recent contributors | – | – | 11 | 8 |
| First release | Jan 2024 | Dec 2022 | May 2014 | Nov 2021 |
| Python versions | 3.9 – 3.14 | 3.9 – 3.13 | 3.4 – 3.8 | 3.10 – 3.14 |
| License | MIT | MIT | MIT | 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.