Generate NMEA messages with Python