Python's zipapp: Build Executable Zip Applications
From RealPython, we have “Python’s zipapp: Build Executable Zip Applications”, which describes how to bundle and distribute an application in a single ready-to-run file.
In this tutorial, you’ll learn:
- What a Python Zip application is
- How Zip applications work internally
- How to build Python Zip applications with zipapp
- What standalone Python Zip apps are and how to create them
- How to create Python Zip apps manually using command-line tools
You’ll also learn about a few third-party libraries for creating Zip applications that overcome some limitations of zipapp.
It’s a fairly thorough article, walking through why you would need such a facility, where you’d use it, and how you’d use it, including examples.