viz.utils
¶
Module Contents¶
-
json_expand
(json_op, key_name='json')¶ Convert a string json object to Python dict in an op.
-
time_elapsed
(event_time)¶ Takes a string time from blockchain event, and returns a time delta from now.
-
parse_time
(event_time)¶ Take a string representation of time from the blockchain, and parse it into datetime object.
-
time_diff
(time1, time2)¶