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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypi_demo_hello_aymg-0.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 5c145a4a4c4f73ff657b5121aed9a2b1b4031f7810a202d75c23c4ec4136ff6f
MD5 205fe48887e85a7c646eeaea89fa52be
BLAKE2b-256 69a4840c2447b8242bcde1e467cc82214e613a5cee55404b11004bd0f6ff713a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypi_demo_hello_aymg-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 739404571300ad6195fca7be822949c688ee9fd5ac56c5f7f05321871b526ed8
MD5 10b34b1888abe522c3d48433d8ef04c2
BLAKE2b-256 e1d9cfb8d3090de9a7fda867fd7e50fb36174224ffde93942395f5a630e6ef71

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