Lightweight pure-Python JSON ↔ CBOR encoder/decoder with optional zlib compression
Project description
Cbor-J
Lightweight pure-Python library to encode/decode JSON strings to/from CBOR — with optional zlib compression.
Perfect for reducing storage size of large JSON files.
Features
- Pure Python, no dependencies
- Simple API:
encode(json_str, compress=False) → bytes,decode(bytes, compress=False) → str - Optional zlib compression (like EU Digital COVID Certificate format, without signing/Base45)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cborj-0.1.0.tar.gz
(5.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cborj-0.1.0-py3-none-any.whl
(4.7 kB
view details)
File details
Details for the file cborj-0.1.0.tar.gz.
File metadata
- Download URL: cborj-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6ec883f24565b3e1e79f5dc5873b6c409e1fdd073be41f6a9c72611bdb9c133
|
|
| MD5 |
f6447c1e46004626c7d215e0d5012b0a
|
|
| BLAKE2b-256 |
228205ea3dcf07f24abb9a589b6fa4cae0279838df7dbc176467004114d8d4a7
|
File details
Details for the file cborj-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cborj-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3c78cc325dde126c0488b5f50de514fdae2a1a8c95e9e45ab37bf348b495bc6
|
|
| MD5 |
1e777590a64187b97314f60d960b51e0
|
|
| BLAKE2b-256 |
75f95d12b6ed400a074cd81772599339cbfccb06a12dced0d0de161ba8158b7f
|