alecthomas / importmagic

A Python library for finding unresolved symbols in Python code, and the corresponding imports
BSD 2-Clause "Simplified" License
120 stars 20 forks source link

Add importmagic script #50

Closed razzius closed 6 years ago

razzius commented 6 years ago

See #45

This works for me, but it might not fit all use cases. In particular the current path is added to the sys.path by default when building the index.

There's an option to force a refresh of the index, more could be added.