Build zipapp single file Python applications easily
Project description
Introduction
Build zipapp single file Python applications easily.
Repositories
Binary distributions:
Source code:
Usage
Standalone application
zapp ~/bin/myapp myapp.cli:main 'myapp==1.2.3' 'mylib==3.2.1'
python3 -m zapp ~/bin/myapp myapp.cli:main 'myapp==1.2.3' 'mylib==3.2.1'
zapp toolmaker.pyz toolmaker.cli:main toolmaker
zapp pipdeptree.pyz pipdeptree:main pipdeptree
zapp ~/bin/httpie httpie.__main__:main httpie
# Without requirements
zapp zipfile.pyz zipfile:main
Library
import zapp
zapp.core.build_zapp(
[
'myapp==1.2.3',
'mylib==3.2.1',
],
'myapp.cli:main',
'myapp.pyz',
)
Setuptools command
python3 setup.py bdist_zapp --entry-point myapp.cli:main
Details
Similar applications
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
zapp-0.0.5.tar.gz
(8.5 kB
view hashes)
Built Distribution
zapp-0.0.5-py3-none-any.whl
(8.8 kB
view hashes)