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 with every pattern and IMIX sizes.
    • The metrics throughput, latency, bytes_sent, bytes_received, queue_depth and utilization.
    • Modbus TCP polling: slaves, polls and modbus_latency.
    • 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.10.2

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.10.2
File Size Uploaded Provenance Actions
smolpy_engine_rs-1.10.2.tar.gz 32.8 kB Without provenance Details for smolpy_engine_rs-1.10.2.tar.gz

Built distributions (wheels)

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

Total release size: 1.7 MB

Release files / smolpy_engine_rs-1.10.2.tar.gz

Download URL smolpy_engine_rs-1.10.2.tar.gz
Size 32.8 kB
Tags Source
SHA-256 checksum
How to use checksums
487f66326e2f5485bf48f720d9b2720292b3a1361d091e70c5bb28dc2e55fc3f
BLAKE2b-256 checksum
How to use checksums
684f106970ff15d80fbf861bfab50942959fac465cf698c7335a24dc0efd7ac9
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.10.2-cp310-abi3-win_amd64.whl

Download URL smolpy_engine_rs-1.10.2-cp310-abi3-win_amd64.whl
Size 268.5 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d4acb4ad39d28dfd9d2537bbc51b2fb803c15d2ab140b151fc74b01b87b5f4cc
BLAKE2b-256 checksum
How to use checksums
af03b7d181eddce94e887d2262cc7961153148df1368e910da6b5bae99ec3362
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.10.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL smolpy_engine_rs-1.10.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 369.1 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
99b3119d656aac22d077767ca76f701032e49487caacf90cc40e5c02d88e62d8
BLAKE2b-256 checksum
How to use checksums
ccdcace3bdfe5a3429b258410a6b1563293734c065cabb51f2aceec8f8e9d921
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.10.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL smolpy_engine_rs-1.10.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 357.6 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
92508ec9ab6f7bea6bb222a229826d9a1f6f217ef614270ebe61023db355a57b
BLAKE2b-256 checksum
How to use checksums
afe6a68b66863079900bd094dfe9a161f12963c11854565bb5f9a73d0b905745
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.10.2-cp310-abi3-macosx_11_0_arm64.whl

Download URL smolpy_engine_rs-1.10.2-cp310-abi3-macosx_11_0_arm64.whl
Size 328.2 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
06fa104b6c7cf8bcd1986d1abf08072445912d21365a6c90cae931a7c639043a
BLAKE2b-256 checksum
How to use checksums
7845ac04672246211f849de925d1495b4f8b662c2c916a6d9245e553eceee5fa
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.10.2-cp310-abi3-macosx_10_12_x86_64.whl

Download URL smolpy_engine_rs-1.10.2-cp310-abi3-macosx_10_12_x86_64.whl
Size 350.8 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
5870a5cfb4e6c0d922b3f13a4486e7174719023cff0d1f1ed692a81a371ab635
BLAKE2b-256 checksum
How to use checksums
9e88160ac84c1e9bb487573d95f3f9129fcce07a16e6330bf94bfd84fd50e43f
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.10.2

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