Versions

Description

bitmath simplifies many facets of interacting with file sizes in various units. Functionality includes: Converting between **SI** and **NIST** prefix units (GiB to kB) Converting between units of the same type (SI to SI, or NIST to NIST) Basic arithmetic operations (subtracting 42KiB from 50GiB) Rich comparison operations (1024 Bytes == 1KiB) bitwise operations (``<<``, ``>>``, ``&``, ``\|``, ``^``) Sorting Automatic human-readable prefix selection (like in `hurry.filesize <https://pypi.python.org/pypi/hurry.filesize>`_)

Repository

https://github.com/tbielawa/bitmath.git

Project Slug

bitmath

Last Built

1 year, 10 months ago passed

Maintainers

Home Page

https://github.com/tbielawa/bitmath

Badge

Tags

python, files, filesystem, python3, python2, size-calculation, sizes, math-library

Short URLs

bitmath.readthedocs.io
bitmath.rtfd.io

Default Version

latest

'latest' Version

master