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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file welcomepackage-0.0.2.tar.gz.

File metadata

  • Download URL: welcomepackage-0.0.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.9.3 CPython/3.10.12

File hashes

Hashes for welcomepackage-0.0.2.tar.gz
Algorithm Hash digest
SHA256 cb729551d16ef25f049db3258b8be4c054783748283555f0f85b75ec635d2a0c
MD5 0a23e1a124f2b88d062b9f377f964d1c
BLAKE2b-256 c4cb8cd175009e803a147fc3e40cbe7e980fc77ac3dcc6747f284fa525a6dc06

See more details on using hashes here.

File details

Details for the file welcomepackage-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for welcomepackage-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 de2c10c4886cf01680188c0aac1d1bbcdd1dbec3b5d78afae673183076612d5e
MD5 d040dd978c10101e09baca27cc1c65f2
BLAKE2b-256 a94998dda8a14d4e090b3fb0414382061775aa10739b67ae59fb39cec7e5594b

See more details on using hashes here.

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