Skip to main content

pytest-embedded-arduino-cli-ch32rv

Japanese

A pytest-embedded-arduino-cli plugin for CH32 boards flashed by ch32rv (the uploader the ArduinoCore-CH32RV 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
ch32_uart the DUT's UART through the WCH-Link behind the port (the Link's UART bridge, its CDC serial port): ch32_uart.open(baud) returns a channel with expect / expect_exact / write, like dut (pexpect underneath: the same keywords, a 30 s default timeout, pexpect.TIMEOUT)

The fixtures and the device lock hook are the plugin's interface; the module's other names are internal.

OEP probes are oep-client-python's, not this plugin's: its pytest plugin (pip install oep-client-python[pytest]) gives oep_host and oep_uart and names the lock of an oep:// port. On an oep:// port ch32_uart stops with an error pointing to oep_uart. Which DUT USART is wired to the Link is the test's business, not the plugin's.

On a WCH-Link, ch32_uart and a dut read through the monitor's uart source share one serial port: use one or the other in a test, not both.

The device lock (pytest-embedded-arduino-cli's pytest_arduino_cli_device_lock_key) of a WCH-Link is probe:<unit_id>, the name the OEP family uses: the unit_id is the one ch32rv's broker gives the Link (its serial, lower case), so wchlink://<serial>, the Link's serial port and oep://<unit_id>?via=... through ch32rv's broker take one lock. wchlink://usb-<topology> has no serial in it and keeps the upstream rule's lock: name a Link the same way in every run.

pip install pytest-embedded-arduino-cli-ch32rv

Metadata

Release files for pytest-embedded-arduino-cli-ch32rv 0.0.10

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

Source distribution (sdist)

Source distribution for pytest-embedded-arduino-cli-ch32rv 0.0.10
File Size Uploaded Provenance Actions
pytest_embedded_arduino_cli_ch32rv-0.0.10.tar.gz 34.3 kB With provenance Details for pytest_embedded_arduino_cli_ch32rv-0.0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-embedded-arduino-cli-ch32rv 0.0.10
File Interpreter ABI Platform Actions
pytest_embedded_arduino_cli_ch32rv-0.0.10-py3-none-any.whl Python 3 none any Details for pytest_embedded_arduino_cli_ch32rv-0.0.10-py3-none-any.whl

Total release size: 42.1 kB

Release files / pytest_embedded_arduino_cli_ch32rv-0.0.10.tar.gz

Download URL pytest_embedded_arduino_cli_ch32rv-0.0.10.tar.gz
Size 34.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2f3c166e27e51d602c529e6580ba820512715a8df9bf0b74a57309f442e3785a
BLAKE2b-256 checksum
How to use checksums
d7c74d060d958ea07bf0923566f49bbf3e98d33f83dbf3368ff11224579f7621
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 13, 2026.

Transparency log

Release files / pytest_embedded_arduino_cli_ch32rv-0.0.10-py3-none-any.whl

Download URL pytest_embedded_arduino_cli_ch32rv-0.0.10-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7f7336c3ae96771b78cc91583a97019134f584f2fc824c5a3b84404d370a0df
BLAKE2b-256 checksum
How to use checksums
ccb6fe893b6b25e36e3d4e7be0862eb0fd19268a142b4b659bb900e0d4714ee3
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 13, 2026.

Transparency log

Security for pytest-embedded-arduino-cli-ch32rv 0.0.10

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 pytest_embedded_arduino_cli_ch32rv-0.0.10.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 13, 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.

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