Skip to main content

JSON Canonicalizer for Python

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 Provenance Actions
json-canonical-2.0.0.tar.gz 7.4 kB Without provenance Details for json-canonical-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for json-canonical 2.0.0
File Interpreter ABI Platform Actions
json_canonical-2.0.0-py3-none-any.whl Python 3 none any Details for json_canonical-2.0.0-py3-none-any.whl

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

Security for json-canonical 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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