Here's the promised py-graphite-web package and frontend to py-carbon. It is an wsgi application, which I've tested via gunicorn-3.
After some wrangling I reckon I managed to place all the pieces in the common directories, with the exception of local_settings.py[0], which remains in ${MODPY_SITEPKG}/graphite, since it's an @sample, which I couldn't figure out how to symlink into /etc/graphite/, which would be the first place I would look. I decided to install the webapp in ${MODPY_SITEPKG}, since that would make starting up graphite as easy as `doas -u _graphite gunicorn-3 graphite.wsgi` but being a python newbie I don't know if this is desired and what the appropriate place would be otherwise (/var/www/graphite/webapp?). This of course depends on all other graphite mails I send out the last couple of days. martijn [0] https://graphite.readthedocs.io/en/latest/config-local-settings.html
py-graphite-web.tar.gz
Description: application/gzip