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.15.2.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.15.2.dev2
File Size Uploaded Provenance Actions
smolpy_engine_rs-1.15.2.dev2.tar.gz 42.4 kB Without provenance Details for smolpy_engine_rs-1.15.2.dev2.tar.gz

Built distributions (wheels)

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

Total release size: 1.8 MB

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

Download URL smolpy_engine_rs-1.15.2.dev2.tar.gz
Size 42.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a8f64d09697117b735fb747274638de8f02111ce77924d030d3b8e5c3cc5eb22
BLAKE2b-256 checksum
How to use checksums
eff8b4cfd973bcf7b310eebbf95b2aef4e2ebdfe00880798b44802594d7580dd
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.15.2.dev2-cp310-abi3-win_amd64.whl

Download URL smolpy_engine_rs-1.15.2.dev2-cp310-abi3-win_amd64.whl
Size 284.7 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5e09ca5f7eaf7958ee4da3f75f54211e03bfd43afd470bca72da9be4b3ada69b
BLAKE2b-256 checksum
How to use checksums
c964586afb1893b3d9ed5e243dfd70efb0add6c65f18f40c2fbd2f84458fbd42
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.15.2.dev2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL smolpy_engine_rs-1.15.2.dev2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 383.3 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
02dedcca027c189ebbbc1b01ae02a9a89100a3c69ad930934acd36b99652df68
BLAKE2b-256 checksum
How to use checksums
6a2c5d1fec62787bd4426e6170622fb0b7cb09f4ef36c4e2d67891aa83a37fa2
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.15.2.dev2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL smolpy_engine_rs-1.15.2.dev2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 371.0 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
05a3fc221b9e892f4052fc52aa027e290e643dacd744e75ba9f7774acbd657d3
BLAKE2b-256 checksum
How to use checksums
92ae5b4ecfbc79bb324c853b310516e552a140492514b92f8787de445e5e4540
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.15.2.dev2-cp310-abi3-macosx_11_0_arm64.whl

Download URL smolpy_engine_rs-1.15.2.dev2-cp310-abi3-macosx_11_0_arm64.whl
Size 343.1 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5a54ad267a3d2ebc1d340764220eb9298a8aabf81d4afab4585809172df65ce2
BLAKE2b-256 checksum
How to use checksums
c624b7ff0b8601203f986c5a52a8417e7d8d1b4f36ac430df1f69c81f6523930
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.15.2.dev2-cp310-abi3-macosx_10_12_x86_64.whl

Download URL smolpy_engine_rs-1.15.2.dev2-cp310-abi3-macosx_10_12_x86_64.whl
Size 366.1 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
882c68d9a220fbdf2d23df749648c770d76977b3ecacca3c5a0d44540b52b721
BLAKE2b-256 checksum
How to use checksums
b5e1b2814d41ba0b1977bbdc3524ed3361051970496631a70b96261d951dfcaa
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.15.2.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