{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/19"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/9"}],"enrichment":{"capability":"Provides type stubs for PyMuPDF to enable static type checking of PDF document manipulation code without runtime overhead.","skillfed_tags":["type-stubs","pdf-processing","static-typing"],"use_cases":["Enable mypy or other type checkers to validate PDF processing code written with PyMuPDF.","Catch type errors in document manipulation workflows before runtime.","Improve IDE autocomplete and inline documentation for PyMuPDF methods and classes.","Support fitz-based legacy code with modern type-checking tooling.","Validate type safety in PDF extraction and transformation pipelines."],"what_it_does":"pymupdf-stubs is a PEP 561 stub-only package that provides type annotations for PyMuPDF, the Python binding for MuPDF used to read and manipulate PDF documents. It enables static type checkers like mypy to understand PyMuPDF's API surface without adding runtime overhead. The stubs support both the pymupdf and fitz module names (fitz is a compatibility re-export).\n\nInstalling the stubs requires no changes to existing code\u2014you install the package and run your type checker. Some highly dynamic PyMuPDF APIs may still be typed as Any or broad dictionary shapes, and the maintainer welcomes issues for missing or incorrect type annotations. The package targets current PyMuPDF releases and is actively maintained.","worth_installing":"Yes, if you use PyMuPDF and want static type checking. The package is actively maintained, has no security vulnerabilities, carries a permissive license, and adds no runtime cost. The main caveat is that some dynamic PyMuPDF APIs may not be fully typed, so you may encounter Any types in edge cases\u2014check the repository if you need comprehensive coverage for your specific use case."},"id":"pymupdf-stubs","links":{"html":"https://skillfed.io/packages/pymupdf-stubs","md":"https://skillfed.io/packages/pymupdf-stubs.md","pypi":"https://pypi.org/project/pymupdf-stubs/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-10","license_spdx":null,"license_treatment":"permissive","name":"pymupdf-stubs","python_support":"supports_current","summary":"Type stubs for PyMuPDF (fitz), automatically generated"},"popularity":{"monthly_downloads":121119,"position":11995,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.28.2"}
