Skip to main content

Hapless and flawed servant of the not1mm contest logger.

Project description

renfield

CLI Screenshot

^ I was bored. Kinda reminds me of Sun Microsystems. ^

Danger

This will be the Not1MM contest data aggregation server. It's currently not feature complete.

Recent Changes

  • [25-12-16] Add score widget.
  • [25-10-5] Add Dupe checking.
  • [25.9.26] Add support to get serial numbers from the server.
  • [25.9.25] Got it generating Cabrillo files.
    • Group chat
    • Current User/Band/Mode
    • QSO by band/mode/points

The Idea

Renfield is an amateur radio contest contact aggregation server for Not1MM. It uses Textual for rendering the interface. This provides the user with either a CLI or a web interface depending on how it is launched.

The client(s) Not1MM and the server Renfield talk to each other over a UDP Multicast network connection. There is no file sharing or network file access. The Not1MM clients and Renfield each maintain their own database. As contacts are made they are stored in Not1MM's local database. That record is marked 'Dirty' and a UDP message is sent out. Once Renfield gets the message and saves it's copy, Renfield sends a response message to confirm. The Not1MM client gets the confirmation and clears the 'Dirty' flag on the record. Not1MM keeps track of the messages it has sent out. If it doesn't get a reply either because Renfield didn't get it or Not1MM didn't get the confirmation message, Not1MM will just retry every 30 seconds until it does. Each contact has a UUID v4 tag to prevent any duplicate records.

If Renfield should crash and burn, or the PC/device it is running on should catch fire. You can spin up another instance of Renfield, then have the Not1MM clients mark all their contacts as dirty, and they will re-stream all their contacts to the new server. Eventually I'll make that reciprocal. Where if a Not1MM client were to fail, it will be able to ask Renfield to send all it's contacts back.

Things that need doing

  • Make a stupid logo.
  • Discover which contest is being run.
  • Handle QSO CRUD operations.
  • Show some basic band/qso/point statistics.
  • Chat functions (handled by the clients)
  • Manage giving out serial numbers.
  • Generate a Cabrillo file.
  • Indicate Dupes when queried.
  • Reverse feed QSO's back to a client if requested.
  • Show Mults.

Installation

You can install\update renfield easily with uv:

uv tool install renfield@latest

Running renfield

CLI interface

You can run renfield and have it's interface displayed directly in the terminal with:

# renfield

CLI Screenshot

Run as a web server

You can run renfield as a web server with:

# textual serve renfield

You'll see this message:

CLI Screenshot

You or others on your network can connect to the web interface on port 8000

CLI Screenshot

Run from the source tree

textual serve __main__.py

Networking

Communication between the clients and the server happens on UDP multicast port 2239 by default. Depending on your linux distribution you may need open that port in your firewall on each machine manually. I've retired from the IT field, so I'll leave that as an exercise for you.

Direct commands

Interacting with the server via it's CLI or web interface is limited.

  • 'q' Quits the program.
  • 'R' Resets/Wipes the database.
  • 'Z' Zero out the SN server.
  • 'c' Generates a Cabrillo file for whatever contest is active.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

renfield-25.12.16.tar.gz (70.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

renfield-25.12.16-py3-none-any.whl (201.2 kB view details)

Uploaded Python 3

File details

Details for the file renfield-25.12.16.tar.gz.

File metadata

  • Download URL: renfield-25.12.16.tar.gz
  • Upload date:
  • Size: 70.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for renfield-25.12.16.tar.gz
Algorithm Hash digest
SHA256 ab95b8aa6a7ae3fc4d7fdc6b81b008c0b2f7751dd3e09c091bd97bd45d3f851c
MD5 2151c414e7819b66542442594e1e12a2
BLAKE2b-256 9ed92be52f37ccdd47a02163c6ce8b9d4849a6ff7dd395953175200aa997f91b

See more details on using hashes here.

File details

Details for the file renfield-25.12.16-py3-none-any.whl.

File metadata

  • Download URL: renfield-25.12.16-py3-none-any.whl
  • Upload date:
  • Size: 201.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for renfield-25.12.16-py3-none-any.whl
Algorithm Hash digest
SHA256 a259cfba5330beecdd0ddeeb2238a78ad4b61f175d3088002e8fd75b2be1c648
MD5 b72eeaa18989f64cf8c3a9a7a0e67686
BLAKE2b-256 bff9f6fbdb39363d6b7a3cd22cd42d898f8f83163b3edbbe0df64f3f9cb2e8a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page