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 and qso-graph-lib, which pip installs with it: 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, encoded by qso_graph_lib.jt, the same code jt-mcp decodes it with. 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.2.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.2.0
File Size Uploaded Provenance Actions
qso_graph_sim-0.2.0.tar.gz 59.6 kB With provenance Details for qso_graph_sim-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 80.4 kB

Release files / qso_graph_sim-0.2.0.tar.gz

Download URL qso_graph_sim-0.2.0.tar.gz
Size 59.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7ac16b508767964930a74e92e0076b5365e79b8e26790abe4aa9cc9ead6d930f
BLAKE2b-256 checksum
How to use checksums
2b2479df5331ed1ed2eb96cc3a6d98f4a4326ce599c51ab66e8394cf3f0d7cd2
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.2.0-py3-none-any.whl

Download URL qso_graph_sim-0.2.0-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2ac205e96bfd4290ac3916eda491b9d61bcdb30db966331115ae23256d7fb01
BLAKE2b-256 checksum
How to use checksums
258bfc591d13497983c7468e4eb41047a6878afc70820f43973058bdb693bb4c
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.2.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.2.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