Skip to main content

sim86

Run your firmware on simulated boards in the cloud, test it with pytest, and break the hardware on purpose to see what your firmware does.

sim86 fetching an example board, starting it and running a test that passes

Install

pip install sim86
sim86 login

sim86 login signs you in through your browser. On a machine without one, set SIM86_API_KEY (create a key at app.sim86.com → Cloud → API keys).

Try a working board

sim86 init --example uferris
cd uferris
sim86 start board.json
sim86 test -k leds -v

A real board running its author's unmodified firmware, live in your browser, and a test that checks the current through each LED in mA.

Or paste this into a coding agent: Set up sim86 for me by following https://sim86.com/start.md

Test it, then break it

def test_sensor_survives_a_shorted_sda(board):
    board["mcu"].serial.wait_for("ready", ms=2000)

    board.until(edge="sensor.SCL", kind="falling", nth=3)  # mid-transaction
    fault = board.short("sensor.SDA", "gnd")               # SDA stuck low
    board.advance("5ms")
    board.clear(fault)

    board["mcu"].serial.wait_for("sensor ok", ms=1000)     # it must recover

Each test gets its own run of your board. Run them on your machine or in CI with sim86 test.

Docs

Board files, driving a board from the shell, every test and fault API, and CI setup: docs.sim86.com/guides/cli

Metadata

Release files for sim86 0.1.2

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

Source distribution (sdist)

Source distribution for sim86 0.1.2
File Size Uploaded Provenance Actions
sim86-0.1.2.tar.gz 46.7 kB Without provenance Details for sim86-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sim86 0.1.2
File Interpreter ABI Platform Actions
sim86-0.1.2-py3-none-any.whl Python 3 none any Details for sim86-0.1.2-py3-none-any.whl

Total release size: 99.0 kB

Release files / sim86-0.1.2.tar.gz

Download URL sim86-0.1.2.tar.gz
Size 46.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0881a916cc675ac6a6245fe04e4b286b10ce35b584310a046e3bb95cbeca64a1
BLAKE2b-256 checksum
How to use checksums
d0283e7dc30ed66b6c8782d6bcf671cac53aa3afcb28d86bf4a6e62ede83cdaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / sim86-0.1.2-py3-none-any.whl

Download URL sim86-0.1.2-py3-none-any.whl
Size 52.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05e7464e36594e9762e0449454d8d29f52e46d3b67f4a3e2ac26945aebfb504f
BLAKE2b-256 checksum
How to use checksums
5566c26c1d271f81e15c4dac70b1dc672a1f453de844ab85dfe11b9d6145d73a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for sim86 0.1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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