Skip to main content

CI Coverage PyPI License

builder2ibek

A tool suite for converting DLS XMLbuilder IOC projects to epics-containers ibek.

What Where
Source https://github.com/epics-containers/builder2ibek
PyPI pip install builder2ibek
Documentation https://epics-containers.github.io/builder2ibek
Releases https://github.com/epics-containers/builder2ibek/releases

Claude

For Claude agentic conversions, use the claude-sandbox guest project as a peer workspace.

Testing

Run the full test suite:

uv run pytest

Tests are parameterized per sample XML, so you can run a single IOC:

uv run pytest -k "BL11I-CS-IOC-09"
uv run pytest "tests/test_file_conversion.py::test_convert[BL11I-CS-IOC-09]"

Regenerate expected outputs and schema:

./update-schema
./tests/samples/make_samples.sh
./update-schema

See golden-file tests for how the baselines are reviewed and committed.

Bumping the ibek-support submodules

CI can't reach ibek-support-dls on Diamond's GitLab, so the support YAMLs the samples need are vendored into tests/vendored-support-dls/. After moving the ibek-support-dls pin, refresh that copy in the same commit:

git -C ibek-support-dls checkout <sha>
git add ibek-support-dls
git commit -m "Bump ibek-support-dls to <sha>"
python3 tests/vendor_support_dls.py --update
git add tests/vendored-support-dls
git commit --amend --no-edit
uv run pytest

--update only runs once the new pin is committed, and two guard tests compare against the committed pin, not a staged one. So the suite stays red until both steps are done. If the tests show sample differences, regenerate with ./tests/samples/make_samples.sh and review the diff before committing. A bump of ibek-support alone needs only the commit and the tests.

See testing and CI for the details and the guards.

╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ xml2yaml        Convert a builder XML IOC instance definition file into an   │
│                 ibek YAML file                                               │
│ beamline2yaml   Convert every IOC in a beamline's BUILDER to an ibek         │
│                 services folder                                              │
│ autosave        Convert DLS autosave DB template comments into autosave req  │
│                 files                                                        │
│ db-compare      Compare two DB files and output the differences              │
╰──────────────────────────────────────────────────────────────────────────────╯

See https://epics-containers.github.io/builder2ibek for full documentation.

Metadata

Release files for builder2ibek 2.8.0

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

Source distribution (sdist)

Source distribution for builder2ibek 2.8.0
File Size Uploaded Provenance Actions
builder2ibek-2.8.0.tar.gz 1.3 MB Without provenance Details for builder2ibek-2.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for builder2ibek 2.8.0
File Interpreter ABI Platform Actions
builder2ibek-2.8.0-py3-none-any.whl Python 3 none any Details for builder2ibek-2.8.0-py3-none-any.whl

Total release size: 1.5 MB

Release files / builder2ibek-2.8.0.tar.gz

Download URL builder2ibek-2.8.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
6dd98a442b1588acb61a1634e22f2ad066601499772706c771aabac51b99016d
BLAKE2b-256 checksum
How to use checksums
0d46e5ec9c15510ad4f924f47b07b5cce3404f647236e50379e64224f9503b18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / builder2ibek-2.8.0-py3-none-any.whl

Download URL builder2ibek-2.8.0-py3-none-any.whl
Size 193.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dadb413b8e79e589977b6e0f0d18c6a96b73400297d06300d9eb65fc405a29fa
BLAKE2b-256 checksum
How to use checksums
f475e4322f383ec3aec075c359a8111a54feab89c1209929441f690ef5d06190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for builder2ibek 2.8.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

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