timApp.modules.cs package#

Submodules#

timApp.modules.cs.cs module#

timApp.modules.cs.cs_logging module#

timApp.modules.cs.cs_logging.get_logger()[source]#
timApp.modules.cs.cs_logging.log_warning(message: str, user_id: str = '--', useragent: str = '')[source]#

timApp.modules.cs.extcheck module#

timApp.modules.cs.extchecklib module#

timApp.modules.cs.file_handler module#

timApp.modules.cs.file_util module#

timApp.modules.cs.geogebra module#

timApp.modules.cs.gitlang module#

timApp.modules.cs.jsframe module#

timApp.modules.cs.languages module#

timApp.modules.cs.loadable module#

class timApp.modules.cs.loadable.Loadable[source]#

Bases: object

Schema = None#
classmethod dump(obj, *kargs, exclude=None, **kwargs)[source]#

Create a dict from object

classmethod dumps(obj, *kargs, **kwargs)[source]#

Create a json string from object

classmethod load(*kargs, **kwargs)[source]#

Load from dict

classmethod loads(*kargs, **kwargs)[source]#

Load from json string

timApp.modules.cs.manager module#

timApp.modules.cs.modifiers module#

Adding new modifier to csPlugin:

  1. Create a new class inheriting from Modifier.

  2. Give the class a ttype name in the variable ‘ttype’.

  3. Overload runner_name and modify_query methods if needed.

class timApp.modules.cs.modifiers.Args(query)[source]#

Bases: timApp.modules.cs.modifiers.Modifier

ttype = 'args'#
class timApp.modules.cs.modifiers.CSConsole(query)[source]#

Bases: timApp.modules.cs.modifiers.Modifier

runner_name()[source]#
ttype = 'csconsole'#
class timApp.modules.cs.modifiers.Console(query)[source]#

Bases: timApp.modules.cs.modifiers.Modifier

ttype = 'console'#
class timApp.modules.cs.modifiers.Doc(query)[source]#

Bases: timApp.modules.cs.modifiers.Modifier

ttype = 'doc'#
class timApp.modules.cs.modifiers.Input(query)[source]#

Bases: timApp.modules.cs.modifiers.Modifier

ttype = 'input'#
class timApp.modules.cs.modifiers.Modifier(query)[source]#

Bases: object

classmethod all_subclasses()[source]#
static css_files()[source]#
classmethod get_client_ttype(ttype)[source]#

Returns the ttype of this class that should be given to client

static js_files()[source]#
modify_query()[source]#
runner_name()[source]#
ttype = '_modifier'#
class timApp.modules.cs.modifiers.ModifierError(query, error_str)[source]#

Bases: timApp.modules.cs.modifiers.Modifier

is_valid()[source]#
modify_query()[source]#
runner_name()[source]#
ttype = '_error'#
class timApp.modules.cs.modifiers.Parsons(query)[source]#

Bases: timApp.modules.cs.modifiers.Modifier

ttype = 'parsons'#
class timApp.modules.cs.modifiers.Tiny(query)[source]#

Bases: timApp.modules.cs.modifiers.Modifier

runner_name()[source]#
ttype = 'tiny'#
class timApp.modules.cs.modifiers.TruthTable(query)[source]#

Bases: timApp.modules.cs.modifiers.Modifier

ttype = 'truthtable'#
class timApp.modules.cs.modifiers.Vis(query)[source]#

Bases: timApp.modules.cs.modifiers.Modifier

ttype = 'vis'#

timApp.modules.cs.points module#

timApp.modules.cs.points.check_number_rule(s, number_rule)[source]#
timApp.modules.cs.points.get_points_rule(points_rule, key, default)[source]#
timApp.modules.cs.points.give_points(points_rule, rule, default=0)[source]#
timApp.modules.cs.points.return_points(points_rule, result)[source]#

timApp.modules.cs.run module#

timApp.modules.cs.stack module#

timApp.modules.cs.ttype module#

Module contents#