8. NEWS¶
8.1. bitmath-1.1.0-1¶
bitmath-1.1.0-1 was published on 2014-12-20.
8.1.1. Changes¶
Added Functionality
- New bitmath command-line tool added. Provides CLI access to basic unit conversion functions
- New utility function bitmath.parse_string for parsing a human-readable string into a bitmath object. Patch submitted by new contributor tonycpsu.
8.2. bitmath-1.0.5-1 through 1.0.8-1¶
bitmath-1.0.8-1 was published on 2014-08-14.
8.2.1. Major Updates¶
- bitmath has a proper documentation website up now on Read the Docs, check it out: bitmath.readthedocs.org
- bitmath is now Python 3.x compatible
- bitmath is now included in the Extra Packages for Enterprise Linux EPEL6 and EPEL7 repositories
- merged 6 pull requests from 3 contributors
8.2.2. Bug Fixes¶
- fixed some math implementation bugs
8.2.3. Changes¶
Added Functionality
- best-prefix guessing: automatic best human-readable unit selection
- support for bitwise operations
- formatting customization methods (including plural/singular selection)
- exposed many more instance attributes (all instance attributes are usable in custom formatting)
- a context manager for applying formatting to an entire block of code
- utility functions for sizing files and directories
- add instance properties equivalent to instance.to_THING() methods
8.2.4. Project¶
Tests
- Test suite is now implemented using Python virtualenv’s for consistency across across platforms
- Test suite now contains 150 unit tests. This is 110 more tests than the previous major release (1.0.4-1)
- Test suite now runs on EPEL6 and EPEL7
- Code coverage is stable around 95-100%
8.3. bitmath-1.0.4-1¶
This is the first release of bitmath. bitmath-1.0.4-1 was published on 2014-03-20.
8.3.1. Project¶
Available via:
bitmath had been under development for 12 days when the 1.0.4-1 release was made available.
8.3.2. Debut Functionality¶
- 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)
- Sorting
- Useful console and print representations