kmodpy is a Python ctypes wrapper module for libkmod, exposing common module operations: listing installed modules, modprobe, modinfo, show_depends and rmmod.