Expand description
Import categorization utilities
This module provides functions for categorizing Python imports into future, standard library, third-party, and local categories according to PEP 8.
Functions§
- categorize_
import - Categorize an import statement
- is_
common_ third_ party_ package - Check if a package is a common third-party package
- is_
local_ import - Check if this is a local/relative import
- is_
standard_ library_ package - Check if a package is part of Python’s standard library