
The libkmod2 is a library that provides an API for insertion, removal, configuration and listing of kernel modules.
kmodpy is a Python ctypes wrapper module for libkmod, exposing common module operations: listing installed modules, modprobe, modinfo, show_depends and rmmod.