Replace the scripts. One CLI does it all.
Universal, headless Python wheel builder supporting local paths, git repos, and CI/CD pipelines.
Install
# pip or uv
pip install headless-wheel-builder
# with all extras
pip install headless-wheel-builder[all]
Build & release
# build from anywhere
hwb build https://github.com/user/repo@v2.0.0
# draft release with approval workflow
hwb release create -v 1.0.0 -p my-package --template two-stage
hwb release submit rel-abc123
hwb release approve rel-abc123 -a alice
hwb release publish rel-abc123
Pipeline
# run a complete build-to-release pipeline
hwb pipeline run my-pipeline.yml
# generate GitHub Actions workflow
hwb actions generate ./my-project --output .github/workflows/ci.yml
# coordinate releases across repos
hwb multirepo release --tag v2.0.0
Beyond python -m build
Everything after the build step — release workflows, dependency analysis, security scanning — in one tool.
Build from anywhere
Local paths, git URLs with branch or tag, tarballs, multi-platform matrices. venv (uv-powered, 10-100x faster) or Docker (manylinux/musllinux).
Approval workflows
Draft releases, multi-stage approval (simple, two-stage, or enterprise QA → Security → Release), auto-changelog from Conventional Commits.
Security & compliance
Dependency graph analysis, license compliance checks, SBOM generation (CycloneDX), vulnerability scanning, and build metrics dashboard.
CLI reference
Every pipeline step, one command.
Get started
Install
pip install headless-wheel-builder
# or with uv (recommended)
uv pip install headless-wheel-builder Build from git
hwb build https://github.com/user/repo@v2.0.0 \
--isolation docker \
--python 3.11 --python 3.12 Security audit
hwb security audit ./my-project
hwb security sbom ./my-project --format cyclonedx
hwb deps licenses numpy --check Python API
from headless_wheel_builder import build_wheel
result = await build_wheel(
source=".",
output_dir="dist",
python="3.12",
)
print(f"Built: {result.wheel_path}") How it works
A complete wheel lifecycle — from source to shipped — with no web UI required.
1. Build
Point hwb at any source — local directory, git URL, or tarball. It creates an isolated venv or Docker container and builds your wheels.
2. Review & approve
Draft a release, run it through your approval workflow, generate a changelog, and sign off — all from the CLI.
3. Publish & notify
Push to PyPI, private registries, or S3. Notify Slack, Discord, or Teams. Track metrics. Cache artifacts for the next run.