Skip to main content

PyInstaller Extractor Next Generation

Project description

pyinstxtractor-ng

pyinstxtractor-ng is a tool to extract the contents of a Pyinstaller generated executable file. Both Linux ELFs and Windows PE executables are supported.

This project is a fork of pyinstxtractor.

pyinstxtractor-ng uses the xdis library to unmarshal Python bytecode and as a result there is NO requirement to use the same Python version which was used to build the executable.

pyinstxtractor-ng also supports automatic decryption of encrypted pyinstaller executables.

Usage

Precompiled binaries for Linux and Windows are provided in releases. These are generated using PyInstaller itself, so you don't even need a Python installation to run pyinstxtractor-ng

PyInstaller Extractor NG

positional arguments:
  filename       Path to the file to extract

optional arguments:
  -h, --help     show this help message and exit
  -d, --one-dir  One directory mode, extracts the pyz to the same directory
  -i, --info      Display PyInstaller archive information without extracting files

Pass the exe filename as an argument or drag & drop the pyinstaller exe file over pyinstxtractor.ng icon on Windows.

$ ./pyinstxtractor-ng <filename>
X:\> pyinstxtractor-ng <filename>

The --one-dir mode extracts the pyz in the same directory as the executable. This is useful if you want to run the extracted files straight-away.

X:\> pyinstxtractor-ng --one-dir main.exe
X:\> cd main.exe_extracted
X:\main.exe_extracted\> python main.py

The --info or -i option prints metadata about the PyInstaller archive without writing any extracted files to disk. This is useful for quick inspection and debugging.

$ ./pyinstxtractor-ng --info <filename>
X:\> pyinstxtractor-ng -i <filename>

See Also

  • pyinstxtractor-web: pyinstxtractor running in the web browser, powered by Go & GopherJS.

License

GNU General Public License v3.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyinstxtractor_ng-2026.4.7.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyinstxtractor_ng-2026.4.7-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file pyinstxtractor_ng-2026.4.7.tar.gz.

File metadata

  • Download URL: pyinstxtractor_ng-2026.4.7.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyinstxtractor_ng-2026.4.7.tar.gz
Algorithm Hash digest
SHA256 c492c328b9f0f2028e904fceae1b28476322ed5e844ee4776b79a1b39dcf951a
MD5 d6a260ae6948ac63f0cf3d7d0d43cec5
BLAKE2b-256 01a7fbc4f5e95454d9bac7a6f30af2bf155ef7c947a6a0dba2d9a56005973387

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyinstxtractor_ng-2026.4.7.tar.gz:

Publisher: publish.yml on pyinstxtractor/pyinstxtractor-ng

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyinstxtractor_ng-2026.4.7-py3-none-any.whl.

File metadata

File hashes

Hashes for pyinstxtractor_ng-2026.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 df23d7e6231645a128650b418c27630e3b6afbc73b3ef6292c68963683e421fe
MD5 4b6b3d0f485aae76a1c66f327fabdbb8
BLAKE2b-256 5767f5c9152928d3c535cf8191692106a86bd11973d4bb554638c0b638e31f8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyinstxtractor_ng-2026.4.7-py3-none-any.whl:

Publisher: publish.yml on pyinstxtractor/pyinstxtractor-ng

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page