easyvvuq.utils package¶
Submodules¶
easyvvuq.utils.db_benchmark module¶
easyvvuq.utils.helpers module¶
- easyvvuq.utils.helpers.easyvvuq_deserialize(s)[source]¶
Takes a serialized objected and reconstructs it.
- Parameters:
s (str) – A serialized Python object.
- Returns:
A previously serialized Python object.
- Return type:
obj
- easyvvuq.utils.helpers.easyvvuq_serialize(obj)[source]¶
Takes an object and returns a string with that object serialized.
- Parameters:
obj (obj) – An arbitrary Python object.
- Returns:
A string representation of obj.
- Return type:
str
- easyvvuq.utils.helpers.multi_index_tuple_parser(lst)[source]¶
Parses a list of strings to tuples if they represent tuples, otherwise leaves them as is.
- Parameters:
lst (list of strings)
- Returns:
a tuple consisting of a list of tuples and/or strings and a bool indicating if
the lst contains any tuples