Package is missing py.typed file required for type checking (original) (raw)

Description of the bug

While the package itself has type annotations for most places, type checkers like mypy ignore these as the package does not include the py.typed marker file. More information can be found in the respective PEP 561

How to reproduce the bug

Run mypy somefileimportingpymupdf.py

Output:

main.py:7: error: Skipping analyzing "pymupdf": module is installed, but missing library stubs or py.typed marker [import-untyped]

PyMuPDF version

1.26.7

Operating system

Linux

Python version

3.14