Skip to content
ocx
install

ocx_sdk.bootstrap

Provisioning an ocx binary: ocx_sdk.bootstrap.

The one public submodule. Bootstrap is optional — Ocx() finds an ocx that is already on PATH or in $OCX_HOME — so it lives beside the runtime API rather than in front of it, and ensure() reads as what it is at the call site:

from ocx_sdk import Ocx, bootstrap
ocx = Ocx(exe=bootstrap.ensure(version="0.6.2"))

ensure and DistSource are also re-exported at the top level for callers who prefer flat imports; both names refer to the same objects.