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↓
84

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

971.3M/moMIT★ 770
#2lxmlv6.0.2↓
94

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

240.6M/moBSD-3-Clause★ 3.0K
#3Jinja2v3.1.6↓
80

A very fast and expressive template engine.

400.1M/mo★ 11.6K
#4Jinja2v3.1.6↓
80

A very fast and expressive template engine.

400.1M/mo★ 11.6K
#5beautifulsoup4v4.14.3↓
90

Screen-scraping library

248.8M/moMIT License
#6MarkupSafev3.0.3↓
75

Safely add untrusted strings to HTML/XML markup.

441.2M/mo★ 689
#7MarkupSafev3.0.3↓
75

Safely add untrusted strings to HTML/XML markup.

441.2M/mo★ 689
#8pyparsingv3.3.2↓
78

pyparsing - Classes and methods to define and execute parsing grammars

← All categoriesSearch text processing & nlp packages →
251.6M/mo★ 2.5K
#9regexv2026.2.28↓
79

Alternative regular expression module, to replace re.

229.3M/mo★ 586
#10docutilsv0.22.4↓
81

Docutils -- Python Documentation Utilities

188.0M/mo
#11chardetv7.0.0↓
73

Universal character encoding detector

128.2M/mo★ 2.6K

19 more packages

Sign in for free to see the full list

Sign in free