The module zipapp can pack a python module into a zip archive that can be executed directly by a Python interpreter. It is a good way to ship CLI tools:
$ mkdir example $ echo 'print("hello, @pythonetc!")' > example/__main__.py $ python3 -m zipapp example $ python3 example.pyz hello, @pythonetc!