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 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.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.8.1
File Size Uploaded Provenance Actions
smolpy_engine_rs-1.8.1.tar.gz 25.2 kB Without provenance Details for smolpy_engine_rs-1.8.1.tar.gz

Built distributions (wheels)

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

Total release size: 1.6 MB

Release files / smolpy_engine_rs-1.8.1.tar.gz

Download URL smolpy_engine_rs-1.8.1.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6301d507506b9cd27e665242aaefb83ea7a05f9678689be3db5339565ad59324
BLAKE2b-256 checksum
How to use checksums
a054c658fd6e489b419b1cb67b2493a5d2c8897c0525f8abf7e94637c9356e5b
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.1-cp310-abi3-win_amd64.whl

Download URL smolpy_engine_rs-1.8.1-cp310-abi3-win_amd64.whl
Size 250.0 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a6b4c4aeef3da5d59513cdf7b28ba55363eba9bc4d1bc23e57932d7f69c3b050
BLAKE2b-256 checksum
How to use checksums
52a43b109f87e97e769a33d1f3c072c1e281e0d1ca3225be90c5ee470bef947d
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.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL smolpy_engine_rs-1.8.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 349.1 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
083178233a5cb783f0fa43e7559f7119d42099db5a55da82273c99c3dd667028
BLAKE2b-256 checksum
How to use checksums
4dc21123d57d6aba91a419b9046c7a3a69cdaa63001283f354dd91b21d11c00c
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.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL smolpy_engine_rs-1.8.1-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
eaf64ca220df9d32a400d227556019c0d86062f21868d4f619b1ac2f3114f580
BLAKE2b-256 checksum
How to use checksums
a2c515323b732cea080df752e99dc1154d590f67552cbf24321da62499e8b477
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.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL smolpy_engine_rs-1.8.1-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
3652cb17a5179df291844a2f3a3aa959fe3c26f1085dcfe87963c9af532aafaf
BLAKE2b-256 checksum
How to use checksums
cc2ea555a036e0d5420fdf097041267e5b7b21cfaa09a5313ffe121b317b676a
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.1-cp310-abi3-macosx_10_12_x86_64.whl

Download URL smolpy_engine_rs-1.8.1-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
888c298fd7de927e59f8226542a6935be1ad98803ef5c3d2de38e01d94734c76
BLAKE2b-256 checksum
How to use checksums
3e7d45f6cd794ef9df1aff4247f1cf1fa11be9c34ae5358943318cb464365496
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.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