Comparison
bytestruct vs construct-classes vs dissect.cstruct vs kaitaistruct
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Declarative binary records and composable codecs, using only the standard library
Maintained. Last release 6 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install bytestructParse your binary structs into dataclasses
Low maintenance activity. Last release 8 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install construct-classesA Dissect module implementing a parser for C-like structures: structure parsing in Python made easy
Actively maintained. Last release 3 days ago, commits in 8 of the last 26 weeks. A safe choice.
pip install dissect-cstructKaitai Struct declarative parser generator for binary data: runtime library for Python
Maintained. Last release 4 days ago, commits in 6 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install kaitaistructIn short
- kaitaistruct is the most used: 6.4M downloads a month, 10× more than dissect.cstruct.
- dissect.cstruct is better maintained: Pythie’s Index 82 against 58.
- bytestruct is growing fastest: downloads +160% over the last month.
- bytestruct is the newcomer: first released Oct 2026.
Side by side
| Metric | bytestruct | construct-classes | dissect.cstruct | kaitaistruct |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 56 | 36 |