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 all IOCs in a BLXXI-SUPPORT project into a set of    │
│                 ibek services folders (TODO)                                 │
│ 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.5.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.5.0
File Size Uploaded Provenance Actions
builder2ibek-2.5.0.tar.gz 1.1 MB Without provenance Details for builder2ibek-2.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / builder2ibek-2.5.0.tar.gz

Download URL builder2ibek-2.5.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
46941a409a2aaab4d69e3b348492a18b1ad24d84c14d76aac2293b1b3c648211
BLAKE2b-256 checksum
How to use checksums
f21386d9f7a98d9f84a15b73e4ee834ef3810b89d325a05c05388de1adb94785
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.5.0-py3-none-any.whl

Download URL builder2ibek-2.5.0-py3-none-any.whl
Size 135.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a1a8306aaa66417efdddae18487d312267ee1969f3790edab8fe7bae7bca5af
BLAKE2b-256 checksum
How to use checksums
a5f65af9240849e57b8958d010b54474a4a4f27e1c91de3fed5e765dd029077d
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.5.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