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.7.0.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.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypi_demo_hello_aymg-0.7.0.tar.gz
  • Upload date:
  • Size: 2.9 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.7.0.tar.gz
Algorithm Hash digest
SHA256 038e34955bc4e7316e603d1b08b08e0b50b5b227793ab61ccc4a43a8f57f4260
MD5 e7162742061631edd9b1b86b7f0cc6c3
BLAKE2b-256 64d27cfd48c21f48c5b12a637678751f07a23492a1ffd4a57631396386b715f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypi_demo_hello_aymg-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6dcf496b7b9a0fcd2ec77a30f7879851bcda5fb8f938d0f3fa38ab6c3cdf945c
MD5 7a0e475efe7fea6058dae859f5f77e61
BLAKE2b-256 1bf253bb65c5ca9234edb3ae410c35d4338cd34bb6edf3a624b30cff8c65bfbb

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