friday lightning talks

Tags: pycon, python

(One of my summaries of a talk at the 2017 conference).

Parallel numpy with Bohrium - Dion Häfner

He had to port a fortran codebase to numpy. Took a few months, but was quite doable. Just some number crunching, so you can do everything with numpy just fine.

For production-running it had to run on parallel hardware. For that he used bohrium, a tool that works just like numpy, but with jit-compiled code.

He showed some numbers: a lot faster.

Cultural data processing with python - Oliver Götze

Cultural data? Catalogs of book archives. Lots of different formats, often proprietary and/or unspecified and with missing data. And with lots of different fields.

He wrote a “data preparation tool” so that they can clean up and transform the data to some generic format at the source.

The power of git - Peer Wagner

What do you think your repositories contain? Code? More!

He read a book about “data forensics”.

git log is ok. But you can pass it arguments so that you can get much more info out of it. You can show which parts of your code are most often edited.

You can also look which files are often committed together and make a relationship graph of it.

He’s started a tool for this:, which takes inspiration from Adam Tornhill’s codemaat.

(Update: corrected the project name and attribution)

A travel back in time: xmahjongg - Klaus . The first free version for linux. Also ported to osx.

But… it was only compiled for powerpc processors. And he wasn’t able to re-compile it.

So he re-build it in python:

pip install pyxmahjongg :-)

Test-driven Checkmk checks - Thomas Reifenberger

Nagios is a monitoring tool. You have to create all the config by yourself. Or generate it.

You can use Checkmk. It uses nagios as a core and generates the config for you.

If you want custom checks, you need both a plugin on the server and a some scriptlet on the target.

You don’t want to test it in production. You want to test it properly. So he build pytest-check-mk to do that.

This way:

  • you’re not testing in production.

  • the feedback cycle is much faster.

(Update 2019-08-16: updated project name and link.)

Learn to build the internet - Maximilian Wilhelm

If you’re afraid of networking and network setups: last year there were two days of info/introduction on linux networking system. It is in german. They videod everything. And the slides are available.

It is all here:

Photo explanation: some 1:87 scale figures on my model railway (under construction). logo

About me

My name is Reinout van Rees and I work a lot with Python (programming language) and Django (website framework). I live in The Netherlands and I'm happily married to Annie van Rees-Kooiman.

Weblog feeds

Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):