Skip to main content

This module performs conversions between Python values and C bit field structs represented as Python byte strings.

Project description

About

This module is intended to have a similar interface as the python struct module, but working on bits instead of primitive data types (char, int, …).

Project homepage: https://github.com/eerimoq/bitstruct

Documentation: https://bitstruct.readthedocs.io

Installation

pip install bitstruct

Performance

Parts of this package has been re-implemented in C for faster pack and unpack operations. There are two independent C implementations; bitstruct.c, which is part of this package, and the standalone package cbitstruct. These implementations are only available in CPython 3, and must be explicitly imported. By default the pure Python implementation is used.

To use bitstruct.c, do import bitstruct.c as bitstruct.

To use cbitstruct, do import cbitstruct as bitstruct.

bitstruct.c has a few limitations compared to the pure Python implementation:

  • Integers and booleans must be 64 bits or less.

  • Text and raw must be a multiple of 8 bits.

  • Bit endianness and byte order are not yet supported.

  • byteswap() can only swap 1, 2, 4 and 8 bytes.

See cbitstruct for its limitations.

MicroPython

The C implementation has been ported to MicroPython. See bitstruct-micropython for more details.

Example usage

A basic example of packing and unpacking four integers using the format string 'u1u3u4s16':

>>> from bitstruct import *
>>> pack('u1u3u4s16', 1, 2, 3, -4)
b'\xa3\xff\xfc'
>>> unpack('u1u3u4s16', b'\xa3\xff\xfc')
(1, 2, 3, -4)
>>> calcsize('u1u3u4s16')
24

An example compiling the format string once, and use it to pack and unpack data:

>>> import bitstruct
>>> cf = bitstruct.compile('u1u3u4s16')
>>> cf.pack(1, 2, 3, -4)
b'\xa3\xff\xfc'
>>> cf.unpack(b'\xa3\xff\xfc')
(1, 2, 3, -4)

Use the pack into and unpack from functions to pack/unpack values at a bit offset into the data, in this example the bit offset is 5:

>>> from bitstruct import *
>>> data = bytearray(b'\x00\x00\x00\x00')
>>> pack_into('u1u3u4s16', data, 5, 1, 2, 3, -4)
>>> data
bytearray(b'\x05\x1f\xff\xe0')
>>> unpack_from('u1u3u4s16', data, 5)
(1, 2, 3, -4)

The unpacked values can be named by assigning them to variables or by wrapping the result in a named tuple:

>>> from bitstruct import *
>>> from collections import namedtuple
>>> MyName = namedtuple('myname', ['a', 'b', 'c', 'd'])
>>> unpacked = unpack('u1u3u4s16', b'\xa3\xff\xfc')
>>> myname = MyName(*unpacked)
>>> myname
myname(a=1, b=2, c=3, d=-4)
>>> myname.c
3

Use the pack_dict and unpack_dict functions to pack/unpack values in dictionaries:

>>> from bitstruct import *
>>> names = ['a', 'b', 'c', 'd']
>>> pack_dict('u1u3u4s16', names, {'a': 1, 'b': 2, 'c': 3, 'd': -4})
b'\xa3\xff\xfc'
>>> unpack_dict('u1u3u4s16', names, b'\xa3\xff\xfc')
{'a': 1, 'b': 2, 'c': 3, 'd': -4}

An example of packing and unpacking an unsigned integer, a signed integer, a float, a boolean, a byte string and a string:

>>> from bitstruct import *
>>> pack('u5s5f32b1r13t40', 1, -1, 3.75, True, b'\xff\xff', 'hello')
b'\x0f\xd0\x1c\x00\x00?\xffhello'
>>> unpack('u5s5f32b1r13t40', b'\x0f\xd0\x1c\x00\x00?\xffhello')
(1, -1, 3.75, True, b'\xff\xf8', 'hello')
>>> calcsize('u5s5f32b1r13t40')
96

The same format string and values as in the previous example, but using LSB (Least Significant Bit) first instead of the default MSB (Most Significant Bit) first:

