sysio (pypi): This Pyrex wraps /usr/include/sys/io.h, allowing you to read/write bytes/ints directly from/to hardware ports. Also includes an example keylogger/keycounter.
Keywords: Pyrex|sys|io