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-0.1.0.tar.gz (175.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

test_package_demo-0.1.0-py3-none-any.whl (219.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: test_package_demo-0.1.0.tar.gz
  • Upload date:
  • Size: 175.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for test_package_demo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b12a8f91210f81f185eaf7adaa481df76bc838648fb9fd3dcf1e3e44b1028224
MD5 89a23165f11e5a9f4a0b133fea5518b4
BLAKE2b-256 9226190ac507dd4905ae07f1359c9975c8abce1e9d5e3c33fdbc4f2e0ba6bd2c

See more details on using hashes here.

File details

Details for the file test_package_demo-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for test_package_demo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d797d96b7eeaf331330b2eed999e708b1d98380447ebbfae28d48b0874cded6b
MD5 4eb57b5fb8a07c63affa37d2159e72b4
BLAKE2b-256 b1b9614f5b4e67b09d394989ccffb0c6798cbf2150a5faa01183603ff5d31690

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