All Projects → ampledata → Aprs

ampledata / Aprs

Licence: other
Python APRS Module

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Aprs

Map Matching
The map matching functionality is now located in the main repository https://github.com/graphhopper/graphhopper#map-matching
Stars: ✭ 665 (+972.58%)
Mutual labels:  gps
Qwiic gps Rtk2
A breakout board for the ZED-F9P RTK module from ublox.
Stars: ✭ 27 (-56.45%)
Mutual labels:  gps
Indoorgps
Position Calculating with Trilateration via Bluetooth Beacons(Estimote)
Stars: ✭ 59 (-4.84%)
Mutual labels:  gps
Locationmanager
Simplify getting user's location for Android
Stars: ✭ 730 (+1077.42%)
Mutual labels:  gps
137 Stopmove
Algorithms to automatically discover stops and moves in GPS trajectories.
Stars: ✭ 19 (-69.35%)
Mutual labels:  gps
Igcwebview2
Modularised version of IGCWebview
Stars: ✭ 10 (-83.87%)
Mutual labels:  gps
Neogps
NMEA and ublox GPS parser for Arduino, configurable to use as few as 10 bytes of RAM
Stars: ✭ 507 (+717.74%)
Mutual labels:  gps
Find Maraudersmap
Internal positioning for everyone, in the style of Harry Potter
Stars: ✭ 62 (+0%)
Mutual labels:  gps
Gpsdetector Library
🌎 Android library. If GPS disabled, dialog shown and if user confirms GPS enabled. (2016)
Stars: ✭ 24 (-61.29%)
Mutual labels:  gps
Awesome Gnss
Community list of open-source GNSS software and resources 📡
Stars: ✭ 56 (-9.68%)
Mutual labels:  gps
Shiny
A Xamarin Framework for Backgrounding & Device Hardware Services (iOS, Android, UWP, Tizen, tvOS, watchOS, & more coming soon)
Stars: ✭ 763 (+1130.65%)
Mutual labels:  gps
Zeps Gui
L'interface d'un outil de calcul d'itinéraires, principalement utilisé pour se repérer dans le Netherrail de Zcraft. Nécessite https://github.com/zDevelopers/ZePS-Core .
Stars: ✭ 5 (-91.94%)
Mutual labels:  gps
Tempo
A Kotlin library for Android to get the current time from multiple sources: SNTP, GPS; or your own time source.
Stars: ✭ 44 (-29.03%)
Mutual labels:  gps
Gpxpy
gpx-py is a python GPX parser. GPX (GPS eXchange Format) is an XML based file format for GPS tracks.
Stars: ✭ 707 (+1040.32%)
Mutual labels:  gps
Libgps
UART NMEA GPS library for Raspberry Pi
Stars: ✭ 60 (-3.23%)
Mutual labels:  gps
Androbd
Android OBD diagnostics with any ELM327 adapter
Stars: ✭ 573 (+824.19%)
Mutual labels:  gps
Esp32 Paxcounter
Wifi & BLE driven passenger flow metering with cheap ESP32 boards
Stars: ✭ 844 (+1261.29%)
Mutual labels:  gps
Eskf
ROS Error-State Kalman Filter based on PX4/ecl. Performs GPS/Magnetometer/Vision Pose/Optical Flow/RangeFinder fusion with IMU
Stars: ✭ 63 (+1.61%)
Mutual labels:  gps
Gpx Simplify Optimizer
Free Tracks Optimizer Online Service
Stars: ✭ 61 (-1.61%)
Mutual labels:  gps
Potato Library
Easy to use Utility library for Android
Stars: ✭ 45 (-27.42%)
Mutual labels:  gps

aprs - Python APRS Module


aprs is a Python Module that supports connecting to APRS Interfaces, and receiving, parsing and sending APRS Frames.

Included are several Interface Classes:

  • APRS - Abstract Class from which all other Connection Interfaces are inherited.
  • TCP - Connection Interface Class for connecting to APRS-IS via TCP. Can send or receive APRS Frames.
  • UDP - Connection Interface Class for connecting to APRS-IS via UDP. Only supports sending APRS Frames.
  • HTTP - Connection Interface Class for connecting to APRS-IS via HTTP. Currently only supports sending APRS Frames.

