{"id":22500,"library":"types-pyinstaller","title":"types-pyinstaller","description":"Typing stubs for PyInstaller, providing type hints for PyInstaller modules. Version 6.19.0.20260408, updated regularly alongside typeshed releases.","status":"active","version":"6.19.0.20260408","language":"python","source_language":"en","source_url":"https://github.com/python/typeshed","tags":["types","stubs","pyinstaller","type-hints"],"install":[{"cmd":"pip install types-pyinstaller","lang":"bash","label":"pip install"}],"dependencies":[],"imports":[{"wrong":"from PyInstaller-stubs.__main__ import run","symbol":"run","correct":"from PyInstaller-stubs.__main__ import run"}],"quickstart":{"code":"from PyInstaller.__main__ import run\n\n# Example: build a simple script\nrun(['--onefile', '--name', 'myapp', 'myapp.py'])","lang":"python","description":"Basic usage: run PyInstaller from Python code with type hints."},"warnings":[{"fix":"Cross-reference with PyInstaller source; stubs are best-effort.","message":"Stubs may not cover all PyInstaller internals due to dynamic code. Rely on official PyInstaller docs for runtime behavior.","severity":"gotcha","affected_versions":"all"},{"fix":"Uninstall conflicting packages: `pip uninstall pyinstaller-stubs`.","message":"Do not install both `types-pyinstaller` and `pyinstaller-stubs` (or any other third-party stubs). Only one should be used.","severity":"gotcha","affected_versions":"all"},{"fix":"Match major.minor versions: e.g., use types-pyinstaller==6.* for PyInstaller 6.x.","message":"Stubs are often behind PyInstaller releases. Check version compatibility: types-pyinstaller version x.y.z corresponds to PyInstaller x.y.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'6.19.0.20260408':15 'alongsid':18 'hint':10,26 'modul':13 'provid':8 'pyinstal':3,7,12,23 'regular':17 'releas':20 'stub':5,22 'type':2,4,9,21,25 'type-hint':24 'types-pyinstal':1 'typesh':19 'updat':16 'version':14","created_at":"2026-04-27T17:05:30.607379+00:00","updated_at":"2026-04-27T17:05:30.607379+00:00","problems":{"verify_error":"File \"<string>\", line 1\n    from PyInstaller-stubs.__main__ import run\n                    ^\nSyntaxError: invalid syntax"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"6.21.0.20260616","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/typeshed-internal/stub_uploader","docs":null,"changelog":"https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/pyinstaller.md","pypi":"https://pypi.org/project/types-pyinstaller/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["type-stubs"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}