Skip to main content

h4-hello

PyPI - Version PyPI - Python Version Last Commit PyPI - License

Table of Contents

A practice project for publishing Python packages to PyPI with PEP740 digital signatures using uv as the build backend and package manager. Contains only a simple hello() function that returns "Hello!".

Installation

pip install h4-hello

Usage

CLI

$ h4-hello
Hello!

$ h4-hello --version
h4-hello v0.1.12b2

As a Library

from h4_hello import hello

print(hello())  # -> Hello!

Development

This project uses uv for package management and poethepoet for task running.

Setup

# Install dependencies
uv sync

# Run tests
poe test

# Lint and type check
poe lint

# Format code
poe format

# Build package
poe build

Available Tasks

Run poe to see all available tasks defined in poe_tasks.toml:

  • poe test - Run pytest tests
  • poe check - Run ruff linting
  • poe mypy - Run type checking
  • poe format - Auto-format code
  • poe build - Full build with checks and smoke tests
  • poe smoke-test - Test built packages in isolation
  • poe lint - Run all linters (ruff, mypy, pep440check, pyproject validation)

Publishing

This project uses GitHub Actions with Trusted Publishing:

  • TestPyPI: Tag with test-* (e.g., test-0.1.11)
  • PyPI: Tag with v* semver (e.g., v0.1.11)

Both deployments use OIDC authentication with Sigstore attestations (PEP740).

License

h4-hello is distributed under the terms of the MIT license.

Note

詳細な日本語ドキュメントは NOTE-ja.md を参照してください。

Metadata

Release files for h4-hello 0.1.15

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

Source distribution (sdist)

Source distribution for h4-hello 0.1.15
File Size Uploaded
h4_hello-0.1.15.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for h4-hello 0.1.15
File Interpreter ABI Platform
h4_hello-0.1.15-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / h4_hello-0.1.15.tar.gz

Download URL h4_hello-0.1.15.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
554d54b008285e26cc796823ff58b32d591dcd45d4fb8c9e749f0fc57afc6af3
BLAKE2b-256 checksum
How to use checksums
10881e3fa18e1d54062038065351ad15467aedc549107fe4cae272f3dec0111b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / h4_hello-0.1.15-py3-none-any.whl

Download URL h4_hello-0.1.15-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
248624d226b4edb3a5afaf4aeaa9542a67b985249db08ad6063aeee02cf7b218
BLAKE2b-256 checksum
How to use checksums
bfc187f077c95f951b6bb46a15d7aa3abfd42ff40610a0a6dfe2d38f6b6749e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.15 This release

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.8

2 release files

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