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

Trending this week

↑ charset-normalizer↑ Jinja2↑ Jinja2↑ MarkupSafe↑ MarkupSafe
#1charset-normalizerv3.5.0↑
87

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

1.1B/moMIT★ 789
#2Jinja2v3.1.6↑
87

A very fast and expressive template engine.

460.4M/moBSD License★ 11.7K
#3Jinja2v3.1.6↑
87

A very fast and expressive template engine.

460.4M/moBSD License★ 11.7K
#4MarkupSafev3.0.3↑
83

Safely add untrusted strings to HTML/XML markup.

512.6M/moBSD-3-Clause★ 694
#5MarkupSafev3.0.3↑
83

Safely add untrusted strings to HTML/XML markup.

512.6M/moBSD-3-Clause★ 691
#6pyparsingv3.3.2↑
90

pyparsing - Classes and methods to define and execute parsing grammars

265.5M/moMIT★ 2.5K
#7regexv2026.7.19↑
87

Alternative regular expression module, to replace re.

287.3M/moApache-2.0 AND CNRI-Python★ 594
#8beautifulsoup4v4.15.0
85
← All categoriesSearch text processing & nlp packages →

Screen-scraping library

275.4M/moMIT License
#9lxmlv6.1.1↑
85

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

247.8M/moBSD-3-Clause★ 3.0K
#10chardetv7.6.0
93

Universal character encoding detector

139.5M/mo0BSD★ 2.7K
#11docutilsv0.23↑
85

Docutils -- Python Documentation Utilities

134.8M/moBSD License

19 more packages

Sign in for free to see the full list

Sign in free