$npx skillfedfor your agent

textblob

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

With conditionsPyPI LinguisticReleased Jul 20267.6M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — textblob-0.20.1-py3-none-any.whl
v0.20.1 · released 2026-07-18 · Python >=3.10 · 1 runtime deps: nltk

Yes, if you need straightforward NLP tasks without deep learning complexity. TextBlob is well-maintained, has no security vulnerabilities, and offers a gentle entry point to text processing. Install it for sentiment analysis, phrase extraction, or basic classification. Skip it if you require state-of-the-art accuracy or modern transformer-based models.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • The download_corpora step must be run once to fetch required linguistic data before sentiment analysis and other NLP features work.
  • Low install friction with a single runtime dependency on nltk.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects without licensing concerns.

last release 2026-07-18 (27 days) · last repo commit 2026-08-11 · 9,546 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,600,176 downloads/mo, #1,717 on PyPI

Verify before relying

pip install textblob
python -m textblob.download_corpora

from textblob import TextBlob
blob = TextBlob('The movie was great!')
print(blob.sentiment.polarity)
  • Performance characteristics on large text volumes or real-time processing scenarios
  • Accuracy of sentiment analysis and classification compared to modern transformer-based alternatives
Same gist for agents: .md · .json

What it is and what it does

TextBlob is a Python library that wraps NLTK and pattern to provide a simplified interface for common natural language processing tasks. It lets you work with text through an intuitive API, extracting linguistic features like parts of speech, noun phrases, and sentiment polarity from strings without deep NLP expertise.

The library handles tokenization, tagging, phrase extraction, and sentiment scoring out of the box. It also supports text classification, spelling correction, word inflection, and n-gram analysis. You create a TextBlob object from a string and access properties like .tags, .noun_phrases, and .sentences.sentiment to get results. It requires downloading linguistic corpora once after installation.

Use it for

  • Analyze sentiment polarity of customer reviews or social media posts to gauge positive/negative feedback
  • Extract key noun phrases from documents for topic identification or keyword extraction
  • Tag parts of speech in text for grammatical analysis or downstream NLP pipelines
  • Classify text documents using built-in Naive Bayes or Decision Tree classifiers
  • Correct spelling errors and normalize text before further processing

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need straightforward NLP tasks without deep learning complexity.

TextBlob is well-maintained, has no security vulnerabilities, and offers a gentle entry point to text processing. Install it for sentiment analysis, phrase extraction, or basic classification. Skip it if you require state-of-the-art accuracy or modern transformer-based models.

Install

textblob on PyPI

Before you install

Low install friction with a single runtime dependency on nltk. The project is actively maintained with a recent release (27 days old) and a substantial repository history since 2013, indicating stable long-term support.

Requires Python 3.10 or later. The download_corpora step must be run once to fetch required linguistic data before sentiment analysis and other NLP features work.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects without licensing concerns.

Quickstart

pip install textblob
python -m textblob.download_corpora

from textblob import TextBlob
blob = TextBlob('The movie was great!')
print(blob.sentiment.polarity)

Verify before relying

  • Performance characteristics on large text volumes or real-time processing scenarios
  • Accuracy of sentiment analysis and classification compared to modern transformer-based alternatives

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
nltk
MaintenanceActively maintained 27 days since the last release
Last repo commit
First released
Downloads7,600,176 / month, #1,717 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Text Processing :: Linguistic

Evidence: textblob-0.20.1-py3-none-any.whl

Tags

Capabilities
sentiment analysis pythonnlp text processingpart-of-speech taggingnoun phrase extractiontext classificationtokenization librarysimple nlp api
Topics
nlpsentiment-analysistext-processing
PyPI keywords
textblobnlplinguisticsnltkpattern

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “nlp text processing”

  • textblobTextBlob provides a simple API for common natural language processing…
  • nltkNLTK is a Python library for natural language processing tasks…
  • spacyspaCy is an industrial-strength NLP library providing tokenization,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Linguistic packages

charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
tiktoken Worth it
PyPI · Linguistic · released May 2026

tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.

Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.

permissive licensecompiled wheel · 3.9+
233.0Mdownloads / mo
chardet Worth it
PyPI · Python Modules · released Aug 2026

Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.

Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.

0BSDpure Python · 3.10+
199.0Mdownloads / mo
text-unidecode With conditions
PyPI · Python Modules · released Aug 2019

Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.

However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.

GPL-2.0-or-laterpure Pythonabandoned
89.0Mdownloads / mo
lark Worth it
PyPI · Python Modules · released Oct 2025

Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.

MITpure Python · 3.8+
79.7Mdownloads / mo
tree-sitter Worth it
PyPI · Linguistic · released Jun 2026

Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.

MITcompiled wheel · 3.10+
79.0Mdownloads / mo

See also nltk · soynlp · polyglot · pyvi · spark-nlp · pythainlp · azure-ai-textanalytics · flair · vaderSentiment · textacy