filter_igtwitter module

class filter_igtwitter.TwitterFilter

Bases: Filter

filter(event_parameter)

Take an event_parameter object and return an event_bulletin object.

Parameters:

event_parameter (obj) – SwigPyObjects not serializable

Returns:

event_bulletin

Return type:

bulletin object

get_local_datetime(datetime_utc_str)

Take a datetime_utc_str string and return a datetime_EC string.

Parameters:

datetime_utc_str (str) – String

Returns:

datetime_EC

Return type:

date_time

parseEventParameters(event_parameter)

Take an event_parameter object and return an event dictionary.

Parameters:

event_parameter (obj) – SwigPyObjects not serializable

Returns:

event

Return type:

dictionary

status(stat)

Take an stat string and return the same stat string with reassigned value.

Parameters:

stat (str) – String

Returns:

stat

Return type:

str

class filter_igtwitter.TwitterFilterConfig

Bases: object