# ocx_sdk.bootstrap

*module*

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:

```python
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.

[View source](https://github.com/ocx-sh/ocx-sdk-python/blob/main/src/ocx_sdk/bootstrap.py#L1-L1)
