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_zahra_pkg-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_zahra_pkg-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: demo_greeter_zahra_pkg-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.9.12

File hashes

Hashes for demo_greeter_zahra_pkg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3d82072d4ba9774253b360f82b2b3785a711b51760b701b1167e3e484e40bb83
MD5 8d005e3ef4cba06039b8cc7ed7c6601b
BLAKE2b-256 5c3e5b216e8d09dda9ae58197aa1c095bd6d5618788f9a29bc72950710449bcd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for demo_greeter_zahra_pkg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 941900442c0f0a720db2ecb627b62d208a1f73e7b77d8393efe62a0bae7f7691
MD5 1d9091a08da79c2788309cbf6caf9889
BLAKE2b-256 eca67daa822c8f2ea8225c9b3d6fe0155d3eff5212648ba6a0fea6b1bdf12358

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