Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

NLP Python Packages

Python packages with the GitHub topic nlp. Sorted by monthly downloads, with stars and forks.
huggingface
tokenizers

💥 Fast State-of-the-Art Tokenizers optimized for Research and Production

224.6M 11K 1K
huggingface
transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

120.6M 169K 35K
huggingface
datasets

🤗 The largest hub of ready-to-use datasets for AI models with fast, easy-to-use and efficient data manipulation tools

64.9M 22K 4K
nltk
nltk

NLTK Source

48.5M 15K 3K
explosion
spacy

💫 Industrial-strength Natural Language Processing (NLP) in Python

25M 34K 5K
explosion
thinc

🔮 A refreshing functional take on deep learning, compatible with your favorite libraries

24.6M 3K 297
explosion
spacy-loggers

📟 Logging utilities for spaCy

23M 13 17
adbar
htmldate

Fast and robust date extraction from web pages, with Python or on the command-line

17.7M 162 43
adbar
trafilatura

Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML

17.2M 7K 523
akshaynagpal
word2number

Convert number words (eg. twenty one) to numeric digits (21)

7.9M 179 77
data-privacy-stack
presidio-analyzer

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

6.6M 12K 1K
datamade
usaddress

:us: a python library for parsing unstructured United States address strings into address components

5.2M 2K 310
isaacus-dev
semchunk

A fast, lightweight and easy-to-use Python library for splitting text into semantically meaningful chunks.

5.2M 670 51
pemistahl
lingua-language-detector

The most accurate natural language detection library for Python, suitable for short text and mixed-language text

4.9M 2K 63
masci
banks

LLM prompt language based on Jinja. Banks provides tools and functions to build prompts text and chat messages from generic blueprints. It allows attaching metadata to prompts to ease their management, and versioning is first-class citizen. Banks provides ways to store prompts on disk along with their metadata.

4.8M 130 23
modelscope
modelscope

ModelScope: bring the notion of Model-as-a-Service to life.

4.1M 9K 983
data-privacy-stack
presidio-anonymizer

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

3.7M 12K 1K
derek73
nameparser

Parse human names into title, given, middle, family, suffix, nickname and maiden name. Typed, zero-dependency, CJK-aware.

3.5M 721 121
sloria
textblob

Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.

3M 10K 1K
RaRe-Technologies
gensim

Topic Modelling for Humans

2.7M 17K 4K
Unstructured-IO
unstructured

Convert documents to structured data effortlessly. Unstructured is open-source ETL solution for transforming complex documents into clean, structured formats for language models. Visit our website to learn more about our enterprise grade Platform product for production grade workflows, partitioning, enrichments, chunking and embedding.

2.6M 16K 1K
vi3k6i5
flashtext

Extract Keywords from sentence or Replace keywords in sentences.

2.5M 6K 595
akoumjian
datefinder

Find dates inside text using Python and get back datetime objects

1.6M 662 170
MinishLab
model2vec

Fast State-of-the-Art Static Embeddings

1.5M 2K 130
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology