Skip to main content

A minimal example package with a CLI 'greet'

Project description

demo-greeter-pkg

A tiny example Python package with one function and a CLI command greet.

Install (from source)

pip install -e .

Usage

greet Alice
# -> Hello, Alice!

Development

python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install -U pip build twine pytest
pytest
python -m build

This creates dist/*.whl and dist/*.tar.gz.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

demonancyakrimsbdwsjc_pkg-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file demonancyakrimsbdwsjc_pkg-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for demonancyakrimsbdwsjc_pkg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcfd790628f9f67a1d5cf636c6770ba1deeeaecba5de87b0d6e415124eb9a675
MD5 513eb1e39d1372872aefb0e819d84916
BLAKE2b-256 2f0996061b9995d828cdf469cdc0249690a20a9994a2c9507546cc5b760d01dc

See more details on using hashes here.

Supported by

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