CleanImports
Python import optimizer. Finds unused imports, duplicates, shadowed builtin names, and PEP 8 ordering violations. Classifies every import as stdlib, third-party, or local. Generates cleaned, PEP 8-compliant import blocks you can paste directly. Scores import health A+ to F. Directory-wide scanning with summary statistics. HTML reports showing used/unused status per import. --fix flag prints cleaned imports to stdout. Zero dependencies — single Python file.