This is pyutmp, a Python interface to the Unix utmp file.
To install pyutmp in the default location, type:
python setup.py install
To install it somewhere else (e.g., your home directory) type:
python setup.py install --prefix=$HOME
pyutmp is released under a new BSD license. See the accompanying license file for details.