4 Python bindings for kmod/libkmod
6 kmod is a set of tools to handle common tasks with Linux kernel modules like
7 insert, remove, list, check properties, resolve dependencies and aliases.
9 These tools are designed on top of libkmod, a library that is shipped with
10 kmod. It can be found at:
12 http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
14 python-kmod is a Python wrapper module for libkmod, exposing common
15 module operations: listing installed modules, modprobe, and rmmod.
18 https://github.com/agrover/python-kmod
20 Example (python invoked as root)
21 --------------------------------
27 >>> [(m.name, m.size) for m in km.loaded()]
31 (u'virtio_blk', 17549)]
32 >>> km.modprobe("btrfs")
38 Ensure Python, Cython, and the kmod headers are installed and run::
40 $ python setup.py build