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

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

Built distribution (wheel)

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

Total release size: 3.3 MB

Release files / oep_client_python-0.0.65.tar.gz

Download URL oep_client_python-0.0.65.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
682aecaf4bf3b0f845cacac35b2cd120f36d84ee6d78fd9d81931944679046f2
BLAKE2b-256 checksum
How to use checksums
823935a838fa00e1962d4f5faf014a0d4291e379d7be7499327cad6bac26f661
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.65-py3-none-any.whl

Download URL oep_client_python-0.0.65-py3-none-any.whl
Size 960.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5155ce46a2edb46414a746e7aff5622b70574f172fb9f24a185a9f9ee0824939
BLAKE2b-256 checksum
How to use checksums
1ee87aa49867308cc24d8a9bc7f067f3b9ae75a333ffbc40e3a79b1c225dcfac
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.65

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