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.9.0.tar.gz (4.7 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.9.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypi_demo_hello_aymg-0.9.0.tar.gz
  • Upload date:
  • Size: 4.7 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.9.0.tar.gz
Algorithm Hash digest
SHA256 dd24737ece2f58867ae83ac3b42a1c8283a5b7f64c5a33a45a204f6855bac69c
MD5 77022d8f555b8f7c9ea4b7357a95132d
BLAKE2b-256 263a077961ed9f2c36f2ed8e08edf52e66bb3acd3798753a211f450673dfd3ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypi_demo_hello_aymg-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d58a7d4b41dcebb9433d530195915da2e7277ecbf20d37e961743dba5efb625c
MD5 b11598faf224939c632ff71ae4ce3b6a
BLAKE2b-256 7f90ad4876c6cfb626fde182c111369fff36d65c1386d6600db93168f3cca350

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