python magic

from: https://raw.githubusercontent.com/ahupp/python-magic/master/magic.py
unique release name (waiting for a better way)