Skip to content

Add stubs for flashtext - #16934

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

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

Conversation

@Tsfuture2

Copy link
Copy Markdown

Add initial type stubs for flashtext 2.7, a library for extracting and replacing keywords in text.

The package is a single module (flashtext/keyword.py) exposing KeywordProcessor. The stubs cover its full public API, including overloads for extract_keywords depending on span_info. Upstream does not ship a py.typed marker.

@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