core.registry

Registry: names usable from configuration files, extended by plugins through entry points.

Module Attributes

GROUP

Entry-point group scanned for plugins; loading an entry point runs its register calls.

Functions

get(kind, name)

Registered object; plugins are loaded on the first miss.

load_plugins()

Import every entry point in the group virtualmodelcontrol.plugins (once).

names(kind)

Registered names of one kind, plugins included.

register(kind, name)

Class or function decorator: make obj available as get(kind, name).