Python EXecutable
lastmod 2026-11-10created 2017-01-243 edits
PEX (Python EXecutable) is a tool and library that bundles a Python application and its dependent packages into a single .pex file. The output is an executable zip file that can run directly on a target system with only a Python interpreter, without creating a virtual environment or running pip. It came out of the Pants build tool and is used for simple deployment by copying a single file to the deployment server. It differs from PyInstaller in that it does not include the interpreter itself.
A library and tool for generating .pex (Python EXecutable) files