python bindings for Plin