pytest-embedded-arduino-cli-ch32rv
A pytest-embedded-arduino-cli plugin for CH32 boards flashed by ch32rv (the uploader the ArduinoCore-CH32 platform bundles).
pytest-embedded-arduino-cli already uploads with ch32rv and gives the test a dut read through ch32rv's monitor (pick
its source - uart, dmseq, ... - with the profile's port_config in sketch.yaml). This plugin adds:
| fixture | what it is |
|---|---|
ch32rv |
the ch32rv the platform installed (runtime.tools.ch32rv.path), as a path |
oep_host |
an oep-client-python session on the OEP probe behind the port, through ch32rv's broker (.host is the Host) |
ch32_uart |
the DUT's UART as the probe sees it: ch32_uart.open(baud) returns a channel with expect / expect_exact / write, like dut |
ch32_uart opens a WCH-Link's UART bridge (the CDC serial port of the Link behind the port), or on an OEP probe the
oep.fixture.uart whose pins the probe's saved plan assigns (oep config plan <probe> oep.fixture.uart#<n> rx=<ch> tx=<ch> --save). Which DUT USART and route are wired to the probe is the test's business, not the plugin's.
The OEP session holds a 60 s lease, refreshed whenever the test uses it; a test that stays quiet for longer loses it.
pip install pytest-embedded-arduino-cli-ch32rv
Metadata
Release files for pytest-embedded-arduino-cli-ch32rv 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_embedded_arduino_cli_ch32rv-0.0.3.tar.gz | 26.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_embedded_arduino_cli_ch32rv-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.7 kB
Release files / pytest_embedded_arduino_cli_ch32rv-0.0.3.tar.gz
| Download URL | pytest_embedded_arduino_cli_ch32rv-0.0.3.tar.gz |
|---|---|
| Size | 26.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de4134f7fb484a82adbd5a7384c944e3eb75814de1fa1acea79ea228617be951
|
|
BLAKE2b-256 checksum How to use checksums |
03b4bfa090388110673552309b88049bcb15de5333a3fd5ba1410a6a384f9e45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 30, 2026.
Transparency logRelease files / pytest_embedded_arduino_cli_ch32rv-0.0.3-py3-none-any.whl
| Download URL | pytest_embedded_arduino_cli_ch32rv-0.0.3-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8af306f0c54c6415daff057c087b768b3c5206c23fb3fd5dd19dd9c2e034706b
|
|
BLAKE2b-256 checksum How to use checksums |
e2f0623d1e92f505f8632076c9b36881960aa51151f906c3fc632578ee9f1457
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 30, 2026.
Transparency log