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.6.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.6.0
File Size Uploaded Provenance Actions
builder2ibek-2.6.0.tar.gz 1.3 MB Without provenance Details for builder2ibek-2.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / builder2ibek-2.6.0.tar.gz

Download URL builder2ibek-2.6.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
caa97f268fcaab90ce386c937430faec8cb5cb1ab071781ed9eb52b144a13e3d
BLAKE2b-256 checksum
How to use checksums
3a31b0edac564e1d3f2f3eb65c2bf347c7f391328409e85e4c6a315ad8e49552
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.6.0-py3-none-any.whl

Download URL builder2ibek-2.6.0-py3-none-any.whl
Size 181.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef953608d781666d75e65280db87f604daa7663e66bfaece1d8f6813e1490efe
BLAKE2b-256 checksum
How to use checksums
39709d152701a977a71de4f95549f94c2000d878f20dae09c64ba760cbbc54c8
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.6.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