package up the python spwd module

inspiration/everything taken from py-readline