Comparison
bytestruct vs construct-classes 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-classesKaitai 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, 33× more than bytestruct.
- Maintenance is comparable: kaitaistruct 58, bytestruct 56, construct-classes 36 on Pythie’s Index.
- 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 | kaitaistruct |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 56 | Pythie’s Index: 36 | Pythie’s Index: 58 |
| Verdict | Maintained | Low maintenance activity | Maintained |
| Downloads / month | 192.6K | 175.6K | 6.4M |
| Downloads, month over month | +160% | +16% | -6% |
| GitHub stars | 4 | 6 | 109 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 4 | 2 | 55 |
| Last release | Oct 18, 2026 | Mar 31, 2026 | Nov 26, 2026 |
| Releases, 12 months | 4 | 1 | 1 |
| Weeks with commits | 2 / 26 | 0 / 26 | 6 / 26 |
| Recent contributors | 1 | 4 | 2 |
| First release | Oct 2026 | Oct 2022 | Nov 2016 |
| Python versions | 3.9 – 3.15 | 3.10 – 3.14 | 3.4 – 3.13 |
| License | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.