idmtools.registry.platform_specification module

class idmtools.registry.platform_specification.PlatformSpecification

Bases: idmtools.registry.plugin_specification.PluginSpecification, abc.ABC

classmethod get_name(strip_all: bool = True) → str

Get name of plugin. By default we remove the PlatformSpecification portion. :param strip_all: When true, PlatformSpecification is stripped from name. When false only Specification is Stripped

Returns:

example_configuration()

Example configuration for the platform. This is useful in help or error messages.

Returns:

get(configuration: dict) → IPlatform

Return a new platform using the passed in configuration.

Parameters

configuration – The INI configuration file to use.

Returns

The new platform.

get_type() → Type[IPlatform]
class idmtools.registry.platform_specification.PlatformPlugins(strip_all: bool = True)

Bases: object

get_plugins() → Set[idmtools.registry.platform_specification.PlatformSpecification]
get_plugin_map() → Dict[str, idmtools.registry.platform_specification.PlatformSpecification]