Skip to main content

Python framework for a NMEA 0183 TCP Server inspired by Flask developer API

Project description

nmeaserver

Python framework for a NMEA 0183 TCP Server inspired by Flask developer API

Create your first NMEA Server

The nmeaserver framework is inspired from the Flask interface to make it straight-forward to setup server.

To create your first server, all you need to do is:

from nmea import server, formatter

# Creates a nmeaserver
nmeaserver = server.NMEAServer()

# Create a message handler that receives all messages with the sentence ID: 'RXTST'
@nmeaserver.message('RXTST')
def tst_handler(self, context, message):
    return formatter.format('TXTST,Message Received!')

# Starts the server
nmeaserver.start()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nmea, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size nmea-0.1.4.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page