pyinstxtractor-ng
PyInstaller Extractor Next Generation
Decision gist · record as of 2026-08-14
Yes, if you need to extract or analyze PyInstaller executables. Low install friction, active maintenance, no known vulnerabilities, and straightforward dependencies. The copyleft license is a consideration only if you plan to redistribute or embed the tool itself; using it to extract your own executables has no license implications.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires the target PyInstaller executable to be accessible; precompiled binaries are available if you want to run without Python installed.
- Low friction install with just two runtime dependencies (pycryptodome and xdis).
- Active maintenance with a release 42 days ago.
License · maintenance · safety
GPL-3.0-only (copyleft) — GPL-3.0-only copyleft license means any derivative work or distribution must also be licensed under GPL-3.0. Use this if you're comfortable with copyleft obligations; avoid if you need to incorporate it into proprietary code.
last release 2026-07-03 (42 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,967 downloads/mo, #14,038 on PyPI
Alternatives
Verify before relying
pip install pyinstxtractor-ng
from pyinstxtractor_ng import PyInstExtractor
extractor = PyInstExtractor('path/to/executable.exe')
extractor.extract()- Whether the package can handle all PyInstaller versions or has known compatibility limits.
- Performance characteristics when extracting large or heavily encrypted executables.
- Whether bytecode decompilation is included or if xdis is used only for unmarshalling.
What it is and what it does
pyinstxtractor-ng is a reverse-engineering tool that unpacks PyInstaller-frozen executables to recover their embedded Python bytecode, libraries, and resources. It works on both Windows PE and Linux ELF binaries and can automatically decrypt encrypted PyInstaller archives. The tool uses xdis to unmarshal bytecode, so you don't need to match the Python version that built the original executable.
You can use it as a library in Python code or run precompiled standalone binaries on systems without Python installed. It offers three main modes: full extraction to a directory, one-directory mode for immediate execution of extracted files, and info-only mode to inspect archive metadata without writing files.
Use it for
- Recover source code or dependencies from a PyInstaller executable when original sources are lost.
- Inspect and debug what libraries and resources are bundled inside a frozen Python application.
- Analyze encrypted PyInstaller archives to understand their structure and contents.
- Extract bytecode for reverse engineering or security analysis of compiled Python applications.
- Restore a working Python environment from a frozen executable for modification or testing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to extract or analyze PyInstaller executables.
Low install friction, active maintenance, no known vulnerabilities, and straightforward dependencies. The copyleft license is a consideration only if you plan to redistribute or embed the tool itself; using it to extract your own executables has no license implications.
Install
pyinstxtractor-ng on PyPI
Before you install
Low friction install with just two runtime dependencies (pycryptodome and xdis). Active maintenance with a release 42 days ago. Supports Python 3.8 through 3.12.
Requires the target PyInstaller executable to be accessible; precompiled binaries are available if you want to run without Python installed.
License in practice
GPL-3.0-only copyleft license means any derivative work or distribution must also be licensed under GPL-3.0. Use this if you're comfortable with copyleft obligations; avoid if you need to incorporate it into proprietary code.
Quickstart
pip install pyinstxtractor-ng
from pyinstxtractor_ng import PyInstExtractor
extractor = PyInstExtractor('path/to/executable.exe')
extractor.extract()
Verify before relying
- Whether the package can handle all PyInstaller versions or has known compatibility limits.
- Performance characteristics when extracting large or heavily encrypted executables.
- Whether bytecode decompilation is included or if xdis is used only for unmarshalling.
Package facts
| License | GPL-3.0-only copyleft |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespycryptodomexdis |
| Maintenance | Actively maintained 42 days since the last release |
| First released | |
| Downloads | 83,967 / month, #14,038 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: pyinstxtractor_ng-2026.7.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pyinstaller executable extractor”
- pyinstxtractor-ngExtracts Python bytecode and resources from PyInstaller-generated…
- auto-py-to-exeProvides a graphical interface to convert Python scripts into…
- pyinstallerPyInstaller bundles a Python application and all its dependencies…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also auto-py-to-exe · pyinstaller · pefile · pyinstaller-versionfile · extractcode · pyinstaller-hooks-contrib · pylnk3 · cx-Freeze · decompyle3 · dnfile