Skip to main content

qso-graph-sim

PyPI Python License: GPL v3

Replays what a ham radio program sends on the network, from its own log, so you can build and test whatever receives it without a radio, an antenna or the program itself.

We start with WSJT-X. Give it an ALL.TXT, the log WSJT-X keeps of every decode, and it sends those decodes over UDP exactly as WSJT-X does: Heartbeat, Status and Decode messages, one cycle every 15 seconds. Anything that listens to WSJT-X, such as QSO Graph Desktop's Monitor, sees a live band.

It needs nothing but Python: no dependencies, no audio and no radio.

Install

uv tool install qso-graph-sim

Or pipx install qso-graph-sim. Either puts the qso-graph-sim command on your PATH, on Windows, Linux and macOS alike. From 0.1.0, the first release; to run the newest code instead, see Development.

Quick start

Point it at the computer and port your receiver listens on. WSJT-X's own default port is 2237.

qso-graph-sim --wsjtx --to 192.168.1.50:2237

With no --file it plays a sample that comes with it: almost two busy minutes of 20 m FT8: 120 decodes in 7 cycles. To play your own log, give it WSJT-X's ALL.TXT:

Platform Where WSJT-X keeps ALL.TXT
Windows %LOCALAPPDATA%\WSJT-X\ALL.TXT
Linux ~/.local/share/WSJT-X/ALL.TXT
macOS ~/Library/Application Support/WSJT-X/ALL.TXT
qso-graph-sim --wsjtx --to 192.168.1.50:2237 --file ALL.TXT --from 260407_233000 --call KI7MT --grid DN13

It stops at the end of the log (or keeps going with --loop), or when you press Ctrl+C. Either way it sends Clear and Close, as WSJT-X does when it shuts down.

What it sends

Per cycle, in the order WSJT-X sends them:

Message When
Heartbeat every 15 seconds
Status as decoding starts and as it ends, with the log's dial frequency and mode, and your --call and --grid
Decode one per line of the log, stamped with the cycle it is played in, so the band looks live
Clear, Close on the way out

It also answers Replay, the message a receiver sends to ask for the decodes WSJT-X already has: every decode played so far, marked not new, then a Status. It listens only to the address it was pointed at, and only to messages for its own Id.

The protocol is WSJT-X's own, as described in Network/NetworkMessage.hpp, schema 3. A Tx line in the log is skipped: these are decodes, not your own transmissions.

Options

qso-graph-sim --wsjtx --to IP:PORT [--file PATH] [--from YYMMDD_HHMMSS]
              [--id NAME] [--call CALL] [--grid GRID] [--speed N] [--loop]
Option Meaning
--wsjtx the program to play as. WSJT-X is the first; more follow
--to IP:PORT the receiver's address. An IP address, not a host name
--file PATH the log to play; the sample if left out
--from YYMMDD_HHMMSS start at this time in the log
--id NAME the instance name to send as; WSJT-X's default is WSJT-X. Run two with different names to look like two rigs
--call, --grid your callsign and grid, sent in Status
--speed N play N times faster than real time, for automated tests; more than 0, up to 1000
--loop start again at the end

Testing with WSJT-X itself

To test with the real program and still no radio, run WSJT-X with Rig: None, then use Help → Download Samples and File → Open to play a recording. WSJT-X decodes it and sends the same messages it sends on the air, marked as off air.

Development

git clone https://github.com/qso-graph/qso-graph-sim.git
cd qso-graph-sim
uv sync --group dev
uv run pytest

Part of QSO-Graph

This package is part of qso-graph, tools for amateur radio. See qso-graph.io for documentation.

License

GPLv3

Metadata

Release files for qso-graph-sim 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qso-graph-sim 0.1.0
File Size Uploaded Provenance Actions
qso_graph_sim-0.1.0.tar.gz 67.0 kB With provenance Details for qso_graph_sim-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qso-graph-sim 0.1.0
File Interpreter ABI Platform Actions
qso_graph_sim-0.1.0-py3-none-any.whl Python 3 none any Details for qso_graph_sim-0.1.0-py3-none-any.whl

Total release size: 94.5 kB

Release files / qso_graph_sim-0.1.0.tar.gz

Download URL qso_graph_sim-0.1.0.tar.gz
Size 67.0 kB
Tags Source
SHA-256 checksum
How to use checksums
24040e747dac75016f22065eca28b9718b15839184324bb536e983ba1c946632
BLAKE2b-256 checksum
How to use checksums
d9fb20cf56fdba81aea8f811300880b828c1bc68f54b0484debe42b6d5d78b72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Release files / qso_graph_sim-0.1.0-py3-none-any.whl

Download URL qso_graph_sim-0.1.0-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccdf9c21926cf5527baea153f6d3d7143bd1f2a06a6efb4d398ae307b23bdfeb
BLAKE2b-256 checksum
How to use checksums
577f9a21fe4420b3e62304cdbeb33e4af55fc4f65f3fd44de91434e17465ff63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Security for qso-graph-sim 0.1.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qso_graph_sim-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

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