Skip to content

riku2015/pyham

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyham

HAM Radio with Python

This pair of programs is under development and no working version is released yet.

Current versions:

Server - 0.018

Client - 0.022

Protocol - 0.06

Config - 0.10

About

The server program connects distant HAM radios together trough the Internet, thus giving them more range / coverage. The computer needs to be connected to real HAM radio hardware. Instructions are coming later...

The client program is for using your PC as it would be a HAM radio. No real radio needed - just connect to some server on the Internet and start talking with people, some of them having a PC client program, some of them having a real radio.

Both are to be compatible with eQSO, FRN and Echolink. Pyham also introduces its own protocol.

There are three different user interfaces: Graphical wxWidgets GUI, Curses TUI and a single line command terminal.

You can also control the server and client programs with external programs using sockets. A web page interface is coming also...

Software requirements

This program requires Python 3.x to be installed. Mandatory.

GUI is made with wxFormBuilder and is saved in files client_gui.fbp and server_gui.fbp. Not mandatory but recommended if you're changing the program.

Python modules:

PyAudio is required for sound. Mandatory.

wxPython is required for graphical interface. Not mandatory if using command line interface.

ncurses is required for interactive text terminal interface. Not mandatory if using graphical or single line command interface.

How to install required libraries

pip install pyaudio

pip install wx

pip install curses

Or use some other tool to install Python modules/libraries/packages.

How to run client

Start with graphical user interface:

python pyham_client.py

Start with command line user interface:

python pyham_client.py --nogui

Get help on command line parameters:

python pyham_client.py --help

How to run server

Start with graphical user interface:

python pyham_server.py

Start with command line user interface:

python pyham_server.py --nogui

Get help on command line parameters:

python pyham_server.py --help

Configuration

Configuration can be changed and saved at runtime. It is saved in files pyham_client.conf and pyham_server.conf.

You'll find commented configuration file templates in files pyham_client.conf.template and pyham_server.conf.template.

Screenshots

Client (wx) v. 0.020 (Windows 10)

alt text

alt text


Server (wx) v. 0.016 (Windows 10)

alt text

alt text

alt text


Client (wx) v. 0.001 (GNU/Linux)

alt text

About

HAM Radio with Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages