This module defines the ScriptLibrary class
to register objects with their names
-
class core.script_library.ScriptLibrary[source]
Bases: object
The ScriptLibrary is a library that register
python objects with their names
-
clear()[source]
Clear all registered names.
-
find_free_name(prefix)[source]
-
name(obj, script)[source]
Retrieves the name associated with
a python object
-
register(obj, suggested_name='obj')[source]
Register a python object
This method will try to use suggested_name
if it is available.