Looking at the Google Python Style Guide under 3.13 it says order of imports should be:
- Python Future Imports
- Python Standard imports
- Third Party module or package import
- Code repository sub-package imports
What exactly is Code repository sub-package imports ? If there is a library written by another team in the company is that Third Party or is it Code Repository?
"Code repository sub-package imports" means a package that lives in the projects' directory.
If you have
main.pyandutils.py, you will dofrom utils import magic_algorithmlast.So, following that logic the entire thing might look like