Comparison
cbor vs cbor2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
RFC 7049 - Concise Binary Object Representation
Likely abandoned. No release or commit for years (last release over 10 years ago).
$
pip install cborCBOR (de)serializer with extensive tag support
Actively maintained. Last release 2 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install cbor2In short
- cbor looks abandoned: avoid it for new projects.
- cbor2 is the most used: 78.4M downloads a month, 106× more than cbor.
- cbor2 also has the best Pythie’s Index (90).
- Safe default for a new project: cbor2.