Skip to content

Add stubs for textblob - #16935

Open
Tsfuture2 wants to merge 2 commits into
python:mainfrom
Tsfuture2:add-textblob-stubs
Open

Tsfuture2 wants to merge 2 commits into
python:mainfrom
Tsfuture2:add-textblob-stubs

Conversation

@Tsfuture2

Copy link
Copy Markdown

Add initial (partial) type stubs for textblob 0.20, a library for processing textual data (sentiment analysis, part-of-speech tagging, noun phrase extraction).

This covers the core public modules:

  • textblob.blob: TextBlob, BaseBlob, Sentence, Word, WordList, and Blobber
  • textblob.base: the abstract base classes for taggers, tokenizers, parsers, sentiment analyzers, and noun phrase extractors
  • textblob.exceptions

Remaining modules are listed in the stubtest allowlist for now. Upstream does not ship a py.typed marker. The stubs are based on the 0.20.1 release.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant