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.5.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.5.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypi_demo_hello_aymg-0.5.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.5.0.tar.gz
Algorithm Hash digest
SHA256 b66fffa9daa52c8dedd8b64d57b41b278b276609da19a1741bcf1dbeaa9c9573
MD5 f28f098d07857cb6b2b98ca1b4ec64b3
BLAKE2b-256 4dbb4dd8da009eac6e2ca1ee9ba6bfc3c1b957868d449f187234f2784df3f20a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypi_demo_hello_aymg-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bf760fbabee74c55def0624bfa166287e9d95570f1f94ed2e4f20fef6cf9924
MD5 326536081e06d53fcd3d527287c23cd2
BLAKE2b-256 52e944eb11a283b6e6723c155948ec2f87852f61669f2e3b468fd15116cabfa9

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