idf-wokwi
Wokwi simulation extension for ESP-IDF. Adds idf.py wokwi command.
Installation
pip install idf-wokwi
Usage
Set WOKWI_CLI_TOKEN to your Wokwi API token.
export WOKWI_CLI_TOKEN="your-token-here"
# Build and simulate
idf.py build
idf.py wokwi
# CI mode: exit when expected text appears
idf.py wokwi --timeout 10000 --expect-text "Hello world!"
Options
| Option | Description |
|---|---|
--diagram-file |
Path to diagram.json (defaults to project root) |
--timeout |
Simulation timeout in milliseconds (exit code 42 on timeout) |
--expect-text |
Exit successfully when this text appears in serial output |
--fail-text |
Exit with error when this text appears in serial output |
--expect-regex |
Exit successfully when this regex matches a serial output line |
--fail-regex |
Exit with error when this regex matches a serial output line |
Contributing
See CONTRIBUTING.md.
Metadata
Release files for idf-wokwi 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| idf_wokwi-1.1.0.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| idf_wokwi-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / idf_wokwi-1.1.0.tar.gz
| Download URL | idf_wokwi-1.1.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bc809da32cc6d4bed146d977b229489c199f876e5601aa862d2a525cc81c36d
|
|
BLAKE2b-256 checksum How to use checksums |
ae91bbc27a5baff4a13829a210531cec72599d0a84c916b6874257c9a9fa5b29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Feb 19, 2026.
Transparency logRelease files / idf_wokwi-1.1.0-py3-none-any.whl
| Download URL | idf_wokwi-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb1393956ba032cd14c0ab87a5bcc7155937db59f589f5043ef3bf671d726f33
|
|
BLAKE2b-256 checksum How to use checksums |
7d3e741a6d32f474078c05546236ef459d23f17e3db581f9fc5e5c64038d93e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Feb 19, 2026.
Transparency log