Skip to main content

Python Bindings for APRS.

Project description

Includes Python module with bindings for APRS as well as aprs_tracker command-line APRS location tracking utility.


Example 1: APRS Tracker

The following example uses the aprs_tracker command to connect to APRS-IS as W2GMD and send a single-shot location frame using location data from my locally connected USB (or USB->Serial) GPS:

Example 1 Code

$ aprs_tracker -c W2GMD -p 12345 -s /dev/cu.usbmodem1a1211 -u 3 -d

Example 1 Output

2015-09-25 15:04:55,930 INFO aprs.classes.connect:63 - Connected to port=14580
2015-09-25 15:04:55,931 DEBUG aprs.cmd.tracker:113 - frame=W2GMD-3>APRS:!3745.78N/12225.14W>000/000/A=000175 APRS

See Also

See $ aprs_tracker -h for more information.

Example 2: Library Usage - Receive

The following example connects to APRS-IS as W2GMD (me!) and filters for APRS frames coming from my prefix (W2GMD, W2GMD-n, etc). Any frames returned are sent to my callback my_callback and printed.

Example 2 Code

import aprs

def my_callback(line):
    print line

a = aprs.APRS('W2GMD', '12345')

Example 2 Output


Example 3: Library Usage - Send

The following example connects to APRS-IS as W2GMD (me!) and sends an APRS frame.

Example 3 Code

import aprs

a = aprs.APRS('W2GMD', '12345')
a.send('W2GMD>APRS:>Hello World!')




Greg Albrecht W2GMD <>


Apache License, Version 2.0

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

aprs-4.0.0.tar.gz (10.3 kB view hashes)

Uploaded Source

Supported by

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