Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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 between any two end stations with every pattern and IMIX sizes.
    • Switch buffers: egress and ingress limits, in bytes, frames or cells, with tail drop or a resume threshold, a shared pool with reserves and drains, and the metrics drops, drops_total, ingress_drops_total, egress_drops_total, and the drop episodes and drop time of each scope.
    • The metrics throughput, latency, bytes_sent, bytes_received, frames_sent, frames_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, on a master or over the polls of a slave.
    • 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.17.1.dev2

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.17.1.dev2
File Size Uploaded Provenance Actions
smolpy_engine_rs-1.17.1.dev2.tar.gz 44.4 kB Without provenance Details for smolpy_engine_rs-1.17.1.dev2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for smolpy-engine-rs 1.17.1.dev2
File Actions
smolpy_engine_rs-1.17.1.dev2-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for smolpy_engine_rs-1.17.1.dev2-cp310-abi3-win_amd64.whl
smolpy_engine_rs-1.17.1.dev2-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.17.1.dev2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
smolpy_engine_rs-1.17.1.dev2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for smolpy_engine_rs-1.17.1.dev2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
smolpy_engine_rs-1.17.1.dev2-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for smolpy_engine_rs-1.17.1.dev2-cp310-abi3-macosx_11_0_arm64.whl
smolpy_engine_rs-1.17.1.dev2-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for smolpy_engine_rs-1.17.1.dev2-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 1.8 MB

Release files / smolpy_engine_rs-1.17.1.dev2.tar.gz

Download URL smolpy_engine_rs-1.17.1.dev2.tar.gz
Size 44.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0b0437aeb612f7bfe060a26b326e48e4a0ed76a1cc5be45b9a6271fe0b6009f8
BLAKE2b-256 checksum
How to use checksums
885a8d226f7a71acb499b35653794bf7e5dba4d33e99a04f34a88ae258188801
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.17.1.dev2-cp310-abi3-win_amd64.whl

Download URL smolpy_engine_rs-1.17.1.dev2-cp310-abi3-win_amd64.whl
Size 286.4 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
dd74bc1ed5632316c204a37e13c293e1e1cc4e8d4be43c92b9d775b912baf735
BLAKE2b-256 checksum
How to use checksums
dc7703a35cc2bd349f978c97e8268038c4cca70191c6819d3798a2136f766ba0
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.17.1.dev2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL smolpy_engine_rs-1.17.1.dev2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 385.3 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
526eb92ef8339d33fc9348bb234a4d5b77de28541364af8046a49bd72a8ea211
BLAKE2b-256 checksum
How to use checksums
97618b553f46917560953ef0f6ac322011e44cf7fc9c2949265270125673eb3b
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.17.1.dev2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL smolpy_engine_rs-1.17.1.dev2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 372.7 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
bd5585057e7290194549d94479e037ef4041aad7fa827b5bf7b8d1eceee2adcb
BLAKE2b-256 checksum
How to use checksums
0876a31cb93529e942c6af7cf3659ae1f429b649c870a2264b90fd8fa3b520d8
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.17.1.dev2-cp310-abi3-macosx_11_0_arm64.whl

Download URL smolpy_engine_rs-1.17.1.dev2-cp310-abi3-macosx_11_0_arm64.whl
Size 344.4 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
79c7bd68f24ff3ed14865b6f6f8c85d9307793b531943cac1bcfd36cb3a25b9a
BLAKE2b-256 checksum
How to use checksums
f391dcc69bf8a395febe0f807197606183c99c0382dd78939d319c05e0764a74
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.17.1.dev2-cp310-abi3-macosx_10_12_x86_64.whl

Download URL smolpy_engine_rs-1.17.1.dev2-cp310-abi3-macosx_10_12_x86_64.whl
Size 367.9 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
9fd230cdcfb67bba8090a7345ba01d298e28c066bbb6a5aa3ee24865200c50ed
BLAKE2b-256 checksum
How to use checksums
c5d11c18e2b20ebfc71fcd5c67da7c95c4ef98e59dd5b2b8df8467ca27973b3a
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.17.1.dev2

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