.pyz is the file extension dedicated for self-contained Python applications in a zip archive.
Python can run applications from self-contained ZIP files. They usually carry a file extension of .pyz
for console tools or .pyzw
for graphical programs, as specified by PEP-441.
They're similar in use to Java jar files, or Perl par, and PHP phar archives.
However, they don't even require a manifest.
A
__main__.py
entry module is all that's needed for Python to run a ZIP application.
There are however tools to simplify building them: