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

↑ regex↑ nltk↑ humanfriendly↑ prettytable↑ weasyprint
#1charset-normalizerv3.5.2
84

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

775.6M/moMIT★ 810
#2Jinja2v3.1.6
83

A very fast and expressive template engine.

365.8M/moBSD License★ 11.8K
#3Jinja2v3.1.6
83

A very fast and expressive template engine.

365.8M/moBSD License★ 11.8K
#4lxmlv6.1.3
91

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

227.0M/moBSD-3-Clause★ 3.1K
#5regexv2026.11.18↑
87

Alternative regular expression module, to replace re.

197.3M/moApache-2.0 AND CNRI-Python★ 610
#6tinycss2v1.5.1
87

A tiny CSS parser

61.4M/moBSD License★ 194
#7nltkv3.10.4↑
95

Natural Language Toolkit

24.4M/moApache License, Version 2.0★ 14.8K
#8humanfriendlyv10.0↑
93

Human friendly output for text interfaces using Python

← All categoriesSearch text processing & nlp packages →
25.7M/moMIT
#9prettytablev3.19.0↑
93

A simple Python library for easily displaying tabular data in a visually appealing ASCII table format

24.2M/moBSD-3-Clause★ 1.8K
#10weasyprintv70.0↑
90

The Awesome Document Factory

22.7M/moBSD License★ 9.8K
#11tree-sitterv0.26.1
87

Python bindings to the Tree-sitter parsing library

25.5M/moMIT License★ 1.5K

19 more packages

Sign in for free to see the full list

Sign in free