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.19.0.tar.gz (35.6 kB view details)

Uploaded Source

Built Distributions

bitstruct-8.19.0-cp312-cp312-win_amd64.whl (36.7 kB view details)

Uploaded CPython 3.12 Windows x86-64

bitstruct-8.19.0-cp312-cp312-win32.whl (34.5 kB view details)

Uploaded CPython 3.12 Windows x86

bitstruct-8.19.0-cp312-cp312-musllinux_1_1_x86_64.whl (89.0 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

bitstruct-8.19.0-cp312-cp312-musllinux_1_1_i686.whl (83.8 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ i686

bitstruct-8.19.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (83.8 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

bitstruct-8.19.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (78.1 kB view details)

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

bitstruct-8.19.0-cp312-cp312-macosx_10_9_x86_64.whl (37.9 kB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

bitstruct-8.19.0-cp311-cp311-win_amd64.whl (36.6 kB view details)

Uploaded CPython 3.11 Windows x86-64

bitstruct-8.19.0-cp311-cp311-win32.whl (34.5 kB view details)

Uploaded CPython 3.11 Windows x86

bitstruct-8.19.0-cp311-cp311-musllinux_1_1_x86_64.whl (88.2 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

bitstruct-8.19.0-cp311-cp311-musllinux_1_1_i686.whl (83.4 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

bitstruct-8.19.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (82.9 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

bitstruct-8.19.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (77.6 kB view details)

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

bitstruct-8.19.0-cp311-cp311-macosx_10_9_x86_64.whl (37.8 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

bitstruct-8.19.0-cp310-cp310-win_amd64.whl (36.7 kB view details)

Uploaded CPython 3.10 Windows x86-64

bitstruct-8.19.0-cp310-cp310-win32.whl (34.5 kB view details)

Uploaded CPython 3.10 Windows x86

bitstruct-8.19.0-cp310-cp310-musllinux_1_1_x86_64.whl (85.8 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

bitstruct-8.19.0-cp310-cp310-musllinux_1_1_i686.whl (81.0 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

bitstruct-8.19.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (81.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

bitstruct-8.19.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (75.7 kB view details)

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

bitstruct-8.19.0-cp310-cp310-macosx_10_9_x86_64.whl (38.0 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

bitstruct-8.19.0-cp39-cp39-win_amd64.whl (36.7 kB view details)

Uploaded CPython 3.9 Windows x86-64

bitstruct-8.19.0-cp39-cp39-win32.whl (34.5 kB view details)

Uploaded CPython 3.9 Windows x86

bitstruct-8.19.0-cp39-cp39-musllinux_1_1_x86_64.whl (85.3 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

bitstruct-8.19.0-cp39-cp39-musllinux_1_1_i686.whl (80.5 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

bitstruct-8.19.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (80.8 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

bitstruct-8.19.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (75.3 kB view details)

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

bitstruct-8.19.0-cp39-cp39-macosx_10_9_x86_64.whl (38.0 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

bitstruct-8.19.0-cp38-cp38-win_amd64.whl (36.7 kB view details)

Uploaded CPython 3.8 Windows x86-64

bitstruct-8.19.0-cp38-cp38-win32.whl (34.5 kB view details)

Uploaded CPython 3.8 Windows x86

bitstruct-8.19.0-cp38-cp38-musllinux_1_1_x86_64.whl (85.3 kB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

bitstruct-8.19.0-cp38-cp38-musllinux_1_1_i686.whl (80.5 kB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

bitstruct-8.19.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (81.1 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

bitstruct-8.19.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (75.7 kB view details)

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

bitstruct-8.19.0-cp38-cp38-macosx_10_9_x86_64.whl (38.0 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

bitstruct-8.19.0-cp37-cp37m-win_amd64.whl (36.7 kB view details)

Uploaded CPython 3.7m Windows x86-64

bitstruct-8.19.0-cp37-cp37m-win32.whl (34.5 kB view details)

Uploaded CPython 3.7m Windows x86

bitstruct-8.19.0-cp37-cp37m-musllinux_1_1_x86_64.whl (84.1 kB view details)

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

bitstruct-8.19.0-cp37-cp37m-musllinux_1_1_i686.whl (79.5 kB view details)

Uploaded CPython 3.7m musllinux: musl 1.1+ i686

bitstruct-8.19.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (79.8 kB view details)

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

bitstruct-8.19.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (74.3 kB view details)

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

bitstruct-8.19.0-cp37-cp37m-macosx_10_9_x86_64.whl (37.9 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for bitstruct-8.19.0.tar.gz
Algorithm Hash digest
SHA256 d75ba9dded85c17e885a209a00eb8e248ee40762149f2f2a79360ca857467dac
MD5 8d3f2d00eda5f43437eefc64e9d2adfc
BLAKE2b-256 2454784b5536bf49d6a3387b16e798dce45e9296ea1c331bf48e241dc7dabacd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1c4d9b75248adee84e7e6c95bf95966f152b78363cb20a81920da2aeadc4375f
MD5 9f125ccca7b6a30fc29e014fcf607961
BLAKE2b-256 6a1af02f97df42889fe048eb067eb5d222b9de795cf103b40707d412f73430e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bitstruct-8.19.0-cp312-cp312-win32.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for bitstruct-8.19.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 7ea57e4e793b595cd3e037920852f2c676b4f5f1734c41985db3f48783928e2c
MD5 330d260f37a3656e6214bed562bcd73d
BLAKE2b-256 cb45e52ee0ace9b5c0e3866bf6c7a7c61ef8d39eef5678a88e34440610058472

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp312-cp312-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9c1542d5ae888ebc31614775938bfd13454f0d897dc2515363a4607efadc990b
MD5 28f8bf98e2e45c2a9c617396574522b6
BLAKE2b-256 a056ee885c29d51be9adaf680a7b98529e9c2835028793331dd3788213683508

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp312-cp312-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp312-cp312-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 45b66e20633f1e083e37fa396c81761e0fc688ffa06ff5559e990e37234f9e18
MD5 594272b5cbb06f51208fac28e86805b3
BLAKE2b-256 cafbdfafd8724f5ac2ab272b701b62b999db6e5fd8cd922691cce8c05c113027

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c026a7cf8d954ef53cf4d0ae5ee3dd1ac66e24e9a474c5afe55467ab7d609f2e
MD5 09a9ce0e0516a00f917c3d815b8b97be
BLAKE2b-256 4f8a7cf81f9e905e815f7e591dcf3e4014ba28899e51bdcdd664c33862731e1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7488fd4e2fde3d8111971e2040cd5b008be918381afc80387d3fdf047c801293
MD5 9a14793e55c0ad10bd86f617a76cfcf3
BLAKE2b-256 d93a0623ebadbaab50df1e83bdd15d171219407bf54c30bdd52762a48ab3b49e

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 55768b1f5e33594178f0b3e1596b89d831b006713a60caa09de61fd385bf22b1
MD5 64b75da79bc78a6f75382eeed9fca521
BLAKE2b-256 ef4b0789b8a48a27a86bc64ba1b577829a95f2b0c9fa2fd24461fcc61c9f99de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 464f102999402a2624ee3106dbfa1f3745810036814a33e6bc706b7d312c480f
MD5 df01d3138ea43deac0486ddafcbed7c2
BLAKE2b-256 a4bbcc959286827df37b71ec47d77a32cbc4c19bca9f4fff4ed77879202da74d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bitstruct-8.19.0-cp311-cp311-win32.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for bitstruct-8.19.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 abdb7bdb5b04c2f1bbda0eae828c627252243ddc042aea6b72af8fcc63696598
MD5 03edd512d08f554fcfaab324516c520c
BLAKE2b-256 fe877fe7959a67550b8b527e2d2c31ab8a68051d36dbe026833007632fea75dc

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f2fa607d111077145e6374d49be6098f33e7cee0967b42cfc117df53eee13332
MD5 297920de8bea58ad3399073d1b3c619a
BLAKE2b-256 34748bf01c59e76e8e10afef33825621a556a276061cc78f2580164cedff0620

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp311-cp311-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 bba06607f956cc39ceee19fd11b542e8e66a43180d48fa36c4609443893c273e
MD5 8997729fb09eace75a7c879bb1f52c74
BLAKE2b-256 35ce9e6dd1391bf55721060d1b7b1cbff1a1795c264730464574c73da0aabe63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e2fb23b5973ce1e9f349c4dc90873eeff9800fe917ffd345f39b9b964f6d119
MD5 df6e14cd460dd30c7da5632cd0fde80d
BLAKE2b-256 62cac4eb1db98675148fa0bbc7536fb1e61badf2007c2be3cb8506fdafc144fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 59e0c18d557474d8452c4f8b59320fd4d9efcf52eae2144bdf317d25c64dcf85
MD5 f5ef2cf8c38a16ddb038cf495c802e7a
BLAKE2b-256 22e69d6ba22775d2e32bc8f8388ccb54139eb77bcb7ed262cf17becd8e1c0009

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1300cd635814e40b1f4105aa4f404cb5d1b8cc54e06e267ba1616725f9c2beea
MD5 0a6f285a3d77b56df3fea4f1664a6d9e
BLAKE2b-256 e50f61424d9e8d8906f58db067ec4ef3a5178c3ba127bfa67dbf0a7130f89a5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9fbe12d464db909f58d5e2a2485b3047a488fa1373e8f74b22d6759ee6b2437a
MD5 6fa90cf3ee896aa8fec31947ea6f51fb
BLAKE2b-256 8f22f08be68a645274d2f92c438b78128d1abbf5ee0c7d5b56ac8dcc4b985733

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bitstruct-8.19.0-cp310-cp310-win32.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for bitstruct-8.19.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 961845a29333119b70dd9aab54bc714bf9ba5efefc55cb4c747c35c1390b8842
MD5 7302c8d9dadcdcddbba9795c9740c2a9
BLAKE2b-256 c581437bf54ec49afefbda05912eb762c0647de3b3c35ee96b900883245fbe41

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 01bdfc3adbe15b05ba27ab6dce7959caa29a000f066201944b29c64bb8888f03
MD5 64077ecf944f26e0500bdc2c2036b1f8
BLAKE2b-256 52b38dd3a8070bf425351fcf9dbe0b5171fba9599ee74377b511a1f6bd6318f6

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp310-cp310-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 bc8f1871b42b705eb34b8722c3ec358fbf1b97fd37a62693564ee72648afb100
MD5 c5e43f9b72cffe9e47a16d8bb40f6cf7
BLAKE2b-256 8cc22cc44e2c6ecf6e1e6e9cb15147c403916eae71e3b3fb44093d20fc1d6e0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a35e0b267d12438e6a7b28850a15d4cffe767db6fc443a406d0ead97fa1d7d5b
MD5 20a74d0b70df0c0dbc535c57ac30bd39
BLAKE2b-256 a08533abf995bcbc39c7d6f6739fcaec35756b2e334fc364345a7b273fcc11fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 5732aff5c8eb3a572f7b20d09fc4c213215f9e60c0e66f2910b31eb65b457744
MD5 dd73f5c3bf8b2aedd0daef0beedc1ccc
BLAKE2b-256 5e7a31f0ba17fcf0f049c9fe535c699468b9bdcb0d4c97a8f7a7b64d8d166263

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7d1f3eb18ddc33ba73f5cbb55c885584bcec51c421ac3551b79edc0ffeaecc3d
MD5 c643d428efd6d7b90d58be4030bedfa5
BLAKE2b-256 7cd486454b1c8e8c0b8a60c0ec2682dc0b768c145dfcdd4ba9b7962ce1f2f21e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7836852d5c15444e87a2029f922b48717e6e199d2332d55e8738e92d8590987e
MD5 a0420f8657e45d8b58334e59fbbaade1
BLAKE2b-256 25b99fed29e9c7853364ccb45c838836452c137355bf573112a019c84d7d3a3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bitstruct-8.19.0-cp39-cp39-win32.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for bitstruct-8.19.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 14c3ebdec92c486142327d934cb451d96b411543ec6f72aeb2b4b4334e9408bf
MD5 018f7e4af6845be309e484c87753757a
BLAKE2b-256 c4b04ff6c3679021ccb68f914ce86ccab2931f23bf0e2d8614d10409b81bd35d

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 bfa0326057c9b02c4e65e74e45b9914a7f8c59590a8e718e20a899a02b41f2e6
MD5 625471f40d178cfb62fe6f208fdbf087
BLAKE2b-256 79533bb02d6b1709acd432cb560e14fe2941407f94c827794a096cd35a256235

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp39-cp39-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp39-cp39-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 d9ba0299f624e7c8ea1eec926fc77741f82ffc5b3c3ba4f89303d33d5605f4d8
MD5 2400feef288a503f892bc7ae04cee0a6
BLAKE2b-256 6fec568aaeb31ba00b4fef09c7e203b8347ae2e919f4946c20fd15219355fbc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7bed7b2761c18a515298145a4f67b6c71ce302453fe7d87ec6b7d2e77fd3c22b
MD5 756733a71ad84904f968eaf1a1ed9abd
BLAKE2b-256 08faf98cca677ce63fadc010add13a664f2fc1c8d3e945c901c65a7247513ff4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 8d0cafd2e2974c4bbe349fb67951d43d221ea304218c2ee65f9fe4c62acabc2f
MD5 e7bc26ec16fe750ebfbd10da68828a55
BLAKE2b-256 f08409a7ca32c0bde119ff7e69878331444bafb886cf5b4ce4e2336c9b7b291a

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2bb49acc2ccc6efd3c9613cae8f7e1316c92f832bff860a6fcb78a4275974e90
MD5 e06592e3d82d5a4e6962065449772ea3
BLAKE2b-256 d0a8ad6b63a3e0f24d8f3790fe7be91fe1bc74c155f170f994ef48317d53e268

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5e7f78aedec2881017026eb7f7ab79514aef09a24afd8acf5fa8c73b1cd0e9f4
MD5 ac1ab5cf91b6e3db26427b5a558e2433
BLAKE2b-256 440f7de460cd327f0d9e11c698f35874efb8ee0e2f7eb160f4e0189cec69041c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bitstruct-8.19.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for bitstruct-8.19.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 b86d192d658eaf35f10efb2e1940ec755cc28e081f46de294a2e91a74ea298aa
MD5 0222c59e6bf7e4551673355b393e7016
BLAKE2b-256 e193e2e91dd212bb2c600291aedbf95767bcb0534037e96aaa014c6ce89ff2a8

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d7774e2a51e254ef1ba98a1ee38573c819d4ee7e396d5121c5ecae17df927501
MD5 af344721ade805490831f1cec8387141
BLAKE2b-256 56cd5a6aad9f6396b8e4ddb3da5f77e8986fd865ede5b1624ccbf39066fdfd20

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp38-cp38-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp38-cp38-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 d2c176ff6727206805760f45c2151468aed843256aa239c14f4730b9e1d84fc7
MD5 eca42a0063c4092520f75878c42fecf8
BLAKE2b-256 cbbe59970327011cb3329cb0bd1f587f7a5d778288c50ff540d838e39a9b9987

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 df74c72feba80014b05ab6f1e1a0bb90be9f9e7eb60a9bab1e00728f7f46d79d
MD5 9e7fc2fc51ee14a65385601c442d8e8d
BLAKE2b-256 d0e07a195fe21bf1cb4c8739bfe34adbcadcea787e8a45e759303950b5c45a75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 976c39ad771c6773d6fbd14d71e62242d5b3bca7b72428fd183e1f1085d5e858
MD5 99969a25b9e47f545a9975bce9a35c8b
BLAKE2b-256 d852f99f624b42e47b667ba55c88f031aeb944d2f6554d736747999841311fe5

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d3f6e3aeb598215062c505a06135fbdfa3bb4eeb249b55f87e865a86b3fd9e99
MD5 6f35432e7c16f369da1e16bf224deda0
BLAKE2b-256 e22cb37bc28ccc5d5c784faeafc9c6fb46ff465f039f19daf52a2864fb9e1c7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 a0ca55fba25d6c631e17933f20cf87f553d7bceec7659e3de9ef48dc85ced2bf
MD5 1a5457924aa7ea658dc557fbb45d5bda
BLAKE2b-256 7e28f222123d212a7909ed8c2fcf3e04179b7762ac02901f3208cbbbd6964c29

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bitstruct-8.19.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for bitstruct-8.19.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 da00da004830800323554e7a83f1f32a1f49345f5379476de4b5f6ae227ee962
MD5 f9c9fc1d5fba4d610b0e00af9d671a35
BLAKE2b-256 cabb625fc7b9a507e75739c2807774fdc9039395bc768bb29f96839dd7567b8c

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp37-cp37m-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2ea093522b12ce714a3a95851a8c3dd97f620126bbe983eb261b3bf18ac945e7
MD5 31965d3414749560e4c926b79d249118
BLAKE2b-256 26e0add6452ad44ff8037c5f6b119d859b87d27d3ab5726f7b989c47ab2cbd8c

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp37-cp37m-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 2c5eda42d55db67072c6cf7cc79b1df1074269004bad119b79e4ad38cfa61877
MD5 1b873c2ff95b3f43bc21e9a819caa18d
BLAKE2b-256 04f07f660c2d4f74c6cfb38162d10a4d5aa7759c9f8b9ca6be514d383bb9476b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 645da560acd20dd73a1ef220e3ddc08e108866e30a708ef2f6193e0a3725113e
MD5 b465a77f7761ee3998ba6b8cb92f0683
BLAKE2b-256 51d0394acbf20166a9d92a9ba120b8e728cc288159831647a49546fcc6503027

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 01402fbc3dba2286b3ac9b74d5936dd984736f928aacd371458a4b0cf95f0755
MD5 ad5f64e81175e763b5029dcee2586139
BLAKE2b-256 313f7e5f650fcd627ac7e7efc8683bd4188aeeab122dcaf7243b5f58b8398cd4

See more details on using hashes here.

File details

Details for the file bitstruct-8.19.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for bitstruct-8.19.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7b4745b099d3d85307495e25ff0f265deeea675621dcecb25ba059ee68ce88d5
MD5 e37b1fa20b296e73ee3fb567928a8b26
BLAKE2b-256 50f71bddc519679c762f397c96e09711b185c6b0d713d622936f0ff44ce4f261

See more details on using hashes here.

Supported by

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