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, 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.13.2.dev3

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.13.2.dev3
File Size Uploaded Provenance Actions
smolpy_engine_rs-1.13.2.dev3.tar.gz 40.2 kB Without provenance Details for smolpy_engine_rs-1.13.2.dev3.tar.gz

Built distributions (wheels)

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

Total release size: 1.8 MB

Release files / smolpy_engine_rs-1.13.2.dev3.tar.gz

Download URL smolpy_engine_rs-1.13.2.dev3.tar.gz
Size 40.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bdbc49e36c4dc7e0933cc72b669add315fc690b0de51c3eefa26e6983d4441df
BLAKE2b-256 checksum
How to use checksums
2177fa8cc4b31849d94841e9fe291ac3b8748e696d1430e7ba5af543496e0630
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.13.2.dev3-cp310-abi3-win_amd64.whl

Download URL smolpy_engine_rs-1.13.2.dev3-cp310-abi3-win_amd64.whl
Size 282.9 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b3636a7d2201832644465b1e2b482791516a93b53cbee8114503d6ec9b968086
BLAKE2b-256 checksum
How to use checksums
dc2580ee03a6f4d7d91865d0f63c314166f229a1d5154ca0744e28019af9ef93
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.13.2.dev3-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL smolpy_engine_rs-1.13.2.dev3-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
f4b4430410c146900c9c9e921842cfd7badac150e2e70f0574e5c11cc41801ba
BLAKE2b-256 checksum
How to use checksums
2c555e0ac2072ed54193ad8ef3ad5da7e69269d04257d614e90408825f926c1f
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.13.2.dev3-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL smolpy_engine_rs-1.13.2.dev3-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
d159d89e6f185e5cfece2e388e507d6f2cf6af9338a38ea24e4eb93c53c04932
BLAKE2b-256 checksum
How to use checksums
d97687d26dc39ff2caecd2883d543776dfecd37d33922af0dc71d6a0f27f3159
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.13.2.dev3-cp310-abi3-macosx_11_0_arm64.whl

Download URL smolpy_engine_rs-1.13.2.dev3-cp310-abi3-macosx_11_0_arm64.whl
Size 340.1 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f47793f33c5f900b7871be4e24c73204a4662fbeaa9feb44db5631823cf424f7
BLAKE2b-256 checksum
How to use checksums
0ee53067f7dfd5f91ae93836868aafefdc9bec7ab2494e07628583fe3b92cf14
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.13.2.dev3-cp310-abi3-macosx_10_12_x86_64.whl

Download URL smolpy_engine_rs-1.13.2.dev3-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
957f79078aeffa2ee1eda634c9f6933d7ab06bbc590d973bae33f55cc04aeb7f
BLAKE2b-256 checksum
How to use checksums
c4448c169cca894bdc342f726b8926382b9f7f07de3f9947f8a58e62719fdf47
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.13.2.dev3

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