Detecting Python modules and packages
