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 pebble
cd pebble
sim86 start board.json
sim86 test -k settings -v

A Pebble 2 Duo smartwatch running the real PebbleOS, live in your browser, and PebbleOS's own UI test: every pixel of the Settings screen against its golden image.

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

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.3
File Size Uploaded Provenance Actions
sim86-0.1.3.tar.gz 47.2 kB Without provenance Details for sim86-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 100.0 kB

Release files / sim86-0.1.3.tar.gz

Download URL sim86-0.1.3.tar.gz
Size 47.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1e662f60684e08a7ffa805e483d47d2a71bbdf7a9e043fa711e7f831c624e284
BLAKE2b-256 checksum
How to use checksums
642f25d6371214c4aacc9461b3f19e90e9add64c91b06c56cc099afee0cef611
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.3-py3-none-any.whl

Download URL sim86-0.1.3-py3-none-any.whl
Size 52.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b87bc7df7b0b122f0e5f27080a70b922d98140621f3fafc8d268528e4418fe9
BLAKE2b-256 checksum
How to use checksums
87728a2baf8b5db30a6f1549dc7c36090a4b74c6adb29479599d70e9aa427c69
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.3

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