Projects / python-bitstring

python-bitstring

bitstring is a Python module that helps to make the creation and analysis of binary data as simple and natural as possible. Objects can be constructed from integers (big and little endian), floats, hex, octal, binary, byte data, iterables, or files. They can be sliced, joined, reversed, packed, unpacked, inserted into, overwritten, and otherwise operated upon with simple functions or slice notation. They can also be parsed, searched, and navigated in, similar to a file or stream. Internally the data is efficiently stored as byte arrays. It is available for Python 2.6 and later (including Python 3).

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  04 Mar 2014 22:25

    Release Notes: This release fixes a problem with the prepend method for bitstrings with byte offsets in their data store.

    •  19 Apr 2013 15:36

      Release Notes: This release has a fix for a problem where unpacked bytes could be eight times too long.

      •  22 Mar 2013 11:14

        Release Notes: This release fixes a bug in which bitstrings could be modified by being used in an append.

        •  27 Feb 2013 13:02

          Release Notes: This is a minor update that contains a couple of new features and a few bugfixes. A new 'pad' token is introduced for skipping unwanted bits, and clear and copy methods have been added to mutable classes.

          •  09 Feb 2012 11:41

            Release Notes: This is a minor update that contains a few bugfixes.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.