types-pyinstaller
Typing stubs for pyinstaller
What it is and what it does
types-pyinstaller is a type stub package that provides type annotations for pyinstaller's public API. It allows type checkers like mypy, pyright, and others to understand and validate code that calls pyinstaller functions and classes. The stubs are generated from the typeshed project, a centralized repository of type information for popular packages.
This is a partial stub package, meaning it covers commonly used parts of pyinstaller but may not have complete annotations for every function or class. It requires Python 3.10 or later and has no runtime dependencies—it only affects type checking, not code execution. When installed alongside pyinstaller, it enables IDEs and type checkers to catch type-related bugs before runtime.
Use it for:
- Enable type checkers to validate scripts that import and use pyinstaller APIs
- Get IDE autocomplete and type hints for pyinstaller functions in editors with type support
- Validate that build automation code correctly calls pyinstaller's public methods
- Catch type mismatches in pyinstaller configuration during development
- Integrate pyinstaller type checking into CI/CD pipelines that enforce type safety
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for pyinstaller, enabling type checkers like mypy and pyright to validate code that uses pyinstaller.
Yes, if you use pyinstaller in code that you type-check. Install it alongside pyinstaller to enable type checkers to validate your build scripts. It has no runtime cost and no dependencies. If you don't use type checking or don't use pyinstaller, it provides no value.
Install
types-pyinstaller on PyPI
pip
pip install types-pyinstalleruv
uv add types-pyinstallerpoetry
poetry add types-pyinstallerInstalling types-pyinstaller
Before you install
Low friction installation as a pure stub package with no runtime dependencies. Actively maintained with releases tracking pyinstaller versions closely.
License in practice
Apache-2.0 permissive license allows unrestricted use, modification, and distribution in both open and closed projects.
Quickstart
pip install types-pyinstaller
# In your code, type checkers will now understand pyinstaller imports
import pyinstaller
Requires Python 3.10 or later
Verify before relying
- Whether stub coverage is sufficient for your specific pyinstaller usage patterns, given the package is marked as partial
- Compatibility with type checkers beyond those tested (mypy 2.3.0, pyrefly 1.3.0.dev1, pyright 1.1.411, ty 0.0.59)
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 2 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 109,886/month — #12,496 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_pyinstaller-6.22.0.20260812-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
pyinstaller-hooks-contribProvides community-maintained hooks that extend…
unclear · top 5,000 on PyPI
types-setuptoolsProvides type annotations for the setuptools…
permissive · top 1,000 on PyPI
types-PygmentsProvides type hints for the Pygments syntax…
permissive · top 5,000 on PyPI
pyinstallerPyInstaller bundles a Python application and…
copyleft · top 5,000 on PyPI
types-dateparserProvides type stubs for the dateparser package,…
permissive · top 5,000 on PyPI
types-dockerProvides type hints for the docker package,…
permissive · top 5,000 on PyPI
types-AuthlibProvides type stubs for Authlib, enabling…
permissive · top 5,000 on PyPI
types-tensorflowProvides type hints for TensorFlow 2.18.0,…
permissive · top 15,000 on PyPI
types-antlr4-python3-runtimeProvides type stubs for antlr4-python3-runtime,…
permissive · top 15,000 on PyPI
types-peeweeProvides type annotations for the peewee ORM…
permissive · top 15,000 on PyPI