Skip to main content

OEP Python client

日本語

The host side of Open Embedded Probe: a Python library and the oep command. It connects to OEP probes, writes and debugs targets, tests peripherals with the fixtures, and captures logic and analog waveforms. Following OEP's division of work, target knowledge lives in the host: the CH32 flash controller, RAM loaders, the RP2350 boot ROM, the Cortex-M debug registers and so on live here. The probe knows only the wires and the DMI / DP·AP transfers.

Spec implemented: the oep-spec commit in tests/vectors/SPEC_COMMIT (oep-spec versioning §2 / §6: before the freeze, revision 1 alone does not fix the shapes, so an implementation names the commit of the spec it implements). OEP itself is in oep-spec. The history of changes is in CHANGELOG.md.

Installing

pip install oep-client-python     # imported as oep_client

oep-client on PyPI is a different project, so the distribution name is oep-client-python. On Linux, opening the USB ports as an ordinary user needs a udev rule (User guide).

A minimal example

from oep_client import link, core, fixture

hst = link.open_host("oep://30eda0ea068b")   # the probe's unit id
try:
    core.take(hst, 30_000, owner="my-test")
    (led,) = core.channels_of(hst, ["GPIO10"])
    gpio = fixture.Gpio(hst)
    core.plan_apply(hst, [(gpio.fn, 1, led)])
    gpio.set([(led, gpio.OUTPUT_HIGH)])
finally:
    hst.end()
    hst.link.close()
oep dump --port oep://30eda0ea068b           # that probe's functions, pins and settings
oep dump --virtual p4-x035                   # a virtual bench probe, with no hardware

Documents

Document What is in it
User guide Installing, connecting, assigning pins, fixtures, capture, debugging and writing, settings
The oep commands oep dump / settings / pins / speed / linktest and more, kept sessions, TCP
Modules The public API (each oep_client module)
Writing and debugging an SWD board RP2040 / RP2350 boards from the Arduino IDE and gdb through an OEP probe
The pytest plugin OEP probes from pytest-embedded-arduino-cli
Virtual bench A probe and target that run with no hardware (tests, CI, developing other hosts)
All documents Every document, with hardware tests, conformance checks and the testing policy
Contributing Tests, copying the number tables, releases

License

LICENSE

Metadata

Release files for oep-client-python 0.0.66

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oep-client-python 0.0.66
File Size Uploaded Provenance Actions
oep_client_python-0.0.66.tar.gz 2.3 MB With provenance Details for oep_client_python-0.0.66.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oep-client-python 0.0.66
File Interpreter ABI Platform Actions
oep_client_python-0.0.66-py3-none-any.whl Python 3 none any Details for oep_client_python-0.0.66-py3-none-any.whl

Total release size: 3.3 MB

Release files / oep_client_python-0.0.66.tar.gz

Download URL oep_client_python-0.0.66.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f7cfb9f94619cfb6f1a487c136cbd12b1172e5481f6a93dbbe16cb9bd37717ca
BLAKE2b-256 checksum
How to use checksums
7858b620fd9364bc67d9c8b89a0acdcb5b8ed089b981b1997c728f9f6b2d1ff8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / oep_client_python-0.0.66-py3-none-any.whl

Download URL oep_client_python-0.0.66-py3-none-any.whl
Size 961.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f8732999328784e2f30e3c727275ec54478a02e642eec90415d1ea0530e2320
BLAKE2b-256 checksum
How to use checksums
bfac48fa9e336cb85f9247247535424b4245e1d76d1cd6741da3840fe2a8935f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for oep-client-python 0.0.66

Provenance

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for oep_client_python-0.0.66.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.66 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page