vcorelib.script
index
/home/vkottler/src/vkottler/workspace/vcorelib/vcorelib/script/__init__.py

A module for working with external scripts.

 
Package Contents
       

 
Classes
       
builtins.object
ScriptableMixin

 
class ScriptableMixin(builtins.object)
    ScriptableMixin() -> None
 
A mixin for classes to pass themselves to external scripts that may
update their state.
 
  Methods defined here:
__init__(self) -> None
Initialize this scriptable object.
invoked(self, script: pathlib.Path) -> bool
Determine if a script has been invoked or not.
script(self, script: pathlib.Path, method: str, *args, once: bool = True, **kwargs) -> Any
Invoke a script while passing this object reference.

Data descriptors defined here:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

 
Functions
       
invoke_script(script: Union[pathlib.Path, str, NoneType], method: str, *args, **kwargs) -> Any
Invoke a method from an external script.