Skip to main content

An APRS parser for Python

Project description

version license build docs issues coverage-status

Introduction

The intention of the module is to provide a way to decode and encode various different types of APRS packets.

Currently supports:-

  • Decoding - Standard compressed/uncompressed location packets (PositionPacket) - Mic-E location packets (MICEPacket) - Message packets (MessagePacket) - Status report packets (StatusPacket)

  • Encoding - Compressed/uncompressed locations - PHG/DFS/RNG values

Note that encoding entire packets is planned, but not yet supported.

Usage

Brief usage explanation:

>>> from aprspy import APRS
>>> packet = APRS.parse('XX1XX>APRS,TCPIP*,qAC,FOURTH:=5030.50N/10020.30W$221/000/A=005Test packet')
>>> packet
<PositionPacket: XX1XX>
>>> packet.latitude
50.508333
>>> packet.longitude
-100.338333
>>> packet.course
221

Documentation

Documentation can be found at https://aprspy.readthedocs.io/en/latest/.

Development

Dependencies needed for development can be installed with pip install -r dev-requirements.txt.

The documentation can be built locally by running make in the docs/ folder.

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

aprspy-0.2.0.tar.gz (28.4 kB view hashes)

Uploaded Source

Built Distribution

aprspy-0.2.0-py3-none-any.whl (36.5 kB view hashes)

Uploaded Python 3

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