1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/math/py-bitmath/pkg-descr
William Grzybowski f60a6a56d1 math/py-bitmath: Represent and manipulate file sizes with different prefix notations
bitmath simplifies many facets of interacting with file sizes in various units.
Functionality includes:

- Converting between SI and NIST prefix units (kB to GiB)
- Converting between units of the same type (SI to SI, or NIST to NIST)
- Automatic human-readable prefix selection (like in hurry.filesize)
- Basic arithmetic operations (subtracting 42KiB from 50GiB)
- Rich comparison operations (1024 Bytes == 1KiB)
- bitwise operations (<<, >>, &, |, ^)
- argparse integration
- progressbar integration
- String parsing
- Sorting

WWW:	https://github.com/tbielawa/bitmath
2015-07-14 19:53:38 +00:00

16 lines
572 B
Plaintext

bitmath simplifies many facets of interacting with file sizes in various units.
Functionality includes:
- Converting between SI and NIST prefix units (kB to GiB)
- Converting between units of the same type (SI to SI, or NIST to NIST)
- Automatic human-readable prefix selection (like in hurry.filesize)
- Basic arithmetic operations (subtracting 42KiB from 50GiB)
- Rich comparison operations (1024 Bytes == 1KiB)
- bitwise operations (<<, >>, &, |, ^)
- argparse integration
- progressbar integration
- String parsing
- Sorting
WWW: https://github.com/tbielawa/bitmath