A TINY FLASK WEBAPP BLUEPRINT

Python scripts are great for getting stuff done (especially repetitive tasks or pulling and aggregating information). In some cases it makes a lot of sense to put a minimal graphical interface on top so that others can enjoy the results of said scripts without having to bother with all the details of actually running it.

20180226 | dev | #automation #howto #linux #python #docker

PYTHON AND GIT ON WINDOWS

I do most of my development under Linux so I have python out of the box and git is only an apt install away. But recently a colleague needed to generate configs based on templates built by yours truly (Jinja2 syntax) so I pointed him at my gencfg script on GitHub. What I realized only later was that he only had a Windows machine and no idea how to create an environment to fetch repositories, install dependencies and run python scripts. Let's fix that.

20170317 | dev | #howto #windows #python #automation

AUTOMATION, ONE STEP AT A TIME (1)

Not long ago I did a short demo at the sixth iNOG meeting, which saw around one hundred netengs get together at Facebook's Dublin HQ for an amazing evening. The point of the demo was to show people to how easy it is to write a bit of code to quickly generate device configuration from a template.

20160324 | dev | #conference #python #automation