smolpy 1.8.2.dev2__py3-none-any.whl → 1.8.2.dev6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {smolpy-1.8.2.dev2.dist-info → smolpy-1.8.2.dev6.dist-info}/METADATA +15 -4
- {smolpy-1.8.2.dev2.dist-info → smolpy-1.8.2.dev6.dist-info}/RECORD +5 -5
- {smolpy-1.8.2.dev2.dist-info → smolpy-1.8.2.dev6.dist-info}/WHEEL +0 -0
- {smolpy-1.8.2.dev2.dist-info → smolpy-1.8.2.dev6.dist-info}/entry_points.txt +0 -0
- {smolpy-1.8.2.dev2.dist-info → smolpy-1.8.2.dev6.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: smolpy
|
|
3
|
-
Version: 1.8.2.
|
|
3
|
+
Version: 1.8.2.dev6
|
|
4
4
|
Summary: Network simulation DSL and discrete-event simulator
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -30,6 +30,7 @@ Description-Content-Type: text/markdown
|
|
|
30
30
|
|
|
31
31
|
[](https://github.com/jwszolek/SMOLPy/actions/workflows/ci.yml)
|
|
32
32
|
[](https://pypi.org/project/smolpy/)
|
|
33
|
+
[](https://github.com/jwszolek/SMOLPy/releases/tag/dev)
|
|
33
34
|
[](https://pypi.org/project/smolpy/)
|
|
34
35
|
[](LICENSE)
|
|
35
36
|
[](https://jwszolek.github.io/SMOLPy/)
|
|
@@ -47,7 +48,7 @@ SMOLPy lets you describe a network topology in pure Python, define traffic flows
|
|
|
47
48
|
> result = net.simulate(duration=60_000, backend="rust")
|
|
48
49
|
> ```
|
|
49
50
|
>
|
|
50
|
-
> The Rust engine covers Ethernet for now: adapters, switches, links and
|
|
51
|
+
> The Rust engine covers Ethernet and Modbus TCP for now: adapters, switches, links, flows and Modbus polling. MQTT and PROFINET follow. See [Simulation engine](#simulation-engine) and [ADR-0008](https://jwszolek.github.io/SMOLPy/adr/0008-rust-des-engine-mvp/).
|
|
51
52
|
|
|
52
53
|
📖 **Full documentation:** [jwszolek.github.io/SMOLPy](https://jwszolek.github.io/SMOLPy/)
|
|
53
54
|
|
|
@@ -76,7 +77,17 @@ pip install "smolpy[rust]" # plus the native Rust engine, about 40x faster
|
|
|
76
77
|
pip install --pre "smolpy[rust]" # the latest development build of main
|
|
77
78
|
```
|
|
78
79
|
|
|
79
|
-
|
|
80
|
+
**Release channels.** The versions below are read live from PyPI and GitHub, so this table is always current:
|
|
81
|
+
|
|
82
|
+
| Channel | smolpy | smolpy-engine-rs | Install |
|
|
83
|
+
|---|---|---|---|
|
|
84
|
+
| **Stable**, released by hand | [](https://pypi.org/project/smolpy/) | [](https://pypi.org/project/smolpy-engine-rs/) | `pip install "smolpy[rust]"` |
|
|
85
|
+
| **Development**, every merge to `main` | [](https://github.com/jwszolek/SMOLPy/releases/tag/dev) | same version | `pip install --pre "smolpy[rust]"` |
|
|
86
|
+
|
|
87
|
+
- **What a development build is.** Every merge to `main` that changes the package publishes one, as `X.Y.(Z+1).devN`, N commits after the latest release.
|
|
88
|
+
- **How to get it.** It is a pre-release on PyPI, so `pip` installs it only with `--pre`.
|
|
89
|
+
- **Where it is on GitHub.** The [Development build](https://github.com/jwszolek/SMOLPy/releases/tag/dev) pre-release points to its commit.
|
|
90
|
+
- **Releases proper** are made by hand.
|
|
80
91
|
|
|
81
92
|
From a clone, for development:
|
|
82
93
|
|
|
@@ -460,7 +471,7 @@ Every simulation goes through the same path. The Python API and `.smol` files bu
|
|
|
460
471
|
| Backend | Language | What it runs | Speed | Install |
|
|
461
472
|
|---|---|---|---|---|
|
|
462
473
|
| `simpy` (default) | Python, SimPy | the whole model, the live and text dashboards | reference | included |
|
|
463
|
-
| `rust` | Rust, through PyO3 | Ethernet: adapters, switches, links, flows (constant, Poisson, bursty, batch, IMIX)
|
|
474
|
+
| `rust` | Rust, through PyO3 | Ethernet: adapters, switches, links, flows (constant, Poisson, bursty, batch, IMIX); Modbus TCP polling; seven metrics | about **40× faster**: B1 at 10 M frames in 4.9 s, not 200.8 s | `pip install smolpy[rust]` (since v1.8.0) |
|
|
464
475
|
|
|
465
476
|
```python
|
|
466
477
|
result = net.simulate(duration=60_000, backend="rust") # one run
|
|
@@ -36,8 +36,8 @@ smolpy/sim/engine.py,sha256=LjWrQTYdOYUXbKZP8V4lfiI0rdONuFxUywnDndZBduo,37781
|
|
|
36
36
|
smolpy/viz/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
37
|
smolpy/viz/dashboard.py,sha256=VFpLa2RjcoaikkMW4d3FL6-g9aECMcTvnMYMq-gsY9Y,19561
|
|
38
38
|
smolpy/viz/text_dashboard.py,sha256=n-z1FMF1UBGYf-u8XY1NSSVVaJcZQ2jEjkZpJRHPkbM,4688
|
|
39
|
-
smolpy-1.8.2.
|
|
40
|
-
smolpy-1.8.2.
|
|
41
|
-
smolpy-1.8.2.
|
|
42
|
-
smolpy-1.8.2.
|
|
43
|
-
smolpy-1.8.2.
|
|
39
|
+
smolpy-1.8.2.dev6.dist-info/METADATA,sha256=-nTDz7g8cDJcpGBRQgJtgTpCItSPHu1F9Sf9qbZ02UM,23952
|
|
40
|
+
smolpy-1.8.2.dev6.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
41
|
+
smolpy-1.8.2.dev6.dist-info/entry_points.txt,sha256=hu51QgFSZg23v_VO01FgARiFfmSTFSHJykFOI2gaVdo,43
|
|
42
|
+
smolpy-1.8.2.dev6.dist-info/licenses/LICENSE,sha256=3AUGEmG-_hI18sPKmnlIKUxjaYepiEtuq1euWLVrnX8,1065
|
|
43
|
+
smolpy-1.8.2.dev6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|