Automatically sort and organize Python import statements
Sort Python imports automatically
isort
$ isort myfile.py
$ isort .
$ isort --check-only myfile.py