Frame and Callsign classes are included:

  • Frame - Describes the components of an APRS Frame.
  • Callsign - Describes the components of an APRS Callsign.

Versions

  • 6.5.x branch will be the last version of this Module that supports Python 2.7.x
  • 7.x.x branch and-on will be Python 3.x ONLY.

Installation

Install from pypi using pip: pip install aprs

Usage Examples

Example 1: 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 p and printed.

Example 1 Code ^^^^^^^^^^^^^^ ::

import aprs

def p(x): print(x)

a = aprs.TCP('W2GMD', '12345')
a.start()

a.receive(callback=p)

Example 1 Output ^^^^^^^^^^^^^^^^ ::

W2GMD-6>APRX28,TCPIP*,qAC,APRSFI-I1:T#471,7.5,34.7,37.0,1.0,137.0,00000000

Example 2: Library Usage - Send

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

Example 2 Code ^^^^^^^^^^^^^^ ::

import aprs

frame = aprs.parse_frame('W2GMD>APRS:>Hello World!')

a = aprs.TCP('W2GMD', '12345')
a.start()

a.send(frame)

Testing

Run nosetests from a Makefile target::

make test

Errata

7.0.0rc1 - Currently setting/getting digi flag on KISS frames is broken. Expect it to be fixed in final release of 7.0.0.

See Also

  • Python KISS Module <https://github.com/ampledata/kiss>_ Library for interfacing-to and encoding-for various KISS Interfaces.
  • Python APRS Module <https://github.com/ampledata/aprs>_ Library for sending, receiving and parsing APRS Frames to and from multiple Interfaces
  • Python APRS Gateway <https://github.com/ampledata/aprsgate>_ Uses Redis PubSub to run a multi-interface APRS Gateway.
  • Python APRS Tracker <https://github.com/ampledata/aprstracker>_ TK.
  • dirus <https://github.com/ampledata/dirus>_ Dirus is a daemon for managing a SDR to Dire Wolf interface. Manifests that interface as a KISS TCP port.

Similar Projects

  • apex <https://github.com/Syncleus/apex>_ by Jeffrey Phillips Freeman (WI2ARD). Next-Gen APRS Protocol. (based on this Module! :)
  • aprslib <https://github.com/rossengeorgiev/aprs-python>_ by Rossen Georgiev. A Python APRS Library with build-in parsers for several Frame types.
  • aprx <http://thelifeofkenneth.com/aprx/>_ by Matti & Kenneth. A C-based Digi/IGate Software for POSIX platforms.
  • dixprs <https://sites.google.com/site/dixprs/>_ by HA5DI. A Python APRS project with KISS, digipeater, et al., support.
  • APRSDroid <http://aprsdroid.org/>_ by GE0RG. A Java/Scala Android APRS App.
  • YAAC <http://www.ka2ddo.org/ka2ddo/YAAC.html>_ by KA2DDO. A Java APRS Client.
  • Ham-APRS-FAP <http://search.cpan.org/dist/Ham-APRS-FAP/>_ by aprs.fi: A Perl APRS Parser.
  • Dire Wolf <https://github.com/wb2osz/direwolf>_ by WB2OSZ. A C-Based Soft-TNC for interfacing with sound cards. Can present as a KISS interface!

Build Status

Master:

.. image:: https://travis-ci.org/ampledata/aprs.svg?branch=master :target: https://travis-ci.org/ampledata/aprs

Develop:

.. image:: https://travis-ci.org/ampledata/aprs.svg?branch=develop :target: https://travis-ci.org/ampledata/aprs

Source

Github: https://github.com/ampledata/aprs

Author

Greg Albrecht W2GMD [email protected]

http://ampledata.org/

Copyright

Copyright 2017 Greg Albrecht and Contributors

Automatic Packet Reporting System (APRS) <http://www.aprs.org/>_ is Copyright Bob Bruninga WB4APR [email protected]

fcs.py - Copyright (c) 2013 Christopher H. Casebeer. All rights reserved.

decimaldegrees.py - Copyright (C) 2006-2013 by Mateusz Łoskot [email protected]

License

Apache License, Version 2.0. See LICENSE for details.

fcs.py - BSD 2-clause Simplified License

decimaldegrees.py - BSD 3-clause License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].