balanga , here is an article about (in particular) using that (mentioned above) Python module:
https://vzaigrin.wordpress.com/2015/02/02/web-control-of-raspberry-pi-gpio-in-freebsd/
https://vzaigrin.wordpress.com/2015/02/02/web-control-of-raspberry-pi-gpio-in-freebsd/