smolpy 1.8.2.dev2__py3-none-any.whl → 1.8.2.dev8__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: smolpy
3
- Version: 1.8.2.dev2
3
+ Version: 1.8.2.dev8
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
  [![CI](https://github.com/jwszolek/SMOLPy/actions/workflows/ci.yml/badge.svg)](https://github.com/jwszolek/SMOLPy/actions/workflows/ci.yml)
32
32
  [![PyPI version](https://img.shields.io/pypi/v/smolpy)](https://pypi.org/project/smolpy/)
33
+ [![Dev build](https://img.shields.io/github/v/release/jwszolek/SMOLPy?include_prereleases&filter=Development%2A&display_name=release&label=main)](https://github.com/jwszolek/SMOLPy/releases/tag/dev)
33
34
  [![Python](https://img.shields.io/pypi/pyversions/smolpy)](https://pypi.org/project/smolpy/)
34
35
  [![License](https://img.shields.io/github/license/jwszolek/SMOLPy)](LICENSE)
35
36
  [![Docs](https://img.shields.io/badge/docs-mkdocs--material-blue)](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 flows. MQTT, Modbus TCP and PROFINET follow. See [Simulation engine](#simulation-engine) and [ADR-0008](https://jwszolek.github.io/SMOLPy/adr/0008-rust-des-engine-mvp/).
51
+ > The Rust engine covers Ethernet, Modbus TCP and MQTT for now: adapters, switches, links, flows, Modbus polling and MQTT publish/subscribe. PROFINET follows. 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
- Every merge to `main` that changes the package publishes a **development build**, `X.Y.(Z+1).devN` (N commits after the latest release). It is a pre-release on PyPI, so `pip` installs it only with `--pre`, and the GitHub pre-release [Development build](https://github.com/jwszolek/SMOLPy/releases/tag/dev) points to its commit. Releases proper are made by hand.
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 | [![smolpy](https://img.shields.io/pypi/v/smolpy?label=)](https://pypi.org/project/smolpy/) | [![smolpy-engine-rs](https://img.shields.io/pypi/v/smolpy-engine-rs?label=)](https://pypi.org/project/smolpy-engine-rs/) | `pip install "smolpy[rust]"` |
85
+ | **Development**, every merge to `main` | [![dev](https://img.shields.io/github/v/release/jwszolek/SMOLPy?include_prereleases&filter=Development%2A&display_name=release&label=)](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), six 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) |
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.dev2.dist-info/METADATA,sha256=mg4wxU0HK0CUOE5XAfF7alL4d87znpWz5WFe9csXuRE,22904
40
- smolpy-1.8.2.dev2.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
41
- smolpy-1.8.2.dev2.dist-info/entry_points.txt,sha256=hu51QgFSZg23v_VO01FgARiFfmSTFSHJykFOI2gaVdo,43
42
- smolpy-1.8.2.dev2.dist-info/licenses/LICENSE,sha256=3AUGEmG-_hI18sPKmnlIKUxjaYepiEtuq1euWLVrnX8,1065
43
- smolpy-1.8.2.dev2.dist-info/RECORD,,
39
+ smolpy-1.8.2.dev8.dist-info/METADATA,sha256=iMRStLvNPGr10XEcCjDDfpj9Jyaisqu-OBVbC8myNJ8,23974
40
+ smolpy-1.8.2.dev8.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
41
+ smolpy-1.8.2.dev8.dist-info/entry_points.txt,sha256=hu51QgFSZg23v_VO01FgARiFfmSTFSHJykFOI2gaVdo,43
42
+ smolpy-1.8.2.dev8.dist-info/licenses/LICENSE,sha256=3AUGEmG-_hI18sPKmnlIKUxjaYepiEtuq1euWLVrnX8,1065
43
+ smolpy-1.8.2.dev8.dist-info/RECORD,,