armi.utils.parsing module

This file contains tools for common tasks in parsing in python strings into non-string values.

armi.utils.parsing.tryLiteralEval(source)[source]
armi.utils.parsing.parseValue(source, requestedType, allowNone=False, matchingNonetype=True)[source]

Tries parse a python value, expecting input to be the right type or a string.

armi.utils.parsing.datetimeFromStr(string)[source]

Converts an arbitrary string to a datetime object.