Scripts to transform realtime xml data into google protobuf format
Python 3.6 or greater
Install dependencies:
pip3 install -r requirements.txt
Copy configuration in config-orig.py
to config.py and add customization.
Start the script with
python ./run.py
or for more logging information:
python ./run.py --log DEBUG
The included file xml2pb.service
is a basic systemd service. Place it somewhere
that systemd looks, such as /etc/systemd/system
then reload, enable, and start:
sudo systemctl daemon-reload
sudo systemctl enable xml2pd.service
sudo systemctl start xml2pd.service
Check for status with:
sudo systemctl status xml2pd.service
- Mark Meyer - Initial work - Github