>>> from bitstruct import *
>>> pack('<u5s5f32b1r13t40', 1, -1, 3.75, True, b'\xff\xff', 'hello')
b'\x87\xc0\x00\x03\x80\xbf\xff\xf666\xa6\x16'
>>> unpack('<u5s5f32b1r13t40', b'\x87\xc0\x00\x03\x80\xbf\xff\xf666\xa6\x16')
(1, -1, 3.75, True, b'\xff\xf8', 'hello')
>>> calcsize('<u5s5f32b1r13t40')
96

An example of unpacking values from a hexstring and a binary file:

>>> from bitstruct import *
>>> from binascii import unhexlify
>>> unpack('s17s13r24', unhexlify('0123456789abcdef'))
(582, -3751, b'\xe2j\xf3')
>>> with open("test.bin", "rb") as fin:
...     unpack('s17s13r24', fin.read(8))
...
...
(582, -3751, b'\xe2j\xf3')

Change endianness of the data with byteswap, and then unpack the values:

>>> from bitstruct import *
>>> packed = pack('u1u3u4s16', 1, 2, 3, 1)
>>> unpack('u1u3u4s16', byteswap('12', packed))
(1, 2, 3, 256)

A basic example of packing and unpacking four integers using the format string 'u1u3u4s16' using the C implementation:

>>> from bitstruct.c import *
>>> pack('u1u3u4s16', 1, 2, 3, -4)
b'\xa3\xff\xfc'
>>> unpack('u1u3u4s16', b'\xa3\xff\xfc')
(1, 2, 3, -4)

Contributing

  1. Fork the repository.

  2. Install prerequisites.

    pip install -r requirements.txt
  3. Implement the new feature or bug fix.

  4. Implement test case(s) to ensure that future changes do not break legacy.

  5. Run the tests.

    make test
  6. Create a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitstruct-8.20.0.tar.gz (35.6 kB view details)

Uploaded Source

Built Distributions

bitstruct-8.20.0-cp313-cp313-win_amd64.whl (36.8 kB view details)

Uploaded CPython 3.13 Windows x86-64

bitstruct-8.20.0-cp313-cp313-win32.whl (34.8 kB view details)

Uploaded CPython 3.13 Windows x86

bitstruct-8.20.0-cp313-cp313-musllinux_1_2_x86_64.whl (81.2 kB view details)

Uploaded CPython 3.13 musllinux: musl 1.2+ x86-64

bitstruct-8.20.0-cp313-cp313-musllinux_1_2_i686.whl (76.2 kB view details)

Uploaded CPython 3.13 musllinux: musl 1.2+ i686

