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.7.3.tar.gz (19.0 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.7.3-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyinstxtractor_ng-2026.7.3.tar.gz
Algorithm Hash digest
SHA256 e028984d82939e69f1a6df990b5f48c5ccbd4fef42f67e293f0b90e92fb48171
MD5 5a8b39039bff67c93770724a58892bf7
BLAKE2b-256 97ff6c86f1abe1312f4e9952fbc358fac5d44a6f347cd1438f5f224077590be4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyinstxtractor_ng-2026.7.3.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.7.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pyinstxtractor_ng-2026.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a381814a03ae7f3c5ae6910bb4ee3a88301916560b49b581a6836e9984fb9873
MD5 a1aac28c0a7f903fcb13fe4a4141886e
BLAKE2b-256 dd8d9255543d8c69f3d4407e09fd80c63281758480fafbd2330c508dfc0fc2ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyinstxtractor_ng-2026.7.3-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