Skip to main content

A test package for demonstrating Python package publishing

Project description

Test Package Demo

A simple Python package for demonstrating the package publishing process.

Features

  • add(a, b): Adds two numbers
  • greet(name): Generates a greeting message

Installation

pip install test-package-demo

Usage

from test_package import add, greet

# Add two numbers
result = add(1, 2)
print(result)  # Output: 3

# Generate a greeting
message = greet("World")
print(message)  # Output: Hello, World!

Development

Build the package

python -m build

Upload to TestPyPI

python -m twine upload --repository testpypi dist/*

License

MIT License

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

test_package_demo_20260130-0.1.0.tar.gz (175.8 kB view details)

Uploaded Source

File details

Details for the file test_package_demo_20260130-0.1.0.tar.gz.

File metadata

File hashes

Hashes for test_package_demo_20260130-0.1.0.tar.gz
Algorithm Hash digest
SHA256 45455f0b201af98f98629e45a587a81d75c26b25f6f2a99acd07d65c7fedec27
MD5 ab72769a02e8f7507b8e80a4df7223b4
BLAKE2b-256 8a517b7a2af1265a36b96a27b138524e830e0a10ed278d4ce221558901fed1dc

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