I recently discovered PEP 0302 about extending the import machinery so I just published gistimporter as a proof of concept. It allows you to add Gists as locations for your imported modules. The library is already in PyPI and ready to be installed. Any feedback is welcome!