def convert_bytes(value):
n = np.rint(len(str(value))/<NUM_LIT:4>).astype(int)<EOL>return value/(<NUM_LIT>**n), sizes[n]<EOL>
Reduces bytes to more convenient units (i.e. KiB, GiB, TiB, etc.).

Args:
    values (int): Value in Bytes

Returns:
    tup (tuple): Tuple of value, unit (e.g. (10, 'MiB'))