This repository keeps track of scripts I use to speed up the Quality Assurance process of opening_hours values. Although the repository has the word 'bot' in it, the scripts do not yet (if ever) run as bot. I do review every change which are made by these scripts. Additionally all changes are automatically checked using the pyopening_hours library (old value must be an error and the new one must be ok without any warnings).
Just clone the repository with
git clone --recursive https://github.com/ypid/opening_hours_bot.git
and install it’s dependencies (execute inside the repository):
cd pyopening_hours/ && npm install
The script OpeningHoursBot.py
can be called with an .osm (from JOSM) file as parameter and will write a corrected $basename-fixed.osm
file.