A simple CLI tool for tracking Pikud Ha’oref alarms
![](https://www.deeplearningdaily.com/wp-content/uploads/2021/06/a-simple-cli-tool-for-tracking-pikud-haoref-alarms_60bfeb5b999f4-375x210.jpeg)
Pikud Ha’oref Alarm Tracking
Polls the unofficial API endpoint every second for incoming alarms. Prints active alarms as they occur. Prints routine messages once every 5 minutes by default.
Install
Pip
The easiest way to install is from PyPI with pip
:
$ pip install alarmpy
You can then run the alarmpy
executable directly:
$ alarmpy --help
Pipenv
For development usage it’s recommended to clone the git repo and use pipenv
:
$ git clone https://github.com/yuvadm/alarmpy
$ cd alarmpy
$ pipenv sync -d
$ pipenv run alarmpy
Usage
For the default usage after installation, just run:
$ alarmpy
Display
- Set the output language using
--language [en|he|ar|ru]
, this uses the official city and area name translations