Comparison
bitstruct vs cbitstruct
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
This module performs conversions between Python values and C bit field structs represented as Python byte strings.
Maintained. Last release 5 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and security practices.
$
pip install bitstructFaster C implementation of bitstruct
Maintained. Last release 3 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install cbitstructIn short
- bitstruct is the most used: 2.3M downloads a month, 27× more than cbitstruct.
- Maintenance is comparable: bitstruct 65, cbitstruct 55 on Pythie’s Index.
- Safe default for a new project: bitstruct.
Side by side
| Metric | bitstruct | cbitstruct |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 65 | Pythie’s Index: 55 |
| Verdict | Maintained | Maintained |
| Downloads / month | 2.3M | 83.9K |
| Downloads, month over month | -16% | -23% |
| GitHub stars | 135 | 25 |
| Stars, last 7 days | – | – |
| Direct dependents | 49 | 4 |
| Last release | Oct 23, 2026 | Nov 8, 2026 |
| Releases, 12 months | 5 | 3 |
| Weeks with commits | 3 / 26 | 2 / 26 |
| Recent contributors | 9 | 5 |
| First release | May 2015 | Sep 2019 |
| Python versions | – | – |
| License | MIT | MPL-2.0 |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.