This release is a pre-release and may not be stable for production use.
Pyplines Builder
pyplines-builder is the Python/Typer authoring tool. pyplines remains the
operational CLI: it installs and operates the resulting Distribution. Neither
tool depends on the other. The obsolete Go/Buildah Action Builder is not used.
Install with pip install pyplines-builder. Development: uv sync --project builder.
Docker must provide Linux containers. The builder uses the Docker API, never a
Docker/Buildah shell command. Source inspection runs in the target image using
the SDK, not in the host interpreter.
Commands
pyplines-builder version
pyplines-builder check pyplines-build.yaml
pyplines-builder keygen ./signing --source https://example.com --publisher example
pyplines-builder build pyplines-build.yaml --registry registry.example.com/example \
--signing-key ./signing/publisher.pem --output ./hello-world-1.0.0.tar.gz
pyplines-builder inspect ./hello-world-1.0.0.tar.gz
pyplines-builder verify ./hello-world-1.0.0.tar.gz --trust-file ./signing/trust.json
pyplines-builder action build ./action --platform linux/arm64
pyplines-builder action inspect sha256:IMAGE_ID
pyplines-builder action run sha256:IMAGE_ID --input-file ./input.yaml
Every command supports --json. Data goes to stdout, failures to stderr;
failures have nonzero exit codes. No prompts, animations, or credential values
in diagnostics. Local image IDs are reported by action build. action run
reports runtime logs and the terminal InvocationResult; it does not replace
testing against the Server. --allow-network explicitly enables test egress.
Build document
See Hello World. The tooling-only
pyplines.dev/build/v1alpha1 document references workspace-neutral, standard
Procedure resources and Action sources (or immutable prebuilt image references).
IDs in Procedure references match IDs in the build document. Exactly one root
Procedure is required; every included resource must be reachable from it.
There is no additional Action Package format and no new platform resource.
check performs offline structural checks; it does not import Action source or
claim to validate runtime schemas. build validates the complete included
resource graph. Server installation remains authoritative for semantic planning,
authorization, trust and runtime compatibility.
Each Action's pyproject.toml supplies static project.name, version,
requires-python, and the pyplines.action handler entry point. Include source
files explicitly with [tool.pyplines.builder] include = ["hello_world.py"]
(default: src). Include required README/license/package data there too. No
symlinks, hidden directories, environments or private-key files are copied.
Review this allowlist: an ordinary source file can still contain a hardcoded
secret. Building executes author-controlled packaging code and must only be
done for trusted source on a suitable Docker engine.
Python 3.11–3.14 is supported; the newest compatible minor is selected, or use
--python. --platform auto uses the Docker engine's architecture. Cross-platform
builds require engine-provided emulation. A build targets one architecture;
produce a separately signed Distribution for each platform. Multi-platform OCI
index assembly is not provided. --base-image permits an explicitly pinned Python
base. Otherwise the selected Python slim tag is resolved to a digest before
building. Base, source, SDK and recipe attribution is embedded at
/opt/pyplines/action/build.json and returned in the build report. Docker provides
layer caching. Unlocked third-party dependencies can change between builds;
pin dependencies for reproducibility. Distribution bytes are deterministic for
the same resource documents and signing key; source-to-image reproducibility is
not claimed for unpinned dependencies.
Released builders pin the matching published pyplines SDK. A development builder
requires an explicit --sdk-wheel; it never silently includes the repository.
Keep a private signing key outside Action sources. Keys are Ed25519 PKCS8 PEM,
mode 0600 on POSIX. Existing keys and output archives are never overwritten.
Existing registry version tags are reused only for identical images. Enable
registry-side immutable tags as well to protect against concurrent publishers.
The separate trust.json is public and can be supplied to Server trust
configuration; the builder does not install trust or weaken verification.
Private registries use --registry-credentials /path/to/docker-auth.json, a
portable Docker auths file. Credential helpers/keychains are not required or
invoked. Never put credentials in the build document or image reference.
The default is anonymous registry access. Docker daemon insecure-registry
configuration is needed for a local HTTP registry; the builder does not alter it.
Local runtime tests use the same entrypoint, Unix socket transport, non-root UID, read-only root, capability restrictions and scratch mounts as the appliance. Test limits are 1 CPU, 256 MiB, 128 PIDs, 16 MiB scratch, 64 KiB test input/secrets, 4 MiB collected logs and a configurable 1–3600 second deadline. Only the test's own containers/volume are removed. Build images/cache remain for reuse.
Development
python3 scripts/sync_builder_contracts.py --check
uv run --project builder pytest -q builder/tests
uv run --project builder black --check builder/pyplines_builder/app.py
uv build --project builder
The generated readers and schema snapshot come from the same sources as the operational CLI. Edit those sources and regenerate, not the bundled copies.
Shared CLI behavior
The Builder follows the same standard as pyplines: readable output by default,
or JSON with AUTOMATION_MODE=enabled / --json. Automation never prompts.
Help requires no Docker connection. Use version or --version for the installed
package version. Common behavior is provided by pyplines-cli-common.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyplines_builder-2026.9.3a1.tar.gz.
File metadata
- Download URL: pyplines_builder-2026.9.3a1.tar.gz
- Upload date:
- Size: 102.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7f9703476d4994b1631f3a4722dd26a54e044d58afc1f3bb40449a6bbde6e58
|
|
| MD5 |
4f8298152204decae2f6a02e85240fb3
|
|
| BLAKE2b-256 |
4db60327058115321d8dd117b60c45fc12b6427582386d23f6a5e533fcb650fb
|
Provenance
The following attestation bundles were made for pyplines_builder-2026.9.3a1.tar.gz:
Publisher:
publish-release.yml on pyplines/pyplines
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyplines_builder-2026.9.3a1.tar.gz -
Subject digest:
f7f9703476d4994b1631f3a4722dd26a54e044d58afc1f3bb40449a6bbde6e58 - Sigstore transparency entry: 2787541117
- Sigstore integration time:
-
Permalink:
pyplines/pyplines@99828314ece690ae6fba46c57fdecee9d8d22c49 -
Branch / Tag:
refs/tags/v2026.9.3a1 - Owner: https://github.com/pyplines
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-release.yml@99828314ece690ae6fba46c57fdecee9d8d22c49 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyplines_builder-2026.9.3a1-py3-none-any.whl.
File metadata
- Download URL: pyplines_builder-2026.9.3a1-py3-none-any.whl
- Upload date:
- Size: 35.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f20fb563d39aaf6628e4af3567cf3fe99d0c04ba1fa0ee891a9ee909942be2c3
|
|
| MD5 |
6cef1852affc31cbd47055d3f92dae6d
|
|
| BLAKE2b-256 |
6ad1806800996fd55b0fbe5b9ca56395f6de4e1aa812027f4a174b191b02f05c
|
Provenance
The following attestation bundles were made for pyplines_builder-2026.9.3a1-py3-none-any.whl:
Publisher:
publish-release.yml on pyplines/pyplines
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyplines_builder-2026.9.3a1-py3-none-any.whl -
Subject digest:
f20fb563d39aaf6628e4af3567cf3fe99d0c04ba1fa0ee891a9ee909942be2c3 - Sigstore transparency entry: 2787541136
- Sigstore integration time:
-
Permalink:
pyplines/pyplines@99828314ece690ae6fba46c57fdecee9d8d22c49 -
Branch / Tag:
refs/tags/v2026.9.3a1 - Owner: https://github.com/pyplines
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-release.yml@99828314ece690ae6fba46c57fdecee9d8d22c49 -
Trigger Event:
push
-
Statement type: