gdesk.utils package

Submodules

Module contents

A collections of utils.

gdesk.utils.clip_array(array, dtype)

Clip the array to clipvalues of dtype.

gdesk.utils.clip_values(dtype)

Get the lowest and highest clipvalue for a certain numpy data type.

gdesk.utils.get_factors(n)
gdesk.utils.lazyf(template)

Do a f-string formating.

gdesk.utils.new_id_using_keys(keys)

Find the lowest new id starting from already exisiting ids.