Python Forum
Binary Data for Humans - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: Binary Data for Humans (/thread-8749.html)



Binary Data for Humans - boisgera - Mar-05-2018

Hi everyone,

I have released bitstream, a Python library to manage binary data (at the byte or bit level), hopefully without the pain that this kind of thing usually entails Smile

If you have struggled with this topic in the past, please take a look at the documentation and tell me what you think.

Cheers,

Sébastien


RE: Binary Data for Humans - Gribouillis - Mar-05-2018

What's the advantage over other packages such as bitstring?


RE: Binary Data for Humans - boisgera - Mar-05-2018

Bitstream integrates with Numpy, has the ability to use seamlessly custom codecs, has only a stream interface
(no random access!), augmented with snapshots (aka "time machine") when you need them, etc.

The overview should give you a good idea what to expect.

Not sure these differences are strictly advantages w.r.t. bitstring, it depends on the use case I guess.