PPA Tools: Inputs & Outputs
Each plugin uses a set of dictionaries to store data.
These are used by plugin actions as both inputs and outputs.
This page will cover:
- The dictionaries used in this plugin
- The information each dictionary contains
Contains date & time information
Used as an output from now
1 2 3 4 5 6 7 8 9 10 11
display: The day, month, date, time, & year displayed together
date: The date in dd/mm/yyyy format
time: The time in hh:mm:ss format
day: The day as a number
day_name: The name of the day
month: The month as a number
month_name: The name of the month
year: The year as a number
hour: The hour as a number
minutes: The minutes as a number
seconds: The seconds as a number
Contains a dictionary key, test value, & filter type.
Supplied in a list to the filter_from_list dictionary action.
- key: The dictionary key whose value should be tested.
- type: A filter type (see below for more information).
- value: The value to test against the dictionary value.
All filters & the types of value they support:
equal(string or integer)
not_equal(string or integer)
Contains a name & regular expression used to extract data from some text
Used as an input to extract_values
The example below shows the dictionary structure in YAML
See the required keys underneath the example
name: The name to give the extracted value.
expression: A regular expression used to find the value in the text.