jasy.env package¶
Submodules¶
jasy.env.Context module¶
Global environment which is used by jasyscript.py files.
jasy.env.State module¶
This module is used to pass a single session instance around to different modules.
jasy.env.Task module¶
Tasks are basically functions with some managment code allow them to run in jasyscript.py.
-
jasy.env.Task.
executeTask
(taskname, **kwargs)[source]¶ Executes the given task by name with any optional named arguments.
-
jasy.env.Task.
runTask
(project, task, **kwargs)[source]¶ Executes the given task of the given projects.
This happens inside a new sandboxed session during which the current session is paused/resumed automatically.
-
jasy.env.Task.
printTasks
(indent=16)[source]¶ Prints out a list of all avaible tasks and their descriptions.
-
jasy.env.Task.
setCommand
(cmd)[source]¶ Sets the jasy command which should be used to execute tasks with runTask()
Module contents¶
Glue code used in jasyscript.py to have a convenient API on top of the full Jasy API.