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 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 so far.
    • 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.
    • MQTT, Modbus TCP and PROFINET follow. A scenario that uses them is rejected before the run, with a message naming the element.
  • 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.8.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.8.0
File Size Uploaded Provenance Actions
smolpy_engine_rs-1.8.0.tar.gz 25.2 kB Without provenance Details for smolpy_engine_rs-1.8.0.tar.gz

Built distributions (wheels)

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

Total release size: 1.6 MB

Release files / smolpy_engine_rs-1.8.0.tar.gz

Download URL smolpy_engine_rs-1.8.0.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8f6d17b48e7eb77c0398ea8600c106fd1d5d983b465790bd5fd7f7e546216ff5
BLAKE2b-256 checksum
How to use checksums
64f2858fd6ba4b6b792411f25f56e10db32319a25c36b0b8320cabeec6de99d6
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.8.0-cp310-abi3-win_amd64.whl

Download URL smolpy_engine_rs-1.8.0-cp310-abi3-win_amd64.whl
Size 250.0 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8ab46ffa2025f9973782edd72fe019f5231e3b27af4f545b09cbe45754b6bc0b
BLAKE2b-256 checksum
How to use checksums
c351629361601f9e43e4b306590c01eb726c543c29b3e66fbbcfc64d8af6bd95
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.8.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL smolpy_engine_rs-1.8.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 349.0 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
94fd11543b4a21b0e1837667521625f9186a06b66b80a50053429dbb2332d021
BLAKE2b-256 checksum
How to use checksums
0755753af8b70c415de20b228356b098684e5cc51d63f071e98b7e1f3f6d7850
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.8.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL smolpy_engine_rs-1.8.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 340.5 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
80484a7cf08e59def9b4179ddc89c9344352ade2404ba12397ad9fe6e2fbecff
BLAKE2b-256 checksum
How to use checksums
7c5b4ac802396316d8943cc24ee5767993d14e7fc40f7f951b1faa90ac59fb69
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.8.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL smolpy_engine_rs-1.8.0-cp310-abi3-macosx_11_0_arm64.whl
Size 312.0 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c29427217f5b5836fcf0b57aeb9219f7f8b400933887101297a398e358b1a014
BLAKE2b-256 checksum
How to use checksums
a3b2636675c169a31befaf84b199ccec97bc248d5576ec95ee9e69fc06a74da9
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.8.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL smolpy_engine_rs-1.8.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 331.5 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
06502c4089af9549ce111f025b9d90c4f1c7e1cdbf9180032ada6c9a4877da4d
BLAKE2b-256 checksum
How to use checksums
b4593e7292c05f8d2af703471256d1f4b0ffc9b8e9ef78e7b54ec2af288f7c7b
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.8.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.

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