Boot & Target Utility - image flashing and provisioning for bare-metal systems
Project description
bty: Boot & Target Utility
Bare-metal provisioning toolkit. Flashes pre-built ("cooked") system images onto target disks (locally from a USB stick or remotely over PXE) and configures them via cloud-init or CIJOE workflows. Designed for both ad-hoc one-off provisioning and DevOps fleet operation.
bty is one Python package: the bty module, distributed on PyPI as
bty-lab, with three
console-script entry points:
bty: main CLI (image inspection, target discovery, flashing, provisioning).bty-tui: terminal UI (requires thetuiextra).bty-web: HTTP server with browser UI (requires thewebextra).
Plus a sibling appliance-image builder under bty-media/ that produces
the bootable USB live image and the server appliance image.
Install
pipx install bty-lab # CLI only, zero third-party Python deps
pipx install "bty-lab[tui]" # adds the bty-tui terminal UI
pipx install "bty-lab[web]" # adds the bty-web HTTP server (milestone 11+)
pipx install "bty-lab[all]" # everything
The CLI flow (bty list disks, bty inspect image, bty flash --dry-run)
needs only Python 3.11+ and stdlib; full flashing (bty flash --yes)
relies on system binaries (dd, qemu-img, zstd, lsblk, etc.) the
operator's distribution is expected to provide.
Status
This is the working tree of an in-progress rewrite. The original Flask
app and PXE/syslinux configuration have been removed; the new
foundation is being laid out per PLAN.md.
Planning and design
Development
uv is the project's dependency manager. Install it via pipx if you
don't already have it:
pipx install uv
Then sync the dev environment:
uv sync --all-extras --group dev
Run the test suite, linter, and type-checker:
uv run pytest
uv run ruff check
uv run mypy src
Documentation
The docs tooling installs as a separate pipx app:
pipx install ./docs/tooling
Then, from inside docs/:
bty-docs-serve # live-rebuild dev server on :8000
bty-docs-build-html # one-shot HTML build
bty-docs-build-pdf # one-shot PDF build (requires LaTeX)
License
Project details
Release history Release notifications | RSS feed
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 bty_lab-0.1.3.tar.gz.
File metadata
- Download URL: bty_lab-0.1.3.tar.gz
- Upload date:
- Size: 253.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
611da2c0b6e6257bd015612b337824c2b145e37fc2ed3f02668fbcfb35d96ca1
|
|
| MD5 |
ad3ff30e8889a00071d93521f7e675a3
|
|
| BLAKE2b-256 |
163be86d10e06794e5ae100ee73377527a1a0ec8f3995820014746541da69894
|
Provenance
The following attestation bundles were made for bty_lab-0.1.3.tar.gz:
Publisher:
release.yml on safl/bty
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bty_lab-0.1.3.tar.gz -
Subject digest:
611da2c0b6e6257bd015612b337824c2b145e37fc2ed3f02668fbcfb35d96ca1 - Sigstore transparency entry: 1440033306
- Sigstore integration time:
-
Permalink:
safl/bty@a0a2214d4eec9cc52b6a35f84062030176133f6b -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/safl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a0a2214d4eec9cc52b6a35f84062030176133f6b -
Trigger Event:
push
-
Statement type:
File details
Details for the file bty_lab-0.1.3-py3-none-any.whl.
File metadata
- Download URL: bty_lab-0.1.3-py3-none-any.whl
- Upload date:
- Size: 122.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf96e0d786b3477021251970609c2982bd5d269dd92802c4d69f1baa2eb0f7b0
|
|
| MD5 |
8bbbdc8e1d59bd85f2071dc3b77448ed
|
|
| BLAKE2b-256 |
2562c975529397ad5364caae0353fd4c2b7d74c84fa8e0be22a37c70d190392e
|
Provenance
The following attestation bundles were made for bty_lab-0.1.3-py3-none-any.whl:
Publisher:
release.yml on safl/bty
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bty_lab-0.1.3-py3-none-any.whl -
Subject digest:
bf96e0d786b3477021251970609c2982bd5d269dd92802c4d69f1baa2eb0f7b0 - Sigstore transparency entry: 1440033313
- Sigstore integration time:
-
Permalink:
safl/bty@a0a2214d4eec9cc52b6a35f84062030176133f6b -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/safl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a0a2214d4eec9cc52b6a35f84062030176133f6b -
Trigger Event:
push
-
Statement type: