PyPI StatsPyPI Stats
DiscoverCompareTrendingDashboard
PyPI Stats — Download analytics for Python packages
APIGitHubPrivacyTerms

Sign in to subscribe to our weekly trending newsletter.

Download data sourced from BigQuery (Google). Counts may include CI/CD and mirror traffic.
Inspired by and built upon the work of pypistats.org
Discover/Text Processing & NLP
📝

Best Python Text Processing & NLP Libraries

Libraries for parsing text, natural language processing, and linguistic analysis.

24 packages · ranked by health score & downloads

#1charset-normalizerv3.4.4↓
79

The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.

825.1M/moMIT★ 771
#2Jinja2v3.1.6↓
80

A very fast and expressive template engine.

345.2M/mo★ 11.6K
#3Jinja2v3.1.6↓
80

A very fast and expressive template engine.

345.2M/mo★ 11.7K
#4MarkupSafev3.0.3↓
75

Safely add untrusted strings to HTML/XML markup.

383.3M/mo★ 691
#5MarkupSafev3.0.3↓
75

Safely add untrusted strings to HTML/XML markup.

383.3M/mo★ 689
#6pyparsingv3.3.2↓
83

pyparsing - Classes and methods to define and execute parsing grammars

209.8M/mo★ 2.5K
#7beautifulsoup4v4.14.3↓
81

Screen-scraping library

209.1M/moMIT License
#8regexv2026.2.28↓
79

Alternative regular expression module, to replace re.

← All categoriesSearch text processing & nlp packages →
197.9M/mo★ 588
#9lxmlv6.0.2↓
77

Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.

210.0M/moBSD-3-Clause★ 3.0K
#10chardetv7.0.0↓
88

Universal character encoding detector

101.1M/mo0BSD★ 2.6K
#11docutilsv0.22.4↓
70

Docutils -- Python Documentation Utilities

137.9M/moBSD License

19 more packages

Sign in for free to see the full list

Sign in free