bitstruct
bitstruct copied to clipboard
Python bit pack/unpack package.
Installing `bitstruct==8.12.1` will successfully install even if the C extension cannot be built. This behaviour is a little hard to track since it would be unknown if it was installed...
With the `8.11.1` I'm getting ``` >>> bitstruct.pack('u8u8u8u8', 1, 2, 3, 4) b'\x01\x02\x03\x04' ``` Is this OK? According to the documentation, I was expecting different byte orderings when using suffixes...
Would you be willing to accept a pullreq for adding functionality to allow either a signed or an unsigned number to be "packed"? There are cases where one would want...
In order to have a drop-in replacement of the pure Python implementation please consider to expose the `CompiledFormat` and `CompiledFormatDict` classes also in the C implementation. Also please note that...
I needed to change bit-endianness of a byte-stream and it took a little while to figure out what _seems_ to be the simplest way to do this. Maybe it could...
Hello, I am using Python 3.8 in pycharm. Sorry in advance if I have a very superficial understanding of how this module works but installing the lastest version of bitstruct...
I've been strugging with a communication system that expects the bitstream to be "right-aligned". Basically the idea is to perform zero-padding on the left instead of the right. I also...
This adds a pure Python wheel (eg. `bitstruct-8.19.0-py3-none-any.whl`) to the output builds for upload to PyPI: https://pypi.org/project/bitstruct/#files. One useful consequence of this is letting us use packages relying on bitstruct...
- the version is set automatically from the git tag - build for Intel and Apple Silicon - update Github actions
Hi, thanks for an awesome tool. I have been using it really happily with a lot of data that is mostly multiples of 8 bits or sets of bools and...