Technitribe

interesting problems (and a few solutions, too)

Technitribe
  • About the Authors
  • Log In
  • Log Out
  • Lost Password
  • Register
  • Reset Password
    • 28 Sep 2014

      New update for python-bitmath released

      Written by Tim Bielawa

      bitmath-1.0.8-1 was published on 2014-08-14.

      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 EPEL7repositories
      • merged 6 pull requests from 3 contributors

      Bug Fixes

      • fixed some math implementation bugs
        • commutative multiplication
        • true division

      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

      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%

      Examples Below the Fold

      Examples

      • Tags »
      • bitmath Fedora library math module

    One Comment on “New update for python-bitmath released”

    • bitmath-1.3.0 released | Technitribe

      03 Feb 2016 09:02 pm

      […] units as python objects) . In fact, it seems that the last time I wrote about bitmath here was back in 2014 when 1.0.8 was released! So here is an update covering everything post 1.0.8 up to […]

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    • The Authors
    • Virtual Disk Guide

      Interested in virtualization? Do QCOWs rule your filesystem? Are you a libvirt or KVM+QEMU wizard? I wrote a book about virtual disk management. Check out the The Linux Sysadmin's Guide to Virtual Disks online for free at ScribesGuides.com.


      Consider supporting the author by purchasing a hard copy of the first edition for just $10.00 on Lulu.com.

    • bitmath

      bitmath is a Python library for dealing with file size units (GiB's, kB's, etc) in a sane way. bitmath supports arithmetic, rich comparison, conversion, automatic best human-readable representation, and many other utility functions. Read some examples on the docs site or check out the source on GitHub.

    • latest posts

      • Using jq to filter an array of objects from JSON September 9, 2019
      • Two Year Break — And we’re back! November 16, 2018
      • [Updated] GitHub + Gmail — Filtering for Review Requests and Mentions January 20, 2017
    • tags

      bitmath blog conference css dblatex DNS DocBook eclipse Emacs Erlang Fedora fedora 22 filter GNU Screen Haiku Introduction java jboss LCSEE Linux locale locales fix slicehost ubuntu Macports module nist nXML-Mode opengl open source OS X package packaging pki prefix units presentation project pypi Python scholarship si summit Tutorial ubuntu xcode XML XMPP
    • h4ck teh world

      tbielawatbielawa
      • Create
        aos-cd-jobs
        October 27, 2020 - 1:45 pm UTC
      • Pull Request
        openshift/aos-cd-jobs
        October 27, 2020 - 1:45 pm UTC

Creative Commons License
Technitribe by Tim Bielawa is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.