You point it at an IOC service directory, for example deb-services/services/fe99i-mo-ioc-01 . The tool reads the generic IOC image pinned in that directory's values.yaml . It then fetches that image's /epics/ibek-defs straight from the container registry. You don't need docker, podman or a local checkout. The definitions are cached for reuse on later runs. Those definitions include the modules inherited from the base image (asyn, iocStats, autosave, …). So the editor offers exactly the entities that version of the generic IOC can instantiate.
Requires Python 3.13 or later and a desktop environment that can run Qt.
The argument can be any of these:
If a service directory has no config/ioc.yaml yet, the tool starts a new instance and writes the file on the first save. The new file's $schema header points at the schema published for the pinned image tag when a schema URL can be derived from it, so VS Code can validate the file outside the container. Services using compose.yml or compose.yaml are also recognised.
--validate and --list-entities run without opening a window or requiring a display. Validation exits with status 0 on success and 1 if there are problems or the IOC file is missing.
These options change where the entities come from:
If combined, --defs takes priority over --generic-ioc , which takes priority over the image. Support files beside the target ioc.yaml (normally config/*.ibek.support.yaml ) are always added on top. A local definition replaces the whole module with the same name. Invalid support files and missing definition directories are reported as errors.
The layout follows xeb:
Left: the entity types used in the file. Pick one to edit its table. Rows are entities and columns are parameters.
Entity order: every entity in file order, in a dock on the left.
Components : adds a type.
Undo stack: in a dock on the left.
Defaults are shown in grey italics and are not written to the file.
Required cells that are empty are red. Bold column headers are required parameters.
Enums and booleans are edited with editable drop-downs, so Jinja values can be retained. Object references offer the ids of active entities in the file.
The first column, X , a row out, as in xeb. The entity is saved as a commented-out block ( # - type: … ), as VS Code's Ctrl+/ would write it, and blocks like that in an existing file open as X rows. ibek ignores a commented entity, so validation skips it and its ids can't be referenced. Clear the cell (Ctrl+D) to uncomment it.
The Edit keeps xeb's commands and shortcuts:
Insert Row (Ctrl+I) and Insert Row Under (Ctrl+U)
Cut, copy and paste (tab-separated, so spreadsheets work)
Fill Cells and Increment (Ctrl+R), which turns MOT.APTR03X into MOT.APTR04X , MOT.APTR05X , …
The order of entities is the IOC's startup order. A type's entities don't have to be together: a file can interleave types (port A, motor on A, port B, motor on B), and it is opened and saved in its own order. Each type still has one table, and the type list is in order of each type's first entity.
Entity order lists every entity, numbered, in file order. The current table's entities are bold and commented-out ones grey. Drag an entity to move it anywhere in the file; click it to show it in its table.
Drag a row header to move an entity to another row's place in the file. Inserted rows go to the row they were inserted at. The first entity of a new table goes after the last entity of the tables listed before it.
Components > Group Entities by Type keeps each type's entities together, as xeb does, in the order of the type list. Dragging a type in the list, or Components > Move Table Up/Down, moves a whole table, so it groups the file too. Removing a table leaves the rest of the order alone.
All of these can be undone, and nothing is written until you save. ibek needs an entity to come before anything that refers to its id, and validation reports a reference that comes too early. This check applies to object references; plain string links, such as some port parameters, are not checked.
Tools > Validate (F5) checks the file with ibek's own model. It runs again on every save, and the problems are listed and highlighted in the tables. Editing clears the results; press F5 to check again. If validation finds problems when saving, you can cancel or choose Save anyway .
Dictionary and list parameters accept YAML or JSON in the cell, and are shown as YAML flow text, such as {when: 2026-10-27, n: 1} . Clipboard text uses quoted tab-separated values for spreadsheets; backslashes stay literal. Clearing a cell removes its key. Existing null and empty-string values are preserved until edited. Types missing from the definitions have read-only cells.
Saving retains , quoting and Jinja text, but serialises the whole document, so spacing and indentation may change. Commented entities stay commented out. Invalid entity collections are rejected when opening a file. The file is replaced only after a complete temporary copy has been written. Existing symlinks are followed and file permissions retained; new files get the usual permissions for your umask (0664 with umask 002). A file owned by someone else, or in a directory you can't create files in, is rewritten in place instead, so its owner doesn't change.
Public images can be fetched anonymously. For private registries, credentials are read from inline auth entries in ~/.docker/config.json (or $DOCKER_CONFIG/config.json ), then from matching CI_REGISTRY , CI_REGISTRY_USER and CI_REGISTRY_PASSWORD . Docker credential helpers are not supported.
Fetched definitions are cached in ~/.cache/dls-ibek-yaml-editor , or wherever DLS_IBEK_YAML_EDITOR_CACHE points. A cached tag is used without contacting the registry, so later runs start at once and work offline. Pass --refresh to check the registry for an image rebuilt under the same tag ( latest is always checked). If a refresh fails, an existing valid cache is used with a message explaining why.
For an epics-containers runtime image, the first fetch reads only the start of the layer that holds /epics , which is quick. Other images, or one whose definitions link into a lower layer, have every layer read and merged, which downloads the whole image once. Refreshes keep older cache snapshots so open documents can still use them. To reclaim space, close the editor and remove its cache directory; the run fetches definitions again. Caches written by older editor versions are still used.
With no target, --image , --generic-ioc or --defs open an untitled instance using those entities; Save asks where to write it.
Release files for dls-ibek-yaml-editor 1.0.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation .
Source distribution (sdist)
Built distribution (wheel)
Total release size: 204.7 kB
Release files / dls_ibek_yaml_editor-1.0.0b1.tar.gz
Release files / dls_ibek_yaml_editor-1.0.0b1-py3-none-any.whl
Security for dls-ibek-yaml-editor 1.0.0b1
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.
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.
Release history Release notifications | RSS feed
Nov 30, 2026 2 release files No provenance
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
