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

Uploaded Python 3

File details

Details for the file demo_greeter_omar_abed-0.1.1.tar.gz.

File metadata

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

File hashes

Hashes for demo_greeter_omar_abed-0.1.1.tar.gz
Algorithm Hash digest
SHA256 44cef8f714b056a2a329c0f2dc6aedad58c0888bc3d9800ddd46e4ed37bf40e5
MD5 1fd1d6cd2c09d4832a524cf61ccbd05f
BLAKE2b-256 486e845b9998eb28b34fe72d2b7a066835e01781256bf9166ddeb8af10480947

See more details on using hashes here.

File details

Details for the file demo_greeter_omar_abed-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for demo_greeter_omar_abed-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8babb1c658df9e3d9d3f360d67dd25d90b5d3d86b3c7e688bda49fdc3160ee2d
MD5 3b8b8123790415829de5f9eb452b963e
BLAKE2b-256 45ed6f5baddd473041e75142ec0c81f248f02e25d0ebe943dd0a1dce7188f10c

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