topology.platforms.manager

topology platforms manager module.

This module finds out which topology platforms plugins are installed and returns them in a dictionary.

Functions

topology.platforms.manager.platforms(cache=True)

List all available platform engines.

This function lists the default engine plus any other it can discover looking up the entry point.

Parameters:cache (bool) – If True return the cached result. If False force lookup for plugins registered for the entry point.
Return type:list
Returns:A sorted list with all available platforms.
topology.platforms.manager.load_platform(name)

Load platform identified by given name.

Parameters:name (str) – Name of the platform. This must be a name available in the list returned by platforms().
Return type:A BasePlatform subclass
Returns:The implementation class on the platform engine.

Variables

topology.platforms.manager.DEFAULT_PLATFORM

Default platform engine.

'debug'