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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypi_demo_hello_aymg-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 bbb9b252ecad83720e6aa3017b2ddbedceacb1ea2cca1978bea131d0ddb931d4
MD5 04b155945c8c3ce648afb412b6c6a895
BLAKE2b-256 821bbe5be67d676d1f9d4fadb18a36c9baddd8034fa30b6a3c5a4d98e1185cc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypi_demo_hello_aymg-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aeb0445761ed25a82e1e440a63c18198c70bb31030860edf7ae2f7131b493c43
MD5 5a2e1281de3452248e431460ec1eed18
BLAKE2b-256 3e0d7348ed5cbe79d6503341ef6d3fd0163924eb7a9c07240a7cd1b264a6a368

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