Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ This site describes the 2.x preview. The three tools need Python 3.10 or later a
Windows PowerShell.

```bash
uv tool install --prerelease allow "modpoll==2.0.0a13"
uv tool install --prerelease allow "modsim==2.0.0a15"
uv tool install --prerelease allow "modpoll-wot==0.7.0a2"
uv tool install --prerelease allow "modpoll==2.0.0a14"
uv tool install --prerelease allow "modsim==2.0.0a16"
uv tool install --prerelease allow "modpoll-wot==0.7.0a3"
```

Modbus RTU support (pyserial) is included in modpoll since 2.0.0a12. For existing CSV installations use
Expand All @@ -30,14 +30,14 @@ package ships `py.typed`.
The preview images run without a local installation and show the tool version by default:

```bash
docker run --rm topmaker/modpoll:2.0.0a13
docker run --rm topmaker/modpoll:2.0.0a14
```

The stable `latest` tag stays on 1.x. To read a local configuration file, mount its folder into the container.
On Linux, host networking connects the container to a simulator on the host; `-d` (daemon mode) suppresses the
tables:

```bash
docker run --rm --network host -v "$(pwd)/examples:/app/examples:ro" topmaker/modpoll:2.0.0a13 \
docker run --rm --network host -v "$(pwd)/examples:/app/examples:ro" topmaker/modpoll:2.0.0a14 \
modpoll -d --tcp 127.0.0.1 --tcp-port 5020 --config /app/examples/modsim.tm.json
```
2 changes: 1 addition & 1 deletion packages/modpoll-wot/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "modpoll-wot"
version = "0.7.0a2"
version = "0.7.0a3"
description = "Shared WoT Modbus configuration interpreter"
authors = [{ name = "Ying Shaodong", email = "helloysd@gmail.com" }]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion packages/modpoll/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A command-line tool that reads Modbus TCP and RTU devices from a W3C WoT Thing M
MQTT and writes verification reports. v1 CSV configurations keep working.

```bash
uv tool install --prerelease allow "modpoll==2.0.0a13"
uv tool install --prerelease allow "modpoll==2.0.0a14"
modpoll --once --tcp 192.168.1.10 --config device.tm.json
```

Expand Down
8 changes: 7 additions & 1 deletion packages/modpoll/docs/preview-notes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Modpoll 2.0.0a13 preview
# Modpoll 2.0.0a14 preview

Modpoll 2.0.0a14 pins modpoll-wot 0.7.0a3 and moves its documentation to the shared site for modpoll, modsim
and modpoll-wot at <https://top-maker.github.io/modpoll/v2/>. The `--upload` help names saved reports
`report-DATE.json`. Nothing else changes.

## Modpoll 2.0.0a13 preview

Modpoll 2.0.0a13 pins modpoll-wot 0.7.0a2 and writes verification report schema 5:

Expand Down
4 changes: 2 additions & 2 deletions packages/modpoll/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "modpoll"
version = "2.0.0a13"
version = "2.0.0a14"
description = "A New Command-line Tool for Modbus and MQTT"
authors = [{ name = "Ying Shaodong", email = "helloysd@gmail.com" }]
readme = "README.md"
Expand All @@ -12,7 +12,7 @@ dependencies = [
"requests>=2.32.5,<3.0.0",
# Modbus RTU works out of the box; pyserial is pure Python and installs everywhere.
"pyserial>=3.5,<4.0",
"modpoll-wot==0.7.0a2",
"modpoll-wot==0.7.0a3",
]

[project.optional-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion packages/modsim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A Modbus device simulator for integration and testing. It runs a device from a W
data, over Modbus TCP or a virtual serial port, and runs several devices on one listener from a deployment file.

```bash
uv tool install --prerelease allow "modsim==2.0.0a15"
uv tool install --prerelease allow "modsim==2.0.0a16"
modsim --config device.tm.json --port 5020
```

Expand Down
8 changes: 7 additions & 1 deletion packages/modsim/docs/preview-notes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Modsim 2.0.0a15 preview
# Modsim 2.0.0a16 preview

Modsim 2.0.0a16 pins modpoll-wot 0.7.0a3. Its documentation moved to the shared site for modpoll, modsim and
modpoll-wot at <https://top-maker.github.io/modpoll/v2/>, which is also its PyPI documentation link. It changes
nothing in the simulator.

## Modsim 2.0.0a15 preview

Modsim 2.0.0a15 pins modpoll-wot 0.7.0a2, which adds verification report schema 5 with identity results. It
changes nothing in the simulator.
Expand Down
2 changes: 1 addition & 1 deletion packages/modsim/modsim/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.0a15"
__version__ = "2.0.0a16"
4 changes: 2 additions & 2 deletions packages/modsim/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[project]
name = "modsim"
version = "2.0.0a15"
version = "2.0.0a16"
description = "A Simple Modbus TCP Device Simulator used for modpoll tool"
authors = [{ name = "Ying Shaodong", email = "helloysd@gmail.com" }]
readme = "README.md"
requires-python = ">=3.10,<4.0"
dependencies = [
"pymodbus~=3.16.1",
"pyserial>=3.5,<4.0",
"modpoll-wot==0.7.0a2",
"modpoll-wot==0.7.0a3",
"jsonschema>=4.21,<5",
"PyYAML>=6,<7",
]
Expand Down
2 changes: 1 addition & 1 deletion packages/modsim/tests/fixtures/io-module/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"source_sha256": "4c2aee3334faf6622f4ee34a23108fa0ec100a6b3110a78200eee79da8935596",
"generator": {
"package": "modpoll-wot",
"version": "0.7.0a2"
"version": "0.7.0a3"
},
"instance": {
"host": "127.0.0.1",
Expand Down
6 changes: 3 additions & 3 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading