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 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.11.1.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.11.1.dev2
File Size Uploaded Provenance Actions
smolpy_engine_rs-1.11.1.dev2.tar.gz 34.2 kB Without provenance Details for smolpy_engine_rs-1.11.1.dev2.tar.gz

Built distributions (wheels)

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

Total release size: 1.7 MB

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

Download URL smolpy_engine_rs-1.11.1.dev2.tar.gz
Size 34.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b846474fb91c5d67107304ba56da518483690e404a8213bd7b0cd153be17fd28
BLAKE2b-256 checksum
How to use checksums
70af996be18319ef4aa99e2ed962c61478a66e5b37895b9fc71679b5ef053e43
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.11.1.dev2-cp310-abi3-win_amd64.whl

Download URL smolpy_engine_rs-1.11.1.dev2-cp310-abi3-win_amd64.whl
Size 272.2 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
993dd0bc4f1b1ef937c83d8bd45307c1e4d13e19d65b14fa285be828dfa6d6d5
BLAKE2b-256 checksum
How to use checksums
2a9c4792472404bfba990e8b182be4e6d097debd874d946066bb34c97e116892
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.11.1.dev2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL smolpy_engine_rs-1.11.1.dev2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 371.2 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
1f283d4aebd0e60bdbc2b35f6e346f20e1bdc5ecf581d211c174fb738889b7e7
BLAKE2b-256 checksum
How to use checksums
4b1e5033ce00f9285a37b709f6e3b6ef9b70a50560a7e84854e2c3aa56a535ca
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.11.1.dev2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL smolpy_engine_rs-1.11.1.dev2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 359.6 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
179289b0a626816b12f3b79c5097dfd0d7cd72ee4be311b1a784027674164082
BLAKE2b-256 checksum
How to use checksums
1601cdf686a58398725a50e776670bd70a27abdc8f5b00c40a8ac66f7eeaf919
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.11.1.dev2-cp310-abi3-macosx_11_0_arm64.whl

Download URL smolpy_engine_rs-1.11.1.dev2-cp310-abi3-macosx_11_0_arm64.whl
Size 332.4 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a87a32193313b505c1ff317e33457666cea129b4a77b903c74d8e66c98e838be
BLAKE2b-256 checksum
How to use checksums
025a590800a2e3a187d1b0ed71387ce213c3468e993f60465b966d60449a677e
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.11.1.dev2-cp310-abi3-macosx_10_12_x86_64.whl

Download URL smolpy_engine_rs-1.11.1.dev2-cp310-abi3-macosx_10_12_x86_64.whl
Size 354.0 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
cb6abeb43ef613d0f64855ac179b413222b8cd460f8dd706f10f33000ecc0080
BLAKE2b-256 checksum
How to use checksums
f7385a71b52f90a2ca347d4b23206ab13ca22e9a938472a8aac9c30f6ce887d2
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.11.1.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