This is a Python package for a JCS (RFC 8785) compliant canonicalizer. The source code is taken from Python2 folder from this repo.
The main author of this code is Anders Rundgren. I have forked his repo and ported Python3 code to Python 2.7.
Installation
pip install json-canonical
Using the JSON canonicalizer
from json_canonical import canonicalize
data = canonicalize({"tag":4})
Metadata
Release files for json-canonical 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| json-canonical-2.0.0.tar.gz | 7.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| json_canonical-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / json-canonical-2.0.0.tar.gz
| Download URL | json-canonical-2.0.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa25000b9dc53c03ee2f0a098dbad81517aa9a8c6aa20de32abbb1f1950409a0
|
|
BLAKE2b-256 checksum How to use checksums |
f4fdcd4f6d59c3c203e76bb5b118884a23fb0518a7d44af4da7ea648f156ed1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11
|
Release files / json_canonical-2.0.0-py3-none-any.whl
| Download URL | json_canonical-2.0.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a572808ee94cdf7b50a168b968b65141449acc4703497d308ae5cf42bf9a403
|
|
BLAKE2b-256 checksum How to use checksums |
cff0dad74b3678d7794776c8dc7a58a3864dc6861266a5e71c93907b37371b9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11
|