Skip to main content

A simple hello world library

Project description

hello-world-lib

A simple hello world library — minimal example for publishing to PyPI.

Installation

pip install hello-world-lib

Usage

from hello_world_lib import hello, greet

print(hello())          # Hello, World!
print(greet("Alice"))   # Hello, Alice!

Development

# Install with dev dependencies
pip install -e ".[dev]"

# Run tests
pytest

Publishing

# Build
python -m build

# Upload to TestPyPI first
twine upload --repository testpypi dist/*

# Upload to PyPI
twine upload dist/*

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

pypi_demo_hello_aymg-0.1.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

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

pypi_demo_hello_aymg-0.1.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pypi_demo_hello_aymg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 02aca3ec32ca5673803f03e9047922d11cdd0a19bf7e7302cac20ef9796b8d46
MD5 13b3b5ff8fa638f9ad6afd248dea2c5c
BLAKE2b-256 58c3ca489171897b622c71f0c185acf4afeb49a771f21d80e5fb5d0622672f40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypi_demo_hello_aymg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f671e08508df34ad2cf751ef7993b74d40f6cc66e2e3cd7780a9becdc91e7b5e
MD5 0e08118c1af4b1daf159440121a7550c
BLAKE2b-256 bcd1dac370f2bdbfb7a1d5b4f8d2c74ae37f56e3732bcd0af1cdcba8c2f0b5d1

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