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.63

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.63
File Size Uploaded Provenance Actions
oep_client_python-0.0.63.tar.gz 2.3 MB With provenance Details for oep_client_python-0.0.63.tar.gz

Built distribution (wheel)

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

Total release size: 3.2 MB

Release files / oep_client_python-0.0.63.tar.gz

Download URL oep_client_python-0.0.63.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
60791e715b9e489ff37693f9539bac8a4baf4d0a32ca3b34f5de19e42b2d63a4
BLAKE2b-256 checksum
How to use checksums
fb2140ab33c715a41247bb9f472e492c042b6c68d885acbde5f1cadb08051664
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 22, 2026.

Transparency log

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

Download URL oep_client_python-0.0.63-py3-none-any.whl
Size 957.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84ad2dcf256c55b6969bf134de2ed0ae46029a625f2cae0dba41bab081b01607
BLAKE2b-256 checksum
How to use checksums
babe1177d97fa151fadac8c0c1fee7f27b669587e9e3e16d9f17c420ce2ab90c
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 22, 2026.

Transparency log

Security for oep-client-python 0.0.63

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.63.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 22, 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.63 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