Comparison
bytestruct vs dissect.cstruct vs infi.instruct 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 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install bytestructA Dissect module implementing a parser for C-like structures: structure parsing in Python made easy
Actively maintained. Last release 1 day ago, commits in 9 of the last 26 weeks. A safe choice.
pip install dissect-cstructdeclarative structure marshalling
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install infi-instructKaitai Struct declarative parser generator for binary data: runtime library for Python
Maintained. Last release 5 days ago, commits in 7 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install kaitaistructIn short
- infi.instruct looks abandoned: avoid it for new projects.
- kaitaistruct is the most used: 6M downloads a month, 10× more than dissect.cstruct.
- dissect.cstruct is better maintained: Pythie’s Index 84 against 59.
- bytestruct is growing fastest: downloads +119% over the last month.
- bytestruct is the newcomer: first released Oct 2026.
Side by side
| Metric | bytestruct | dissect.cstruct | infi.instruct | kaitaistruct |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 54 | 84 |