Skip to main content

A library for controlling Fldigi via xmlrpc

Project description

PyFLDM

*** CAUTION: Current Release Notes: v0.x.x are very rough and untested. Version 1.0 still in development, tentative release date Sep2023. All current functionality being actively developed and tested. AppMonitor not compatible with Windows OS ***

Python Fast Light Digital Modem

A library to be used for interacting with and controlling the Fldigi application.

Can be used to control the application directly via python library, such as to start, stop, and monitor the running status. But the primary usage is in serving as an api to Fldigi via xmlrpc

Installation

pip install pyfldm

Using pyfldm

Example uses:

  1. Controlling the Application (start, stop, status)
>>> from pyfldm.AppMonitor import AppMonitor
>>> app = AppMonitor()
>>> app.start()
>>> # wait a few seconds for Fldigi to start up
>>> app.is_running() # checks that Fldigi is a currently running process
True
>>> app.is_functional() # verifies that the xmlrpc interface is responsive
True
>>> result = app.stop() # asks fldigi to gracefully shut down, returns a 0 if successfully stopped, 1 if not
>>> if not result:
...     app.kill()  # forcibly kills the process
>>> app.is_running()
False

  1. Using the XMLRPC API
# * assuming that Fldigi is already running
>>> from pyfldm.Client import Client
>>> client = Client()
>>> client.fldigi.version()
4.1.26

Upcoming Features in v.1.0.0

  • Fully tested endpoints for every Fldigi xmlrpc call
  • Helpers to print or obtain the equivalent python calls for each namespace group
  • Better documentation
  • Support for Windows OS

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

pyfldm-0.0.3.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

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

pyfldm-0.0.3-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

Details for the file pyfldm-0.0.3.tar.gz.

File metadata

  • Download URL: pyfldm-0.0.3.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pyfldm-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4c71c24de0f58c91eea3cbc31c65371b52bce0010852aae63be3c35aa76c63cb
MD5 886e21481bf4b531257863b133457e9a
BLAKE2b-256 82dc264f98fd780777ba4af1e88fb241c1f6deb8f8e2a668b1a7458bce1ec271

See more details on using hashes here.

File details

Details for the file pyfldm-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyfldm-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 32.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pyfldm-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 efbc943ccc1131e6dbbf224fd53d1dca0eb452ab02ae6f945226aa5bf019b961
MD5 0ffbcd6d48edc603e63a7c10ce54beb2
BLAKE2b-256 72aec5aff3ed765144d2de193078363d9adf7c59a59975271d34dd150a972734

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