Entrypoint Utilities partis.pyproj.load_module#

exception EntryPointError[source]#

Bases: ValueError

module_name_from_path(path, root)[source]#

Generates an importable module name from a file system path

Parameters:
  • path (pathlib.Path) – Path to the module directory relative to ‘root’

  • root (pathlib.Path) – Base path from which the module will be imported

load_entrypoint(entry_point, root)[source]#
Parameters:
class EntryPoint(pyproj, root, name, logger, entry)[source]#

Bases: object

Parameters: