ais-parser-python

Decode AIS/NMEA sentences into structured JSON via a PHP-Python bridge.

1|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/victorhramos-dev/ais_ai --skill ais-parser-python
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ais-parser-python
Source: https://github.com/victorhramos-dev/ais_ai/tree/main/.claude/skills/ais-parser-python
Command: npx skills add https://github.com/victorhramos-dev/ais_ai --skill ais-parser-python

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables decoding of AIS/NMEA sentences by bridging PHP and Python using the pyais library, turning raw maritime data into structured JSON.

Core Features & Use Cases

  • AIS/NMEA decoding with pyais: Decode messages and extract key fields into machine-readable data.
  • PHP–Python bridge: Communicate JSON over STDIN/STDOUT between Laravel/PHP and Python.
  • Real-time data integration: Use within REST endpoints or workers to process live AIS streams for dashboards or data stores.

Quick Start

Start the Python AIS parser and connect it to the PHP service. Send a JSON payload with an AIS sentence to the Python subprocess and read the decoded JSON response.

Frequently Asked Questions about ais-parser-python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse AIS NMEA sentences in a Laravel application?

To parse AIS NMEA sentences in Laravel, this Skill bridges PHP and Python using the pyais library, communicating JSON over STDIN/STDOUT to decode raw maritime data into structured JSON for your application.

What is a PHP-Python bridge for maritime data processing?

A PHP-Python bridge for maritime data processing is a service that passes JSON payloads over STDIN/STDOUT between PHP and a Python subprocess, enabling on-demand decoding of live AIS streams within REST endpoints or workers.

Can I use pyais to decode real-time AIS streams in PHP workers?

Yes, you can use pyais to decode real-time AIS streams in PHP workers by running a Python subprocess that receives JSON payloads via STDIN and returns decoded JSON responses via STDOUT for your data pipelines.

Does this AIS parser require installing external Python dependencies?

Yes, this AIS parser requires installing the external Python dependency pyais to handle the core NMEA sentence decoding, which the PHP service then invokes through the subprocess bridge.

What is the best way to integrate Python AIS decoding into a PHP REST endpoint?

The best way to integrate Python AIS decoding into a PHP REST endpoint is using a PHP-Python bridge that sends JSON payloads with AIS sentences to a Python subprocess and reads the decoded JSON response directly.

Why would I use a PHP-Python subprocess bridge instead of a native PHP AIS decoder?

Using a PHP-Python subprocess bridge leverages the mature pyais library for accurate NMEA decoding, avoiding the need to manually implement complex AIS parsing logic natively within PHP while returning structured JSON.