Comparison
bytestruct vs construct-classes vs infi.instruct
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-classesdeclarative structure marshalling
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install infi-instructIn short
- infi.instruct looks abandoned: avoid it for new projects.
- bytestruct is the most used: 192.6K downloads a month.
- bytestruct also has the best Pythie’s Index (56).
- 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 | infi.instruct |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 56 | Pythie’s Index: 36 | Pythie’s Index: 24 |
| Verdict | Maintained | Low maintenance activity | Likely abandoned |
| Downloads / month | 192.6K | 175.6K | 82.8K |
| Downloads, month over month | +160% | +16% | +19% |
| GitHub stars | 4 | 6 | 6 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 4 | 2 | 2 |
| Last release | Oct 18, 2026 | Mar 31, 2026 | Dec 20, 2018 |
| Releases, 12 months | 4 | 1 | 0 |
| Weeks with commits | 2 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 1 | 4 | 9 |
| First release | Oct 2026 | Oct 2022 | Dec 2011 |
| Python versions | 3.9 – 3.15 | 3.10 – 3.14 | – |
| License | MIT | MIT | non-standard |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.