Skip to main content

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)

Source distribution for json-canonical 2.0.0
File Size Uploaded
json-canonical-2.0.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for json-canonical 2.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page