Contrib drivers
instro-contrib is a separate package containing drivers that have passed code review but were verified on real hardware by the contributor, not by Nominal. They typically come from one of two sources:
- Community contributions: drivers submitted by users who own the hardware and tested locally.
- Staff drops: drivers Nominal has written for a device it doesn’t have on hand.
instro-contrib, that means: it type-checks, it has a unit test against a mocked transport, and a Nominal reviewer has read it. It does not mean Nominal has personally run it on the device.
Install
instro-contrib is not yet published as its own distribution. For now, depend on it via a workspace install or a Git ref to this repo. A published release will arrive alongside instro’s PyPI publication.
Import path
Contrib drivers live underinstro.contrib.<category>.drivers.<driver_module>:
InstroPSU, InstroDMM, etc.) is always imported from core instro. Only the concrete driver lives in instro.contrib.
Stability expectations
- API may change between releases. A contrib driver’s constructor or behavior may be revised based on user feedback or graduation. Pin to a specific commit if you need a frozen target.
- No regression verification by Nominal. A core dependency change (e.g. a
VisaDriverrefactor) might break a contrib driver between releases. The smoke test catches import-level breaks. Behavioral breaks may not surface until you run it. - Bugs are accepted as PRs. If you hit a problem with a contrib driver, the fastest path to a fix is usually contributing one: the original author may not be reachable.
Available drivers
The list starts empty. Drivers will appear here as they’re contributed. To check what’s currently available, browsepackages/instro-contrib/instro/contrib/ in the repo.
Graduation to core
When Nominal acquires the hardware and can verify the driver directly, it moves into coreinstro. The import path drops .contrib:
CHANGELOG.md. The old instro.contrib import path is a hard cutover. There is no compatibility shim.
Contributing a driver
See the Contrib Package section ofCONTRIBUTING.md for the contribution bar and review process.