Based on Python-ideas thread My objections to implicit package directories by Alyssa Coghlan and this message from Yuval Greenfield:

I've always had trouble understanding and explaining the complexities and intricacies of python packaging.`

Is there a most basic but comprehensive list of use cases?
standard library

import from a list of paths to be searched.<

current project
import from a relative path based on this file's current directory
package bundled with project
import from a relative path based on an anchor directory
virtual-env
import from an alternative lists of paths based on an anchor directory

CodeDiscoveryUseCases (last edited 2025-03-16 15:46:12 by elena)

Unable to edit the page? See the FrontPage for instructions.