A Python utility / library to sort Python importshttps://pycqa.github.io/isort/
isort your python imports for you so you don’t have to.
isort is a Python utility / library to sort imports alphabetically, and
automatically separated into sections and by type. It provides a command line
utility, Python library and plugins for various editors to quickly sort all your
imports. It requires Python 3.6+ to run but supports formatting Python 2 code