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.10.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.10.0
File Size Uploaded Provenance Actions
builder2ibek-2.10.0.tar.gz 1.3 MB Without provenance Details for builder2ibek-2.10.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / builder2ibek-2.10.0.tar.gz

Download URL builder2ibek-2.10.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
4d07dc7f09b99b7d513dd3f56879e50d59242faa24f72ffcab3b25a542fbac4b
BLAKE2b-256 checksum
How to use checksums
be3bf647d536409ef4eac04a5ee3e54d0233dcd77ed450681650a6f180a4ff87
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.10.0-py3-none-any.whl

Download URL builder2ibek-2.10.0-py3-none-any.whl
Size 199.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89f642ab048f95f558d01d47b5ed024615891cc4fdc7e9f458c60a689ef40e8d
BLAKE2b-256 checksum
How to use checksums
d8ffb8b0bf9662ef90d21a51b0fec455eec3996813af89c1ae13993dc6a42990
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.10.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