src.utilsΒΆ
General infrastructure code utilities.
Functions
Raise an error if filepath is not a valid path to a real file. |
|
Raise an error if checkstr is not 'true' or 'false'. |
|
Check the log level is a valid log level. |
|
Check the uuid list provided is a list of valid uuid's or an empty string. |
|
Check an IP address is a valid IP address. |
|
Convert a comma-separated list of strings into a JSON compatible list. |
|
Convert a comma-separated list into a JSON compatible list. |
|
Check a provided uuid is a valid uuid. |
|
Raise if both billing and mngmt are set or neither are set. |
|
Raise an exception if value is None. |
|
Raise an error if ticker and stack names are not valid names. |