The Stadtwerke Karlsruhe regularly publish values of several quality indicators for Karlsruhe's drinking water. Unfortunately, they only provide the current values and only as images.
This project therefore provides a small scraper that downloads the images, extracts the numerical values and stores them to disk.
Most dependencies can be installed via pip (ideally into a virtualenv):
pip install -r requirements.txt
You will also need the Python bindings for the
gd graphics library, which are unfortunately not available through
pip
. On Ubuntu you can install them via
sudo apt-get install python-gd
MIT. See the file LICENSE
for details.