Skip to content

operations

date.check_range

Documentation

Check whether a date falls within a specified date range.

If none one of the inputs 'earliest' or 'latest' is set, this module will always return 'True'.

Return True if that's the case, otherwise False.

Inputs
field name type description required default
date date The date to check. yes
earliest date The earliest date that is allowed. no
latest date The latest date that is allowed. no
Outputs
field name type description required default
within_range boolean A boolean indicating whether the provided date was within the allowed range ('true'), or not ('false') yes

date.extract_from_string

Documentation

Extract a date object from a string.

This module is very bare bones so far, only using the standard parser from the dateutil package to parse strings into dates.

Inputs
field name type description required default
text string The input string. yes
Outputs
field name type description required default
date date The date extracted from the input string. yes

list.contains

Documentation

Check whether an element is in a list.

Inputs
field name type description required default
list list The list. yes
item any The element to check for inclusion in the list. yes
Outputs
field name type description required default
is_included boolean Whether the element is in the list, or not. yes

logic.and

Documentation

Returns 'True' if both inputs are 'True'.

Inputs
field name type description required default
a boolean A boolean describing this input state. yes
b boolean A boolean describing this input state. yes
Outputs
field name type description required default
y boolean A boolean describing the module output state. yes

logic.nand

Documentation

Returns 'False' if both inputs are 'True'.

Inputs
field name type description required default
a boolean A boolean describing this input state. yes
b boolean A boolean describing this input state. yes
Outputs
field name type description required default
y boolean A boolean describing the module output state. yes

logic.nor

Documentation

Returns 'True' if both inputs are 'False'.

Inputs
field name type description required default
a boolean A boolean describing this input state. yes
b boolean A boolean describing this input state. yes
Outputs
field name type description required default
y boolean A boolean describing the module output state. yes

logic.not

Documentation

Negates the input.

Inputs
field name type description required default
a boolean A boolean describing this input state. yes
Outputs
field name type description required default
y boolean A boolean describing the module output state. yes

logic.or

Documentation

Returns 'True' if one of the inputs is 'True'.

Inputs
field name type description required default
a boolean A boolean describing this input state. yes
b boolean A boolean describing this input state. yes
Outputs
field name type description required default
y boolean A boolean describing the module output state. yes

logic.xor

Documentation

Returns 'True' if exactly one of it's two inputs is 'True'.

Inputs
field name type description required default
a boolean A boolean describing this input state. yes
b boolean A boolean describing this input state. yes
Outputs
field name type description required default
y boolean A boolean describing the module output state. yes

string_filter.tokens

Documentation

-- n/a --

Inputs
field name type description required default
value string A value of type 'string'. yes
filter_tokens list A list of tokens to filter out. no
replacement string The string to replace the tokens with. no
Outputs
field name type description required default
value string The filtered value. yes