Skip to main content

smolpy-engine-rs

The native simulation engine of SMOLPy, a network description language and discrete-event simulator for industrial networks. It is written in Rust and exposed to Python with PyO3 (ADR-0008).

pip install smolpy[rust]        # or: pip install smolpy smolpy-engine-rs
result = net.simulate(duration=60_000, backend="rust")
  • The same model as SimPy. SimPy, SMOLPy's reference engine, and this engine implement the same written contract, Model Semantics. On deterministic scenarios they give the same results bit for bit, down to the event count. On random traffic, which uses each engine's own generator, they agree statistically.
  • About 40x faster.
    • B1 at 10 M frames runs in 4.9 s, against 200.8 s on SimPy.
    • A 10 201-node plant (B4) at 100 M frames runs in 5.2 min, against 106 min.
  • Scope: the whole model, headless.
    • Adapters, switches (both QoS modes, learning and converged MAC tables), links, and flows with every pattern and IMIX sizes.
    • The metrics throughput, latency, bytes_sent, bytes_received, queue_depth and utilization.
    • Modbus TCP polling: slaves, open-loop polls and polls with one request in flight and a response timeout, modbus_latency, modbus_unanswered, modbus_timeouts and modbus_skipped.
    • MQTT: brokers, publications with QoS 0 and 1, routes and broker_queue.
    • PROFINET RT: devices, controllers' ARs, the watchdog, pn_latency, pn_jitter and pn_watchdog_expiries.
    • The live and text dashboards need SimPy.
  • Versions. The package is released together with smolpy, with the same version. It checks that it reads the Scenario IR version that smolpy writes.

One abi3 wheel per platform serves every Python from 3.10: Linux x86_64 and aarch64, macOS arm64 and x86_64, and Windows x86_64.

Metadata

Release files for smolpy-engine-rs 1.12.0

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

Source distribution (sdist)

Source distribution for smolpy-engine-rs 1.12.0
File Size Uploaded Provenance Actions
smolpy_engine_rs-1.12.0.tar.gz 35.9 kB Without provenance Details for smolpy_engine_rs-1.12.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for smolpy-engine-rs 1.12.0
File Actions
smolpy_engine_rs-1.12.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for smolpy_engine_rs-1.12.0-cp310-abi3-win_amd64.whl
smolpy_engine_rs-1.12.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for smolpy_engine_rs-1.12.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
smolpy_engine_rs-1.12.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for smolpy_engine_rs-1.12.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
smolpy_engine_rs-1.12.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for smolpy_engine_rs-1.12.0-cp310-abi3-macosx_11_0_arm64.whl
smolpy_engine_rs-1.12.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for smolpy_engine_rs-1.12.0-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 1.7 MB

Release files / smolpy_engine_rs-1.12.0.tar.gz

Download URL smolpy_engine_rs-1.12.0.tar.gz
Size 35.9 kB
Tags Source
SHA-256 checksum
How to use checksums
101b06d48829de6dcabd4d4636a3873ca733172c40ccedb4a423ab78f7ac5844
BLAKE2b-256 checksum
How to use checksums
e1becb1082c05edc474755922ee2541abcbeee1558a3c1ba2c7f8b5fef09512a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / smolpy_engine_rs-1.12.0-cp310-abi3-win_amd64.whl

Download URL smolpy_engine_rs-1.12.0-cp310-abi3-win_amd64.whl
Size 273.9 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
11e2a1fa094c664f15f25ad3812330ba5d62b2ac8d6fecc7f1bb5737ba79e11c
BLAKE2b-256 checksum
How to use checksums
7184b7c9c2224a4c0833cccbe33d00330249aede85a276a7abec660b071413cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / smolpy_engine_rs-1.12.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL smolpy_engine_rs-1.12.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 372.9 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
667c22e52eca5db28a9628f0dc6dee9a90ec3a699a078aa6608e00e1b4b43f1a
BLAKE2b-256 checksum
How to use checksums
7ea880b277be74a205fb52a8e0ea41ca20583f5c8929176971c234a7890cbe2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / smolpy_engine_rs-1.12.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL smolpy_engine_rs-1.12.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 361.3 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
8cf50871f626012e30bd54607b12a9f2601cf33f896126c3ee73baebd32adbe1
BLAKE2b-256 checksum
How to use checksums
1c6057401ec574e450152cf6292ecee7642f397f8040be8a9858c311f4e86b74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / smolpy_engine_rs-1.12.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL smolpy_engine_rs-1.12.0-cp310-abi3-macosx_11_0_arm64.whl
Size 334.0 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e78a3bbc89e32ec0bd1422a6128ae18532de7b829f21e2b629c74fef45206a63
BLAKE2b-256 checksum
How to use checksums
8168897b86b1d562f06045fc4a8dd5e637c811bf97d713d7bdf439a8bed08ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / smolpy_engine_rs-1.12.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL smolpy_engine_rs-1.12.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 356.0 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c0c5e62ff34901853116353896a9e04e0be65be82f017ae7cf61287f6a5fc707
BLAKE2b-256 checksum
How to use checksums
85830e4c41fdc929e44515c337c92312899664e80f639c4d46d262e17d0fc0c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for smolpy-engine-rs 1.12.0

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.

Release history Release notifications | RSS feed

This release

1.12.0 This release

6 release files No provenance

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