rapidfuzz / Levenshtein

The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity
https://rapidfuzz.github.io/Levenshtein
GNU General Public License v2.0
276 stars 16 forks source link

Typing stubs are not distributed with the package #42

Closed slavfox closed 2 years ago

slavfox commented 2 years ago

Installing the package (0.20.6) with pip only installs the .py files and the shared library. The py.typed marker and the .pyi do not get installed, and are therefore of no use to type checkers.

Output of check_typedpkg listed in PEP-0561:

$ python -m typed_check Levenshtein
Package Levenshtein does not support typing.
maxbachmann commented 2 years ago

Thanks for reporting. This is fixed in v0.20.7.