python-imports
Utility for organizing Python imports using PEP8 or custom rules
One command to explain your Python environment, trace imports, and detect shadows.
Measure and enforce import-time behavior in Python projects
Enforce that some modules can't be imported from other modules. In runtime!