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

RSS Recent releases

  •  04 Mar 2014 23:40

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

  •  19 Apr 2013 21:52

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

  •  22 Mar 2013 21:24

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

  •  28 Feb 2013 14: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 22:31

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

Screenshot

Project Spotlight

FastFlow

A multi-core programming framework.

Screenshot

Project Spotlight

InterceptNate

A Hibernate session and transaction manager.