Provisioning Elasticsearch and Kibana with Terraform

Fair warning up front: this is not a Terraform, AWS, or Elasticsearch tutorial. You’ll need to know a bit or read the docs to apply the examples. When I wanted to add the AWS version of ELK (Elasticsearch, Logstash, Kibana) which is Elasticsearch, Cloudwatch and...

Basic Python course in Karlskona

I will be giving a course in basic Python in Karlskrona on March 27. This is a course for those who already know programming, and would like to learn Python from the ground up, or for the developer who has done some work in Python but wants a broader knowledge and...

Using the AST to hack constants into Python

During EuroPython 2012, after my training and talks, I really needed to do some coding, so I started hacking on a ’practical’ application of the AST – making (some) constants faster than local variables, instead of slower by inlining them on import....

Python API to git: gitapi

Train rides can be good – if not creativity, then at least boredom-induced productivity. I had planned to make a hgapi fork that worked against git instead of Mercurial, and during the ride back from holding a Python workshop in Malmö (a three-hour trip back to...

RSS support is go!

There’s no reason to roll my own when the guys over at Dalke Scientific Software have created the awesome PyRSS2Gen. It’s everything I want from a utility library – it’s simple, documented by example, it does one thing, and it does it well....