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 Distribution

demo_greeter_pkg_peter-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

demo_greeter_pkg_peter-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file demo_greeter_pkg_peter-0.1.0.tar.gz.

File metadata

  • Download URL: demo_greeter_pkg_peter-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for demo_greeter_pkg_peter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 91d8848fea089df392458c7627979a425f995a7bc757fd7eb5efc1e7804b405d
MD5 924936563d27a6d2fac72c1c1da0a8c6
BLAKE2b-256 d8d86bddcd00a6ad02fb0c4d9fd9f738db517f0bf27058a3eab5548931e7d3ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for demo_greeter_pkg_peter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65f5edd1a3a88bbfe23af4f5479991507b19b945a9b100b55ccee8e67045b954
MD5 dfe00e83a2da6b4c3c511bb7c6fef179
BLAKE2b-256 f0db5d5a7d2287d9d86098a62d5f7740de2e53e97e40fd3d315300e828f8c265

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