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 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, 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.14.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.14.0
File Size Uploaded Provenance Actions
smolpy_engine_rs-1.14.0.tar.gz 40.2 kB Without provenance Details for smolpy_engine_rs-1.14.0.tar.gz

Built distributions (wheels)

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

Total release size: 1.8 MB

Release files / smolpy_engine_rs-1.14.0.tar.gz

Download URL smolpy_engine_rs-1.14.0.tar.gz
Size 40.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7f3da5d24841c1e86d36129707280ac0e3f9e32c247b5af62841a03a8eb97023
BLAKE2b-256 checksum
How to use checksums
c9c137695ea7fe3c6d8d035a125fb5d43f8c5e42bbfac77ff8ee31e04a0582d9
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.14.0-cp310-abi3-win_amd64.whl

Download URL smolpy_engine_rs-1.14.0-cp310-abi3-win_amd64.whl
Size 282.9 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4f351318f03a4a65401ed39a5e2faf87e69cf092be93e47a45229a8de5aa07b0
BLAKE2b-256 checksum
How to use checksums
f3ddf8038a2dd7542b5cbadd17bfcf950b22971409355e5168872e594457246c
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.14.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL smolpy_engine_rs-1.14.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 380.3 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
3ee1217e70e1ab63041354a93f1e0cca731a1d6d76474041cd5fe7c2b0905415
BLAKE2b-256 checksum
How to use checksums
7a65a83d759054a9206d8f54113f20a438bf7f673d4917b3719c372ca34fa328
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.14.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL smolpy_engine_rs-1.14.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 368.1 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
959b195dbb24c118b3fcf3fc16809a2e4594bc39559f9b16c8a4b0585904b7c6
BLAKE2b-256 checksum
How to use checksums
6563c3fe93e03bc8748774cfd77448169ac7382befdf4790c574b5d78e1dbf9a
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.14.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL smolpy_engine_rs-1.14.0-cp310-abi3-macosx_11_0_arm64.whl
Size 340.0 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b2073d01495d7c6710771ab46f0aa143bbdd4c2cbc3e8f18b2e8e3d174a5e632
BLAKE2b-256 checksum
How to use checksums
67aa4d8154ca37bc240190d41dfe256764d76a3f935c486d8a5656faa5a14ef4
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.14.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL smolpy_engine_rs-1.14.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 363.3 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
3c42178618a01d88592fb0df1c5a0bc25beaa3f18bded6ec575a2e1042792331
BLAKE2b-256 checksum
How to use checksums
fd6ade8ea8aec80c3e5e2ec28f82bb6d303476cf3ad757924135179670e0a258
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.14.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.14.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