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_jad_pkg-0.1.2.tar.gz (2.9 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_jad_pkg-0.1.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file demo_greeter_jad_pkg-0.1.2.tar.gz.

File metadata

  • Download URL: demo_greeter_jad_pkg-0.1.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for demo_greeter_jad_pkg-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b85f4bd3fecbedb2b4f9e137cdca8ed8729397b5800648ef037be106dd263fdf
MD5 97ebd5f84507041f6c0c7e848d13ce03
BLAKE2b-256 5be464488f456216579e41904c241a452e327963a9a894aef87803036c951a35

See more details on using hashes here.

File details

Details for the file demo_greeter_jad_pkg-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for demo_greeter_jad_pkg-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dbe125a07304ff66eb5c14b9c1b280e2ffd7ae42c51873ac6d211f526adf7de7
MD5 37c8626aa7bb23a93b1b7d73f4e9d35f
BLAKE2b-256 d17655dae53a0eb2668fba34a459e77c47fb1d9695d54224eeb78bc73e9e1dac

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