This tool allows the user to gather, store, process and track usage of AIS data collection.
It can also be used to simulate a real-time data source to better handle streaming.
Data provided by the AISStream.io API. To use it, please sign up using your GitHub account here.
AISStream is used to:
Track ship movements, monitor maritime accidents and discover ship's cargo...
The API offers access to various kind of messages for the AIS1 protocol:
- Ship Property and Voyage Data
- SAR Aircraft Position
- Accident And Danger Reports
- Binary Ship To Ship Messages
- ...
.
├── AIS/
│ ├── Config.py
│ ├── Scraper.py
│ ├── Usage.py
│ ├── __init__.py
│ ├── constants.py
│ └── utils.py
├── Makefile
├── README.md
├── assets/
│ ├── _empty.config.toml
│ └── img
├── config.toml
├── examples/
│ └── script.py
├── out/
│ ├── cookies
│ ├── plots
│ └── usages
├── requirements.txt
└── setup.py
To reproduce the file tree, run: tree -L 2 -I '*.csv|*.log'
git clone https://github.com/lcsrodriguez/AIS-ws-feedhandler.git
cd AIS-ws-feedhandler/
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
pip3 freeze
python3 setup.py sdist bdist_wheel # Build the package from source
Run the example script:
python3 examples/script.py
[local]
api.secret_key = "<AISSTREAM API KEY HERE>"
gh.username="<GH_USERNAME HERE>"
gh.password="<GH_PASSWORS HERE>"
[dev]
api.secret_key = ""
[uat]
api.secret_key = ""
[prod]
api.secret_key = ""
Footnotes
-
AIS is a broadcast system that transmits the unique identification, position, course, and speed, on a vessel ↩