Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.1.1 instead.
Reason given by maintainers: packaging incorrect

PyFT8m

This repo contains a minimised FT8 decoder written entirely in Python, together with a minimal transmitter and GUI which can together comprise a simple FT8 transceiver.

The 'm' at the end of 'PyFT8m' is meant to indicate 'modular', as I've separated the transmitter and receiver from the GUI so that they can run standalone and be swapped out. They communicate with the GUI (or any other software you might want to write) via UDP - see below.

I started building this in October 2026 based on what I'd learned whilst writing PyFT8. Please see the readme file there for more information.

Capture2

Features

As of version 1.0.0, the key features are:

  • Written entirely in Python
  • Implements LDPC and OSD decoding
  • Demonstrated by a Tkinter GUI
  • Receiver and Transmitter can be used standalone
  • Internal connections are via UDP (so e.g. alternative Receivers / Transmitters could be easily swapped in)
  • Rx and Tx of standard messages with optional /P and /R
  • Tx uses GFSK waveform as defined in FT8 standard
  • RX of nonstandard calls plus hashed calls
  • Launches quickly (~2 seconds on my old Dell Optiplex 790)
  • Finds sound cards by keywords so follows them if e.g. Windows moves them ...
  • Logs QSOs to user-specified ADIF file
  • Uploads spots to pskreporter
  • Controls rigs via Hamlib's rigctl.exe, which doesn't hog the rig's COM port
  • Click on the spectrum display to set Tx frequency

Design philosophy

This isn't meant to do anything 'better' than applications like WSJT-x and MSHV, but it illustrates what can be done in a very few lines of Python, and it is written to be free of bloat. Currently, the code comprises:

  • Receiver ~ 300 lines, including LDPC and OSD decoding
  • Transmitter ~ 300 lines
  • Tkinter GUI ~ 500 lines

That's an FT8 transmitter / receiver in about 1100 lines of Python. The Receiver and Transmitter are implemented in single Python files (apart from common use of a small UDP class) and communicate with the GUI only via UDP. The point of doing this is to keep the interfaces here minimal, so that in theory it's easy to swap out either transmitter, receiver, or GUI and replace it with something written in any other language, subject to meeting / adapting the UDP commands reference below.

Installation and use

To use it as a 'turnkey' transceiver, just install the project via pip:

pip install PyFT8m

... and then run the tk_gui either in a Python environment or by using a command like

python -m PyFT8m.tk_gui (note: case sensitive)

I haven't written too much of a step by step quide here, as the project is really intended for people who want to poke around and maybe modify the code. But hopefully even if you're new to Python or coding, you can have a look and work out how it's done.

To control a rig's PTT and frequency, you'll need a copy of Hamlib's rigctl.exe.

UDP messages

The following shows the main points of the way that the UDP messages are constructed - please see the code for the absolute reference.

  1. All UDP messages apart from those sent to pskreporter.info or the waterfall data sent from the receiver to the GUI, are Python dictionaries serialised with JSON and encoded to bytes.
  2. All dictionaries start with a key called 'mtype' meaning 'messsage type'. The main ones are 'decode' (indicating that the dictionary contains various entries from a decoded message), 'shutdown', 'waterfall', 'rollover', 'test_info', 'set_tx_Hz', 'generate_tx_audio', 'send_tx_audio', 'stop_tx_audio'.

As the project grows, I might write a more formal spec for these messages.

Acknowledgements

This project implements a decoder for the FT8 digital mode. FT8 was developed by Joe Taylor, K1JT, Steve Franke, K9AN, and others as part of the WSJT-X project. Protocol details are based on information publicly described by the WSJT-X authors and in related open documentation.

Some constants and tables (e.g. Costas synchronization sequence, LDPC structure, message packing scheme) are derived from the publicly available WSJT-X source code and FT8 protocol descriptions. Original WSJT-X source is © the WSJT Development Group and distributed under the GNU General Public License v3 (GPL-3.0), hence the use of GPL-3.0 in this repository.

Metadata

Release files for PyFT8m 0.9.11

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

Source distribution (sdist)

Source distribution for PyFT8m 0.9.11
File Size Uploaded Provenance Actions
pyft8m-0.9.11.tar.gz 25.9 kB Without provenance Details for pyft8m-0.9.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PyFT8m 0.9.11
File Interpreter ABI Platform Actions
pyft8m-0.9.11-py3-none-any.whl Python 3 none any Details for pyft8m-0.9.11-py3-none-any.whl

Total release size: 50.0 kB

Release files / pyft8m-0.9.11.tar.gz

Download URL pyft8m-0.9.11.tar.gz
Size 25.9 kB
Tags Source
SHA-256 checksum
How to use checksums
59d83995dd9b10fb07fb33fca0d10f773cabd78d4e0233bb8a3000560b406837
BLAKE2b-256 checksum
How to use checksums
401ab97c4e5973793aba22637a411925fcf13b3db2fe32483cd08fbe725002fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Release files / pyft8m-0.9.11-py3-none-any.whl

Download URL pyft8m-0.9.11-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ef262651c3611f7570edd9633f182c69e3797e14baac88e9dbb35880e1c0a0c
BLAKE2b-256 checksum
How to use checksums
787f04d4ca0ebc05581fd6c3f7bb09be2cab81d6305c0e02f63daca93ef611e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Security for PyFT8m 0.9.11

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.9.11 This release

2 release files No provenance

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