historian.utils — Module Reference

historian.utils.get_dbs(database)[source]

Get list of dbs.

Parameters:database (str) – The database directory
Return type:List[str]
historian.utils.hash_file(filename)[source]

Get the hash of a file.

Parameters:filename (str) – The file to hash
Return type:str
Returns:The hash of the file
historian.utils.webkit_datetime(itime)[source]

Convert WebKit’s timestamp and convert it to a datetime.

Parameters:itime (int) – The timestamp in WebKit’s format (since 01-Jul-1601)
Return type:datetime
Returns:UTC datetime