By "external packages", I meant external relative to this module. PEP-8 doesn't differentiate between local imports from within the current module vs local imports outside the current module. So I don't know, it is up to you.