uritemplate
python-magic