h4-hello
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 testspoe check- Run ruff lintingpoe mypy- Run type checkingpoe format- Auto-format codepoe build- Full build with checks and smoke testspoe smoke-test- Test built packages in isolationpoe 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.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| h4_hello-0.1.16.tar.gz | 3.8 kB | With provenance | Details for h4_hello-0.1.16.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| h4_hello-0.1.16-py3-none-any.whl | Python 3 | none | any | Details for h4_hello-0.1.16-py3-none-any.whl |
Total release size: 8.3 kB
Release files / h4_hello-0.1.16.tar.gz
| Download URL | h4_hello-0.1.16.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9496b9a49be3fe558e92b5b2f01b174f8241131d686b7cb0c8a1379d06ecbf59
|
|
BLAKE2b-256 checksum How to use checksums |
d2ca4f0003243d01e7a7348d3b87cf666acbe307a8df1c48e5f756574000902d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 29, 2026.
Transparency logRelease files / h4_hello-0.1.16-py3-none-any.whl
| Download URL | h4_hello-0.1.16-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
308769df5d1a32ad12d23452b748c66b6eccae2d69c33a5ac00d2cbf4e12439a
|
|
BLAKE2b-256 checksum How to use checksums |
2798a2dd7b6ee503a7397d9731e3d1ec0807590b6e02c6e4f2fb4bfdc506d503
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 29, 2026.
Transparency logSecurity for h4-hello 0.1.16
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for h4_hello-0.1.16.tar.gz
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 29, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.