Python bindings for kmod