skillfed

types-pyinstaller

Typing stubs for pyinstaller

types-pyinstaller v6.22.0.20260812 109.9K downloads/30d#12,496 on PyPI37
Permissive license Apache-2.0 Active released

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-pyinstaller

uv

uv add types-pyinstaller

poetry

poetry add types-pyinstaller

Installing 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

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs pyinstallerpyinstaller type hintsmypy pyinstaller annotationspyinstaller typing supporttype checking pyinstaller codepyinstaller type checkingstub package pyinstaller
type-stubstype-checking

More Software Development packages