Conanicalize JSON in JCS format
Project description
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})
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
json-canonical-2.0.0.tar.gz
(7.4 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
File details
Details for the file json-canonical-2.0.0.tar.gz.
File metadata
- Download URL: json-canonical-2.0.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa25000b9dc53c03ee2f0a098dbad81517aa9a8c6aa20de32abbb1f1950409a0
|
|
| MD5 |
1c13a297147b3eadeee9ae5995f8186d
|
|
| BLAKE2b-256 |
f4fdcd4f6d59c3c203e76bb5b118884a23fb0518a7d44af4da7ea648f156ed1a
|
File details
Details for the file json_canonical-2.0.0-py3-none-any.whl.
File metadata
- Download URL: json_canonical-2.0.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a572808ee94cdf7b50a168b968b65141449acc4703497d308ae5cf42bf9a403
|
|
| MD5 |
47380b63305f310b89702890a0e40c73
|
|
| BLAKE2b-256 |
cff0dad74b3678d7794776c8dc7a58a3864dc6861266a5e71c93907b37371b9b
|