Comparison
construct 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.
A powerful declarative symmetric parser/builder for binary data
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install constructA 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
- construct is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- infi.instruct looks abandoned: avoid it for new projects.
- kaitaistruct is the most used: 6M downloads a month.
- dissect.cstruct is better maintained: Pythie’s Index 84 against 59.
- dissect.cstruct is growing fastest: downloads +29% over the last month.
Side by side
| Metric | construct | dissect.cstruct | infi.instruct | kaitaistruct |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 84 | Pythie’s Index: 24 | Pythie’s Index: 59 |
| Verdict | Slowing down | Actively maintained | Likely abandoned | Maintained |
| Downloads / month | 6.2M | 598K | 81.9K | 6M |
| Downloads, month over month | +6% | +29% | +25% | -12% |
| GitHub stars | 1K | 71 | 6 | 109 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 238 | 0 | 2 | 55 |
| Last release | Nov 29, 2023 | Nov 30, 2026 | Dec 20, 2018 | Nov 26, 2026 |
| Releases, 12 months | 0 | 32 | 0 | 1 |
| Weeks with commits | 0 / 26 | 9 / 26 | 0 / 26 | 7 / 26 |
| Recent contributors | 14 | 18 | 9 | 2 |
| First release | Jan 2013 | Oct 2018 | Dec 2011 | Nov 2016 |
| Python versions | 3.6 – 3.11 | – | – | 3.4 – 3.13 |
| License | MIT | Apache-2.0 | non-standard | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.