bitstruct-8.20.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (83.5 kB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

bitstruct-8.20.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (77.8 kB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

bitstruct-8.20.0-cp313-cp313-macosx_11_0_arm64.whl (38.3 kB view details)

Uploaded CPython 3.13 macOS 11.0+ ARM64

bitstruct-8.20.0-cp312-cp312-win_amd64.whl (36.8 kB view details)

Uploaded CPython 3.12 Windows x86-64

bitstruct-8.20.0-cp312-cp312-win32.whl (34.8 kB view details)

Uploaded CPython 3.12 Windows x86

bitstruct-8.20.0-cp312-cp312-musllinux_1_2_x86_64.whl (81.2 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

bitstruct-8.20.0-cp312-cp312-musllinux_1_2_i686.whl (76.1 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ i686

bitstruct-8.20.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (83.6 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

bitstruct-8.20.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (77.9 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

bitstruct-8.20.0-cp312-cp312-macosx_11_0_arm64.whl (38.3 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

bitstruct-8.20.0-cp311-cp311-win_amd64.whl (36.8 kB view details)

Uploaded CPython 3.11 Windows x86-64

bitstruct-8.20.0-cp311-cp311-win32.whl (34.8 kB view details)

Uploaded CPython 3.11 Windows x86

bitstruct-8.20.0-cp311-cp311-musllinux_1_2_x86_64.whl (80.7 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

bitstruct-8.20.0-cp311-cp311-musllinux_1_2_i686.whl (75.7 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ i686

bitstruct-8.20.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (82.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

bitstruct-8.20.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (77.5 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

bitstruct-8.20.0-cp311-cp311-macosx_11_0_arm64.whl (38.3 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

bitstruct-8.20.0-cp310-cp310-win_amd64.whl (36.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

bitstruct-8.20.0-cp310-cp310-win32.whl (34.8 kB view details)

Uploaded CPython 3.10 Windows x86

bitstruct-8.20.0-cp310-cp310-musllinux_1_2_x86_64.whl (79.0 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

bitstruct-8.20.0-cp310-cp310-musllinux_1_2_i686.whl (74.2 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ i686

bitstruct-8.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (81.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

bitstruct-8.20.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (75.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

bitstruct-8.20.0-cp310-cp310-macosx_11_0_arm64.whl (38.3 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

bitstruct-8.20.0-cp39-cp39-win_amd64.whl (36.9 kB view details)

Uploaded CPython 3.9 Windows x86-64

bitstruct-8.20.0-cp39-cp39-win32.whl (34.8 kB view details)

Uploaded CPython 3.9 Windows x86

bitstruct-8.20.0-cp39-cp39-musllinux_1_2_x86_64.whl (78.5 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

bitstruct-8.20.0-cp39-cp39-musllinux_1_2_i686.whl (73.8 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ i686

bitstruct-8.20.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (80.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

bitstruct-8.20.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (75.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

bitstruct-8.20.0-cp39-cp39-macosx_11_0_arm64.whl (38.2 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

bitstruct-8.20.0-cp38-cp38-win_amd64.whl (36.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

bitstruct-8.20.0-cp38-cp38-win32.whl (34.8 kB view details)

Uploaded CPython 3.8 Windows x86

bitstruct-8.20.0-cp38-cp38-musllinux_1_2_x86_64.whl (78.3 kB view details)

Uploaded CPython 3.8 musllinux: musl 1.2+ x86-64

bitstruct-8.20.0-cp38-cp38-musllinux_1_2_i686.whl (73.5 kB view details)

Uploaded CPython 3.8 musllinux: musl 1.2+ i686

bitstruct-8.20.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (81.0 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

bitstruct-8.20.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (75.6 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

bitstruct-8.20.0-cp38-cp38-macosx_11_0_arm64.whl (38.3 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

bitstruct-8.20.0-cp37-cp37m-win_amd64.whl (36.8 kB view details)

Uploaded CPython 3.7m Windows x86-64

bitstruct-8.20.0-cp37-cp37m-win32.whl (34.8 kB view details)

Uploaded CPython 3.7m Windows x86

bitstruct-8.20.0-cp37-cp37m-musllinux_1_2_x86_64.whl (76.9 kB view details)

Uploaded CPython 3.7m musllinux: musl 1.2+ x86-64

bitstruct-8.20.0-cp37-cp37m-musllinux_1_2_i686.whl (72.3 kB view details)

Uploaded CPython 3.7m musllinux: musl 1.2+ i686

bitstruct-8.20.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (79.7 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

bitstruct-8.20.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (74.2 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

File details

Details for the file bitstruct-8.20.0.tar.gz.

File metadata

  • Download URL: bitstruct-8.20.0.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bitstruct-8.20.0.tar.gz
Algorithm Hash digest
SHA256 f6b16a93097313f2a6c146640c93e5f988a39c33364f8c20a4286ac1c5ed5dae
MD5 c7450a146e61a86f43a19f6f0951a112
BLAKE2b-256 37b7cc0edea9ed9d8fad97820cb3d38992d5631e5f06d10d1e394148aeaa7797

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 31e33cc7db403cd2441d4d1968c57334b2489ffe123cfc30d26eedf11063288e
MD5 e63de512af2690498857ccb4135e1d4b
BLAKE2b-256 660a73564b78aaff494e3bdaf5e4946cabbc41d957d386d92af2123fd2b705f5

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp313-cp313-win32.whl.

File metadata

  • Download URL: bitstruct-8.20.0-cp313-cp313-win32.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bitstruct-8.20.0-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 a09f81cdeec264349a6e65597329a1cee461218b870f8113848126c2c6729025
MD5 014bdc214e5ffb7bbdabab4b328536c5
BLAKE2b-256 6772611a63dea63bdd0a1d15eb2b8cdee0cb089f010f0a7bb4ba839618316f2b

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d3f29bb701916a8bb885ccc0de77c6c4b3eaf81652916b3d0bcd7dd9ebdab799
MD5 4b875f0e4fa63fce73335bc890b77ea7
BLAKE2b-256 a68869db802731e023bbc0dd5443b3aeff7266470c51fbcb969936015bc7252d

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp313-cp313-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 3c3d19f85935613a7db42f0e848e278d33ed2b18629dd5cc0e391d0ee8ddb54b
MD5 0aee6c2e835405d15d496d7acfa59933
BLAKE2b-256 448cfa70b395703e155e2b4e1d70310c2b987e8ea388b85ecbb2dbbb80c6dda4

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c4df55aea3bf5c1970174191f04f575d657515b2ff26582e7a6475937b4e8176
MD5 1147287409f4598fcafa2e2f10433dab
BLAKE2b-256 20cbd7c5e919594fbdca797f3e2e227b95c3f70513513c181d405bb641c053f1

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 f44afbce27ca0bd3fa96630c7a240bff167a7b66c05ac12ba9147ec001eee531
MD5 8ba47c06821e07b2c2132018ded762b4
BLAKE2b-256 d215ccbd6b54c3afd474dbebb9ea7bf02031068fb30c7949bc3134f01d55a937

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b62fab3f38c09f5d61c83559cfc495b56de6dc424c3ccb1ff9f93457975b8c25
MD5 1d2a4d538061bd34506635a91487dd10
BLAKE2b-256 4ca045821219ffa1c4d86ec9056d67f9fd4a3226d8b239a55ff0fe06d8e532f1

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b3732bed3c8b190dee071c2222304ef668f665fbdbeef19c9aeed50fbe1a3d48
MD5 d92e1a3ad58986c91d2bbde4ae337db0
BLAKE2b-256 e68337c741d02133ed2e18db015aaa3849bf24946b7903d8b4af3645cfb9233c

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp312-cp312-win32.whl.

File metadata

  • Download URL: bitstruct-8.20.0-cp312-cp312-win32.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bitstruct-8.20.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 8ca1cc21ae72bbefee4471054e6a993b74f4571716eded73c3d3b6280dc831fd
MD5 f4f7222a8dc7f2eeb50ecf0bd5fba236
BLAKE2b-256 e4181b6f22b19e6fb87ed08760576fac092f8a20ff8a2ac2f9eab7e60ae82a38

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c4dad0231810bc3ef4e5154d6d6f7d62cc3efe2b9e9e6126002f105297284af3
MD5 254183b88b4fa971754c048ebd673f59
BLAKE2b-256 176aa1cb10a564bcf522211101c3b023f8a859bda2e1a552d7694935ad208106

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 ea7b64a444bf592712593a9f3bf1cb37588fae257aeb40d2ea427e17ef3d690c
MD5 c08f16eb06354241d58af151a5d7a506
BLAKE2b-256 d2e36904e2f80c89efeee473bf3539e1f3904c422f7cab0bb86d28124e732fc5

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ac0bb940fa9238c05796d45fb957ddf2e10d82ee8fd8cd43c5e367a9c380b24c
MD5 6348473752fdbc53e8d950b4db444297
BLAKE2b-256 90430eae530142d0e65cb74e83de79d6c6c55e3c57de0a2d1ec9b7459d1c9afd

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 73eb7f0b6031c7819c12412c71af07cfac036da22a9245b7a1669a1f11fe1220
MD5 e160537cb0c6520a446003dc82b29189
BLAKE2b-256 4030cb048fa88c276d156a2a7af7f6ec2820c7391f8f7ecec43b945127abf116

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5df3ce5f4dd517be68e4b2d8ab37a564e12d5e24ec29039a3535281174a75284
MD5 407a161520843bc34cd14c0d13a56bf2
BLAKE2b-256 cbf69598c50c432bd56eb301cbf2ef69941141bc5519c728176648a4b3dc54cd

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8271b3851657fe1066cb04ddc30e14a8492bdd18fa287514506af0801babd494
MD5 716a30dcb8e80bbf1eb25c29b2156583
BLAKE2b-256 aedec446c5a96a4b612558827a71a373760c06af104e02a974fadbb9287ce548

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp311-cp311-win32.whl.

File metadata

  • Download URL: bitstruct-8.20.0-cp311-cp311-win32.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bitstruct-8.20.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 0b0444a713f4f7e13927427e9ff5ed73bb4223c8074141adfc3e0bfbe63e092d
MD5 c05f01aa9deea979d9949b8969dfb0fc
BLAKE2b-256 8d45fc2d648cb357b7283f11d6f3275a7e2689d353f9a343dbefd83436264752

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0fbf434f70f827318f2aaa68c6cf2fde58ab34a5ab1c6d9f0f4b9f953f058584
MD5 a266d98cb390e6afa7d232fcd2776b2d
BLAKE2b-256 3e2d50a543c70823547d26fc20641edcfdc005eaa9aa4e29354ce21409228b21

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 fc4a841126e2d89fd3ef579c2d8b02f8af31b5973b947afb91450ae8adf5caa4
MD5 a3c76a6a802a9235e0819bdb60bb1618
BLAKE2b-256 f2d063b41eb8abb6d31d0c3a6d7be077882fee0046e6b5c0294c1b08374e639e

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f9a2634563ed9c7229b0c6938a332b718e654f0494c2df87ee07f8074026ee68
MD5 d4af9b26b279bb3db849b14c8ffe2e58
BLAKE2b-256 c19125cafb8a91bb62965d438872f6370811f4296829cac1a54544e1f17d868f

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4cf892b3c95393772eea4ab2a0e4ea2d7ec45742557488727bd6bfdd1d1e5007
MD5 455fb557cf70b0204003eb98e7816358
BLAKE2b-256 dbc6165fa6cedfe0779cf3b6513a0408d5dbba3789e55b212b5714c84bf66894

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3be9192bff6accb6c2eb4edd355901fed1e64cc50de437015ee1469faab436a4
MD5 ae0061fb8ea0681ca56830a5ff563551
BLAKE2b-256 600d5115ee2459ce8d6afb5fa02ae41a1a2b04f0efdd56e7dca79f8f05b99582

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 98640aeb709b67dcea79da7553668b96e9320ee7a11639c3fe422592727b1705
MD5 3853785a9ee0217f1ff6a7ed0d53657a
BLAKE2b-256 e9523d6c1b7abc7f33b7bf348038dd8d4915de93cf03e8a1b0333f92e5179d61

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp310-cp310-win32.whl.

File metadata

  • Download URL: bitstruct-8.20.0-cp310-cp310-win32.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bitstruct-8.20.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 5f3c88ae5d4e329cefecc66b18269dc27cd77f2537a8d506b31f8b874225a5cc
MD5 a5bde643e246044c37c79fa095937cf7
BLAKE2b-256 2e7be604da0ade67ce6e5629da196f6936867235b3d9d513b700b875aff66763

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9962bccebee15ec895fa8363ad4391e5314ef499b3e96af7d8ef6bf6e2f146ce
MD5 8a823aad00d2af0952f6c2a4d0593173
BLAKE2b-256 aecfc5df5eb10b7d8529b676738728f567355c9cb70e033809d75b2d9c217e2a

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 2b1735a9ae5ff82304b9f416051e986e3bffa76bc416811d598ee3e8e9b1f26c
MD5 6155cd5efc98c8558158e2bf2f671817
BLAKE2b-256 14ae8855346326aea3c0a27c113c3dfc962affa789da4bfe3cf25589aff35e30

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b7fec9cff575cdd9dafba9083fa8446203f32c7112af7a6748f315f974dcd418
MD5 8224fd8c18e3dadc80539360cda8e448
BLAKE2b-256 0495b538b7283d607f8d4d2016fbcf015178c6028f101d8a3bb5203e7f24838f

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 08835ebed9142babc39885fc0301f45fae9de7b1f3e78c1e3b4b5c2e20ff8d38
MD5 1712115c3d5fead7eec2e99fc1b3f446
BLAKE2b-256 1c5a037ff150904923612477411c88b7e07380bd0fbbab31389eb11aaa6e7b48

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7a33169c25eef4f923f8a396ef362098216f527e83e44c7e726c126c084944ab
MD5 1471b4cc58ee72d10faf8a484a98e409
BLAKE2b-256 37d1881fcc068acc24007458197372dd392a430b4f398f60b7577c3ab12e49db

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a7109b454a8cccc55e88165a903e5d9980e39f6f5268dc5ec5386ae96a89ff1b
MD5 13143a0cecab6622eac290f0c2610386
BLAKE2b-256 247a41a2a44465e9985b795f1767d3157de82c94f82fba5f01e85d3d1d641224

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp39-cp39-win32.whl.

File metadata

  • Download URL: bitstruct-8.20.0-cp39-cp39-win32.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bitstruct-8.20.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 3e5195cfe68952587a2fcb621b2ee766e78f5d2d5a1e94204ac302e3d3f441bc
MD5 687a9b17f781a4c4650ea82582d7c8cc
BLAKE2b-256 2f631cad55d3e11e6267367ee2c3f96953f41026da8a39df9b63bf0a83270336

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f6cc949e8030303b05728294b4feaca8c955150dd5042f66467da1dd18ff3410
MD5 e35d409fe053d65123048be4e986690d
BLAKE2b-256 5c1ff6b46ba73aa7d6f969c67ff0f9f86cabdf00f3355fb9099f4e8d834b8cad

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp39-cp39-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 a0482f8e2b73df16d080d5d8df23e2949c114e27acfeb659f0465ef8ce1da038
MD5 22a9da13ce66a799d1e62b40bce143c7
BLAKE2b-256 f0f3292364e356c15d82c3d1b7de5bf27a3acd0b9f45ea1bc5b60710841b8a5a

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0528f8da4cf919a3d4801603c4e5fc601b72b86955d37c51c8d7ddc69f291f0c
MD5 99af379c64a3b0e1fc89f2d75383f64b
BLAKE2b-256 2dcdd3332f67c138bee957b597819d56b2b95837f2b59868f9a54ff7b4eb8007

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 6ac783d0bc7c57bee2c8f8cda4c83d60236e7c046f6f454e76943f9e0fb16112
MD5 a1ea0fe18f53f1aae4ee429a95803c6f
BLAKE2b-256 d081c49ce66b4ee435eb76a49c62d6d3c701c66567165c463757dd5b592079fc

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1a063deb6b7b07906414ac460c807e483b6eea662abcb406c4ea6e2938c8fc21
MD5 c6e04db420b4360e070952beb2ce7680
BLAKE2b-256 6910b16af4a0f3a30e7ecf516f820e3e165db3058983fd4ebd462145f3ae060c

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3eb8de0ad891b716ed97430e8b8603b6d875c5ddc5ebcd9c5288099c773a6bc9
MD5 cf555d75f20e18caaf17433278f9c81e
BLAKE2b-256 ae586c5ad5959bcf28eb675aab2b56bea4fb0212a265ce08acdfe51352ceb414

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp38-cp38-win32.whl.

File metadata

  • Download URL: bitstruct-8.20.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bitstruct-8.20.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 5618eaab857db6dafa26751af5b8c926541ce578f36608e50fa687127682af3c
MD5 73021ed7b0ca536288839c2c2ef8362b
BLAKE2b-256 a625cfdc5b43cf815164750403b6d6f50e896701d60b9dce2584f99dfbe93771

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b3a4f0e443a9b4171b648b52c3003064cf31113f6203e08dc4ac225601d9249b
MD5 b998b994da78ff021cfc3df35c487a77
BLAKE2b-256 4a88b9cec4afa4b708ee10df707badc151200954c17149d7a4516d6dc3c80098

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp38-cp38-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp38-cp38-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 2adcd545a8f8a90a2e84a21edc5763f3d3832ebddb7cc687b7650221cddfc19a
MD5 c93bdbdf7aae1e9dea10c40c45589ce9
BLAKE2b-256 0ada5fb7e00e7548e230f4173e4956597011acbbb10553aa1d590b53328f0d85

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c6232fdf18689406369810a448181e9a2936f9d22707918394fc0cf5334c9fc1
MD5 6d542ea7a107ba0e7680b5926207e583
BLAKE2b-256 db170362f8469adb2eaf09ab2cb198d20acfe7f3ce774ab0227880d6e646f2da

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7fe8c959beb3b9471bedc3af01467cedede72f2cf65614aa69a6651684926c4e
MD5 1ec3fc4206d0533ee2c90ed3c93f778d
BLAKE2b-256 dce10dc2926d0b4bb558b5fe9717b1995fa7c525a6c8dfed8ffa127502ab4687

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9dcbccadba78c9b3170db967a8559500e3eca821cd9f101a76c087cf01e1cdbd
MD5 345ac1fe299df7584fe6bafb69033eb6
BLAKE2b-256 8fa808c4a76948e5eb43cd68b25a08a9741188eca567c37cb314adf20ba48bc0

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 215acf2ecc2a65dcf4dec79d8e6ad98792d4ef4ae0b02aaf6b0dd678a6c11d02
MD5 aba56470bf44f5b1e4ac7259041a1207
BLAKE2b-256 3f75c8ef004c53074760d0a90a89f3f405c00d9050533bb400b9766bb19fb514

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp37-cp37m-win32.whl.

File metadata

  • Download URL: bitstruct-8.20.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bitstruct-8.20.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 67e9b21a3a5ca247e31168a81da94a27763e7a34c80c847d9266209ec70294c2
MD5 d0e3b339a6610eee1a6696849c65316a
BLAKE2b-256 d2157520e34477ca52b385e8f68ec2a8b7b182dea218f6238edede80783cc472

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp37-cp37m-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp37-cp37m-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 31c64bf7ebda6d046fc3909287a6f7adcbbc1d1e50e463e3239798558f24bcfa
MD5 3d4d92de6f4648f5c446986da509224b
BLAKE2b-256 94367986cf1ae646e4b1173e81ced2f11a5e2a0aebd93f9989988478b18e44d1

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp37-cp37m-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp37-cp37m-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 aff38098efc9c6cbba8cd3f2b37aa8bf6169e3a53be2ec21c1c3166bdeae22d0
MD5 1af5855a85621c4f6f215a94ade45f45
BLAKE2b-256 8596b081ecb504c08ac4a256d97f0fafe47d284180676b2fbd7aa39117334edd

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 462f27fed30322c24007641ec2f2413a4778f564b30b45e3265f689cd84d43d7
MD5 6c37184cf74bd9970a4cd79171303265
BLAKE2b-256 ad5017d7bf3958f0208baaabc5aae4f1f21a6d2e2b41249b717871cff54a49c6

See more details on using hashes here.

File details

Details for the file bitstruct-8.20.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.20.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7c547a2cba2a94076dec3ef72229be641bbc320cb676a028db45202abb405b02
MD5 e3d9c48c5f6f491b3faf8404648ec4a9
BLAKE2b-256 dcd43c9607ebdae4d3eed5ba46503abc3f44498dec18f92fc4fea8f24d2f711f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page