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 or in frames, with tail drop, and the metrics drops, drops_total, ingress_drops_total and egress_drops_total.
    • 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.12.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.12.1.dev2
File Size Uploaded Provenance Actions
smolpy_engine_rs-1.12.1.dev2.tar.gz 38.6 kB Without provenance Details for smolpy_engine_rs-1.12.1.dev2.tar.gz

Built distributions (wheels)

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

Total release size: 1.8 MB

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

Download URL smolpy_engine_rs-1.12.1.dev2.tar.gz
Size 38.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d00367a33e3bf40631bf7a3852ceb23b7cef345a4e4d67c6f7755e61ed8ded58
BLAKE2b-256 checksum
How to use checksums
40ae6ed2037a3498ada02c6084d1d754b3f8208ff2f1f0283139444ced7c1187
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.12.1.dev2-cp310-abi3-win_amd64.whl

Download URL smolpy_engine_rs-1.12.1.dev2-cp310-abi3-win_amd64.whl
Size 278.6 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
1863a294654cc5e2c922afffcdba49f09b1fcfd9053daaee0f6d31a153ea3757
BLAKE2b-256 checksum
How to use checksums
4f1398e557d226fec32a713ff2fffa83d3413f1c9bdc277e0611718bbab78007
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.12.1.dev2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL smolpy_engine_rs-1.12.1.dev2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 377.0 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
ebf5eb7f67f18a9d9ce78d283e1d71849e287d615dbd4d4acce2ad388eb5269a
BLAKE2b-256 checksum
How to use checksums
326087e194a431f1a893780c9a303fb6dd1704dc07ea7efd9868be83873ce86a
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.12.1.dev2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL smolpy_engine_rs-1.12.1.dev2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 366.0 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
6c71847ab2c242284db87d1eed2d2f4f39226d6de6ff75d8f63e46ca1ae37732
BLAKE2b-256 checksum
How to use checksums
21b815fa7f0bca7e7e96091bdb6c8e59c0a7a7aa18c496133a72e37cf25528b3
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.12.1.dev2-cp310-abi3-macosx_11_0_arm64.whl

Download URL smolpy_engine_rs-1.12.1.dev2-cp310-abi3-macosx_11_0_arm64.whl
Size 337.4 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6cfd6a95ca28c808d882e93c054370e556e1fe1bc6c487b9cc5905b1c1ab371d
BLAKE2b-256 checksum
How to use checksums
be87080c358f604764639884768d772eb4cc1745c5bdf769d7274f0afca93be3
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.12.1.dev2-cp310-abi3-macosx_10_12_x86_64.whl

Download URL smolpy_engine_rs-1.12.1.dev2-cp310-abi3-macosx_10_12_x86_64.whl
Size 360.5 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
b02a82bed15bd9399a9c67f1daf086263b07da1867b6d920d2af2f55025d5459
BLAKE2b-256 checksum
How to use checksums
060bf2bcf39932887dac1e83c70c0254719b44c95f45f84c5c047b69b874c1ac
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.12.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