vsgen.util.entrypoints module

This module provides all functionality for extending Python’s entrypoints functionality.

vsgen.util.entrypoints.entrypoint(section, option)[source]

Returns the the entry point object given a section, option pair.

Parameters:
  • section (str) – The section name in the entry point collection
  • option (str) – The option name in the entry point collection
Returns:

The entry point object if available.

vsgen.util.entrypoints.entrypoints(section)[source]

Returns the Entry Point for a given Entry Point section.

Parameters:section (str) – The section name in the entry point collection
Returns:A dictionary of (Name, Class) pairs stored in the entry point collection.