Skip to main content

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

Metadata

Release files for test-package-demo-20260130 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for test-package-demo-20260130 0.1.0
File Size Uploaded Provenance
test_package_demo_20260130-0.1.0.tar.gz 175.8 kB Without provenance Details

Release files / test_package_demo_20260130-0.1.0.tar.gz

Download URL test_package_demo_20260130-0.1.0.tar.gz
Size 175.8 kB
Tags Source
SHA-256 checksum
How to use checksums
45455f0b201af98f98629e45a587a81d75c26b25f6f2a99acd07d65c7fedec27
BLAKE2b-256 checksum
How to use checksums
8a517b7a2af1265a36b96a27b138524e830e0a10ed278d4ce221558901fed1dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for test-package-demo-20260130 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page