[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.220.230.156: ~ $
U

su]aa�@sdZdddd�Zd
dd�Zd	S)z$Bits and bytes related humanization.)ZkBZMBZGBZTBZPBZEBZZBZYB)ZKiBZMiBZGiBZTiBZPiBZEiBZZiBZYiBZKMGTPEZY)�decimal�binary�gnuF�%.1fcCs$|rtd}n|rtd}ntd}|s,|r0dnd}t|�}t|�}|dkrX|sXd|S||krl|sld|S||kr�|r�d	|St|�D]d\}}	||d
}
||
kr�|s�|d|||
|	fS||
kr�|r�|d|||
|	fSq�|�r|d|||
|	fS|d|||
|	fS)
a�Format a number of bytes like a human readable filesize (e.g. 10 kB).

    By default, decimal suffixes (kB, MB) are used.

    Non-GNU modes are compatible with jinja2's `filesizeformat` filter.

    Examples:
        ```pycon
        >>> naturalsize(3000000)
        '3.0 MB'
        >>> naturalsize(300, False, True)
        '300B'
        >>> naturalsize(3000, False, True)
        '2.9K'
        >>> naturalsize(3000, False, True, "%.3f")
        '2.930K'
        >>> naturalsize(3000, True)
        '2.9 KiB'

        ```
    Args:
        value (int, float, str): Integer to convert.
        binary (bool): If `True`, uses binary suffixes (KiB, MiB) with base
            2<sup>10</sup> instead of 10<sup>3</sup>.
        gnu (bool): If `True`, the binary argument is ignored and GNU-style
            (`ls -sh` style) prefixes are used (K, M) with the 2**10 definition.
        format (str): Custom formatter.

    Returns:
        str: Human readable representation of a filesize.
    rrrii��z%d Bytez%d Bytesz%dB�z %sz%s)�suffixes�float�abs�	enumerate)�valuerr�format�suffix�base�bytesZ	abs_bytes�i�sZunit�r�B/opt/alt/python38/lib/python3.8/site-packages/humanize/filesize.py�naturalsizes. 

rN)FFr)�__doc__rrrrrr�<module>s
�

Filemanager

Name Type Size Permission Actions
__init__.cpython-38.opt-1.pyc File 991 B 0644
__init__.cpython-38.pyc File 991 B 0644
filesize.cpython-38.opt-1.pyc File 1.91 KB 0644
filesize.cpython-38.pyc File 1.91 KB 0644
i18n.cpython-38.opt-1.pyc File 4.25 KB 0644
i18n.cpython-38.pyc File 4.25 KB 0644
number.cpython-38.opt-1.pyc File 10.82 KB 0644
number.cpython-38.pyc File 10.82 KB 0644
time.cpython-38.opt-1.pyc File 13.29 KB 0644
time.cpython-38.pyc File 13.29 KB 0644