Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 347 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 347 Bytes

import-finder

Determine top-level imports in a python package

How To

Example Usage

ag --python --noheading --nonumbers --nofilename import | import_finder | sort | uniq

Just the top-level packages

ag --python --noheading --nonumbers --nofilename import | import_finder | awk -F '.' '{print $1}' | sort | uniq