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 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 0.1.0
File Size Uploaded Provenance
test_package_demo-0.1.0.tar.gz 175.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for test-package-demo 0.1.0
File Interpreter ABI Platform
test_package_demo-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 394.7 kB

Release files / test_package_demo-0.1.0.tar.gz

Download URL test_package_demo-0.1.0.tar.gz
Size 175.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b12a8f91210f81f185eaf7adaa481df76bc838648fb9fd3dcf1e3e44b1028224
BLAKE2b-256 checksum
How to use checksums
9226190ac507dd4905ae07f1359c9975c8abce1e9d5e3c33fdbc4f2e0ba6bd2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / test_package_demo-0.1.0-py3-none-any.whl

Download URL test_package_demo-0.1.0-py3-none-any.whl
Size 219.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d797d96b7eeaf331330b2eed999e708b1d98380447ebbfae28d48b0874cded6b
BLAKE2b-256 checksum
How to use checksums
b1b9614f5b4e67b09d394989ccffb0c6798cbf2150a5faa01183603ff5d31690
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 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

2 release files 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