semvec/pypi-packages huggingface dataset:
nmeaserver 0.1.10
Python framework for a NMEA 0183 TCP Server inspired by Flask developer API
License: Apache License 2.0
Requires Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
Keywords: NMEA,SERVER,FRAMEWORK

# 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.

The first step is to install nmeaserver locally.
``` sh
pip install nmeaserver
```

To create your first server, all you need to do is:
```python
from nmeaserver import server, formatter

# Creates a nmeaserver
app = server.NMEAServer()

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

# Starts the server
app.start()
```