Contents:
brightness_and_color_to_int()
deprecated()
int_to_brightness()
int_to_rgb()
pretty_seconds()
pretty_time()
rgb_to_int()
This is a decorator which can be used to mark functions and classes as deprecated. It will result in a warning being emitted when the function is used.
From https://stackoverflow.com/a/40301488
Return brightness (0-100) from integer.
Return a RGB tuple from integer.
Return a timedelta object from seconds.
Return a datetime object from unix timestamp.
Return an integer from RGB tuple.