module documentation
Undocumented
| Class | |
A finder for the explicit namespace packages, generated through pkg_resources. |
| Class | |
A finder is a class which knows how to find a particular module. |
| Class | |
A finder based on the importlib module. |
| Class | |
Defines a class similar to PEP 420's ModuleSpec |
| Class | |
Finder based on importlib.machinery.PathFinder. |
| Class | |
Finder that knows how to find a module inside zip files. |
| Function | find |
Find a spec for the given module. |
| Variable | |
Undocumented |
| Function | _cached |
Undocumented |
| Function | _find |
Undocumented |
| Function | _is |
Undocumented |
| Function | _precache |
For each path that has not been already cached in the sys.path_importer_cache, create a new zipimporter instance and add it into the cache. Return a dict associating all paths, stored in the cache, to corresponding zipimporter instances. |
| Function | _search |
Undocumented |
| Constant | _SPEC |
Undocumented |
| Variable | _ |
Undocumented |
Find a spec for the given module.
| Parameters | |
| modpath:list or tuple | split module's name (i.e name of a module or package split on '.'), with leading empty strings for explicit relative import |
| path:list or None | optional list of path where the module or package should be searched (use sys.path if nothing or None is given) |
| Returns | |
| ModuleSpec | A module spec, which describes how the module was found and where. |
For each path that has not been already cached in the sys.path_importer_cache, create a new zipimporter instance and add it into the cache. Return a dict associating all paths, stored in the cache, to corresponding zipimporter instances.
| Parameters | |
| path | paths that has to be added into the cache |
| Returns | |
| association between paths stored in the cache and zipimporter instances | |