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, 2 months ago passed

Maintainers

Home Page

https://github.com/tbielawa/bitmath

Badge

Tags

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

Short URLs

bitmath.readthedocs.io
bitmath.rtfd.io

Default Version

latest

'latest' Version

master