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.1.3.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

aprspy-0.1.3-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file aprspy-0.1.3.tar.gz.

File metadata

  • Download URL: aprspy-0.1.3.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for aprspy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8b39e0793029f230fbcb7a86c94ae51942903b2488cb4baaa4661585b14d3a2e
MD5 da9c06441ebe4357f72f2ea3d74a1764
BLAKE2b-256 8ec7e0e7beb89551c528685af35f067cf87a358b8d47072cc7701686b29baa29

See more details on using hashes here.

File details

Details for the file aprspy-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: aprspy-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for aprspy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a7f5269f2446bc458a294b17e1766d4902b1b72372d50df42e2e16a79091c3de
MD5 6ae09b3dd4eaddb05f7c07ed2453f0ee
BLAKE2b-256 7c1bc2c331766558be436f71f9f6d740cd3a8c131eee322f88c11da6f2123516

See more details on using hashes here.

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