Skip to main content

Conversion tool for DLS XML builder IOC instances to ibek ioc.yaml

Project description

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

Note: the devcontainer includes Claude Code vscode plugin and skills for doing IOC conversions from XmlBuilder to ibek.

For a fully up to date claude client you can install the latest CLI as follows:

curl -fsSL https://claude.ai/install.sh | bash

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:

./tests/samples/make_samples.sh
./update-schema
╭─ 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

builder2ibek-2.0.3b1.tar.gz (888.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

builder2ibek-2.0.3b1-py3-none-any.whl (105.4 kB view details)

Uploaded Python 3

File details

Details for the file builder2ibek-2.0.3b1.tar.gz.

File metadata

  • Download URL: builder2ibek-2.0.3b1.tar.gz
  • Upload date:
  • Size: 888.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for builder2ibek-2.0.3b1.tar.gz
Algorithm Hash digest
SHA256 6de7f21306fc51c97de2e78b980701872a4faf24091a06d1995ebcde7939706c
MD5 62ad8daf804a6da9427ec37df293e0b1
BLAKE2b-256 8575f98fd5d42570607b1cd60f7de2a14cef4b8cd5c9c4f224dee00da39fcce7

See more details on using hashes here.

File details

Details for the file builder2ibek-2.0.3b1-py3-none-any.whl.

File metadata

  • Download URL: builder2ibek-2.0.3b1-py3-none-any.whl
  • Upload date:
  • Size: 105.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for builder2ibek-2.0.3b1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f107dbdeb6fc63a7826a4f11ec1eb02a94ef55ff0a4a330b85ae1adb798c922
MD5 df9b7d57f5f977da8fb1453a4421165b
BLAKE2b-256 8fe7a67cd2c42647c63982f9575325eb668f77822e95182ce590ebca7f71950a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page