You are here: Home / LBN / Up2date / Cloud Computing / BastionLinux 19 / python-bitmath-1.2.3-3.lbn19.noarch

python-bitmath-1.2.3-3.lbn19.noarch

Package Attributes
RPM  python-bitmath-1.2.3-3.lbn19.noarch.rpm Architecture  noarch Size  122613 Created  2019/09/30 06:54:04 UTC
Package Specification
Summary Aids representing and manipulating sizes in various prefix notations
Group Development/Libraries
License BSD
Home Page https://github.com/tbielawa/bitmath
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), bitwise operations, sorting, automatic best human-readable prefix selection, and completely customizable formatting.

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. bitmath can parse strings into proper objects and has support for integration with argparse as a custom argument type.

bitmath is thoroughly unittested, with over 170 individual tests (a number which is always increasing). bitmaths test-coverage is almost always at 100%.

Requires
/usr/bin/python2  
rpmlib(FileDigests)  
rpmlib(CompressedFileNames)  
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
Provides
python-bitmath

Document Actions