
cbor2 5.8.0
0
CBOR (de)serializer with extensive tag support
Contents
CBOR (de)serializer with extensive tag support
Stars: 285, Watchers: 285, Forks: 70, Open Issues: 35The agronholm/cbor2 repo was created 9 years ago and the last code push was Yesterday.
The project is popular with 285 github stars!
How to Install cbor2
You can install cbor2 using pip
pip install cbor2
or add it to a project with poetry
poetry add cbor2
Package Details
- Author
- None
- License
- None
- Homepage
- None
- PyPi:
- https://pypi.org/project/cbor2/
- Documentation:
- https://cbor2.readthedocs.org/en/latest/
- GitHub Repo:
- https://github.com/agronholm/cbor2
Classifiers
Related Packages
Errors
A list of common cbor2 errors.
Code Examples
Here are some cbor2 code examples and snippets.
GitHub Issues
The cbor2 package has 35 open issues on GitHub
- Set default read_size to 1 for backwards compatibility
- Sequential decoding does not behave as expected
- Stack allocate small strings
- Add option to decode type bytestring as a mutable bytearray rather than bytes
- Enabled free threading
- Expose
*_encodersand use them to replacecanonicalparam ofCBOREncoder - Moved global decoder dicts to decoder object
- Better support for lists
- POC: Allow customizing encoding of known types in the C-extension. Fixes #192
- Bug in
pack_float16() - Adds support for decoding floating-point typed arrays from RFC8746
pythonfix



