Comparison
fast-langdetect vs langid vs py3langid 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-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 langidFork 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
- langid 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 | langid | py3langid | pycld2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | 14 |