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.5.2↓
83

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

597.2M/moMIT★ 800
#2Jinja2v3.1.6↓
82

A very fast and expressive template engine.

267.5M/moBSD License★ 11.8K
#3Jinja2v3.1.6↓
82

A very fast and expressive template engine.

267.5M/moBSD License★ 11.8K
#4lxmlv6.1.3↓
93

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

158.6M/moBSD-3-Clause★ 3.1K
#5MarkupSafev3.0.4↓
77

Safely add untrusted strings to HTML/XML markup.

305.7M/moBSD-3-Clause★ 696
#6MarkupSafev3.0.4↓
77

Safely add untrusted strings to HTML/XML markup.

305.7M/moBSD-3-Clause★ 696
#7pyparsingv3.3.3↓
85

pyparsing - Classes and methods to define and execute parsing grammars

158.5M/moMIT★ 2.5K
#8beautifulsoup4v4.15.0↓
85
← All categoriesSearch text processing & nlp packages →

Screen-scraping library

150.3M/moMIT License
#9regexv2026.9.29↓
82

Alternative regular expression module, to replace re.

154.3M/moApache-2.0 AND CNRI-Python★ 605
#10docutilsv0.23↓
84

Docutils -- Python Documentation Utilities

69.6M/moBSD License
#11Markdownv3.11↓
88

Python implementation of John Gruber's Markdown.

45.4M/moBSD-3-Clause★ 4.3K

19 more packages

Sign in for free to see the full list

Sign in free