Make hashid.py usable as a python module