kdb.plugins.eval module

Expression Evaluation

This plugin provides a command to evaluate python expressions and can be used as a simple way of performing calculations.

class kdb.plugins.eval.Commands(*args, **kwargs)

Bases: circuits.core.components.Component

channel = 'commands'
eval(source, target, args)

Evaluates the given expression and displays the result.

Syntax: EVAL [<expr> ...]

sum(source, target, args)

Sum a list of numbers

Syntax: SUM [<n1>, <n2>, <n3>, ...]

class kdb.plugins.eval.Eval(*args, **kwargs)

Bases: kdb.plugin.BasePlugin

Evalulation (expression) plugin

Provides a command to evaluate python expressions and can be used as a simple way of calculating expressions.

See: HELP eval

init(*args, **kwargs)

This Page