Skip to content

Instantly share code, notes, and snippets.

@tbielawa
Created March 27, 2014 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbielawa/9811913 to your computer and use it in GitHub Desktop.
Save tbielawa/9811913 to your computer and use it in GitHub Desktop.
python-bitmath - Now available in Fedora repositories! More at https://blog.lnx.cx/?p=550
$ yum info python-bitmath
Available Packages
Name : python-bitmath
Arch : noarch
Version : 1.0.4
Release : 1.fc20
Size : 23 k
Repo : updates/20/x86_64
Summary : Aids representing and manipulating sizes in various prefix
: notations
URL : https://github.com/tbielawa/bitmath
License : BSD
Description : bitmath simplifies many facets of interacting with file sizes in
: various units. Examples include: 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), and rich comparison operations
: (1024 Bytes == 1KiB).
:
: In addition to the conversion and math operations, bitmath
: provides human readable representations of values which are
: suitable for use in interactive shells as well as larger scripts
: and applications.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment