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.

Source Distribution

nmeaserver-0.1.4.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file nmeaserver-0.1.4.tar.gz.

File metadata

  • Download URL: nmeaserver-0.1.4.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for nmeaserver-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2989944f351226df27b9e1752d163418587761c14fee26a4576c942cfb795bf7
MD5 0b58ad88a1938a1e28d237a88f66d868
BLAKE2b-256 6f70bd1af7e9ee7273b98de6ef4172b79873e1c9a344aa4a0c75c521f60a986a

See more details on using hashes here.

Supported by

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