cryptocompsdk.general package

Submodules

cryptocompsdk.general.parse module

exception cryptocompsdk.general.parse.CouldNotParseResponseException(exceptions, x)[source]

Bases: Exception

__init__(exceptions, x)[source]

Initialize self. See help(type(self)) for accurate signature.

property exceptions_str
Return type

str

exception cryptocompsdk.general.parse.InvalidTypeException[source]

Bases: Exception

exception cryptocompsdk.general.parse.NotBoolException[source]

Bases: cryptocompsdk.general.parse.InvalidTypeException

exception cryptocompsdk.general.parse.NotDictException[source]

Bases: cryptocompsdk.general.parse.InvalidTypeException

exception cryptocompsdk.general.parse.NotFloatException[source]

Bases: cryptocompsdk.general.parse.InvalidTypeException

exception cryptocompsdk.general.parse.NotIntException[source]

Bases: cryptocompsdk.general.parse.InvalidTypeException

exception cryptocompsdk.general.parse.NotListException[source]

Bases: cryptocompsdk.general.parse.InvalidTypeException

exception cryptocompsdk.general.parse.NotNAException[source]

Bases: cryptocompsdk.general.parse.InvalidTypeException

exception cryptocompsdk.general.parse.NotNoneException[source]

Bases: cryptocompsdk.general.parse.InvalidTypeException

exception cryptocompsdk.general.parse.NotStrException[source]

Bases: cryptocompsdk.general.parse.InvalidTypeException

exception cryptocompsdk.general.parse.NotTypeException[source]

Bases: cryptocompsdk.general.parse.InvalidTypeException

cryptocompsdk.general.parse.from_bool(x)[source]
Return type

bool

cryptocompsdk.general.parse.from_dict(f, x)[source]
Return type

Dict[str, ~T]

cryptocompsdk.general.parse.from_float(x)[source]
Return type

float

cryptocompsdk.general.parse.from_int(x)[source]
Return type

int

cryptocompsdk.general.parse.from_int_or_str(x)[source]
Return type

Union[str, int]

cryptocompsdk.general.parse.from_list(f, x)[source]
Return type

List[~T]

cryptocompsdk.general.parse.from_na(x)[source]
Return type

None

cryptocompsdk.general.parse.from_none(x)[source]
Return type

Any

cryptocompsdk.general.parse.from_plain_dict(x)[source]
Return type

dict

cryptocompsdk.general.parse.from_str(x)[source]
Return type

str

cryptocompsdk.general.parse.from_str_number(x)[source]
Return type

Union[int, float]

cryptocompsdk.general.parse.from_stringified_bool(x)[source]
Return type

bool

cryptocompsdk.general.parse.from_union(fs, x)[source]
cryptocompsdk.general.parse.is_type(t, x)[source]
Return type

~T

cryptocompsdk.general.parse.to_class(c, x)[source]
Return type

dict

cryptocompsdk.general.parse.to_float(x)[source]
Return type

float