Skip to main content

Minimal TUI ready for cross-platform packaging as a pure-Python zipapp.

Project description

Welcome Package

Minimal TUI ready for cross-platform packaging as a pure-Python zipapp.

Usage

  1. Download welcomepackage.pyz
  2. Run python welcomepackage.pyz

Development workflow

Requires pdm and pdm-packer.

To run from source:

pdm sync --dev
pdm run welcomepackage

To package for distribution:

pdm pack
# generates welcomepackage.pyz
# that's it!

To package as an executable with a portable shebang:

pdm pack --exe -i "/usr/bin/env python3"
# You can now drop this in ~/.local/bin

References

Other options for zipapp packaging include pex and shiv. For a tutorial, try https://realpython.com/python-zipapp/

Even more options for Python packaging and distribution are covered in PyOxidizer: Comparisons to Other Tools.

Sharing and contributions

Welcome Package
https://lofidevops.neocities.org
Copyright 2023 David Seaward and contributors
SPDX-License-Identifier: CC0-1.0

You can copy and modify this project freely and without credit. It's mostly uncopyrightable anyway.

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

welcomepackage-0.0.2.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

welcomepackage-0.0.2-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page