Code samples for the PyTIM talk