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.1

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

Built distributions (wheels)

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

Total release size: 1.7 MB

Release files / smolpy_engine_rs-1.10.1.tar.gz

Download URL smolpy_engine_rs-1.10.1.tar.gz
Size 32.8 kB
Tags Source
SHA-256 checksum
How to use checksums
02e0679c1d5f1cdc4aab9fdf283f2e94cc9bbef61fff56b56fc2d66954f086c7
BLAKE2b-256 checksum
How to use checksums
4254869a6c2ee06a517cca0614fa26d691b937faea063c86855010deee63f01b
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.1-cp310-abi3-win_amd64.whl

Download URL smolpy_engine_rs-1.10.1-cp310-abi3-win_amd64.whl
Size 268.5 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
19be906db7a10e9115cf335ab90b5a4717db2a57045b5b74be24a07711391654
BLAKE2b-256 checksum
How to use checksums
4291c401c363319820d4a15ce2b120ba390a89aee2b9c2dde6bc15fcb6ab939a
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.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL smolpy_engine_rs-1.10.1-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
43e4ce197671a08dc848756f02f8ffa613f2a10c4d11f554da7379f8a7d13a63
BLAKE2b-256 checksum
How to use checksums
6378e03694b270acaab48ddddd06122542243b0c29a098ee533402c182b04524
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.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL smolpy_engine_rs-1.10.1-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
8d6ae2cd2b751fb239181294a88feb4d86635fc46b3203eb5e33513485368303
BLAKE2b-256 checksum
How to use checksums
2879c304b6665888f0d05cdccea8628a8874c27363f163e7bf73b66881ba6c0d
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.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL smolpy_engine_rs-1.10.1-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
913abecb835d698ad52d7f8d820ea778b996f4a1d4d12fa1e0471a2356b6535e
BLAKE2b-256 checksum
How to use checksums
2a2be2774b5f7bc6bf043a42b4629ac0b61fbc06d725e592a00c0181e5a22d23
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.1-cp310-abi3-macosx_10_12_x86_64.whl

Download URL smolpy_engine_rs-1.10.1-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
c71ae6ca2f54905a064d676ee21664cc7080a5ba08b28032e103d69a75a1a36b
BLAKE2b-256 checksum
How to use checksums
7a0965233b4e8aaff03a6dab70ded4b35009d816a6a45185c07a9d6d63c2bbc4
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.1

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