Skip to main content

jsoncanon

Typed Python implementation of JSON Canonicalization Scheme as described in RFC 8785. The initial release (v0.2.x) is a partial release focused on the features needed by the Sequence Collections working group in the Global Alliance for Genomics and Health (GA4GH).

Usage

>>> import json
>>> from jsoncanon import canonicalize
>>>
>>> data = json.loads('{ "b": [1,3,7], "a": { "y": true, "x": null } }')
>>> canonicalize(data)
b'{"a":{"x":null,"y":true},"b":[1,3,7]}'

Releases

v0.2.0 - Initial release, supporting all data types except for floating point numbers v0.2.1 - Yanked due to incorrect link v0.2.2 - Initial release with updated project information

Release files for jsoncanon 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jsoncanon 0.2.3
File Size Uploaded
jsoncanon-0.2.3.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jsoncanon 0.2.3
File Interpreter ABI Platform
jsoncanon-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 15.0 kB

Release files / jsoncanon-0.2.3.tar.gz

Download URL jsoncanon-0.2.3.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
483c1ef14e6c8151ba69c0bf646551f249698dd523e9c6da1339a688c5f96d6d
BLAKE2b-256 checksum
How to use checksums
8fb7d3694a1cef86ccffe4a18aca5dcefef683331d76aa6645e973ae917d34df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.8 Darwin/21.6.0

Release files / jsoncanon-0.2.3-py3-none-any.whl

Download URL jsoncanon-0.2.3-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adb35dac2d0c5dd56f1cb374f1ea6f1fff2ebbb4e844b06d9c96b9ccadf12bf0
BLAKE2b-256 checksum
How to use checksums
7cbb4e0899742bdfa681ee994b04c57380c5ce3e84c049a4ed1fae0c7b62d738
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.8 Darwin/21.6.0

Release history Release notifications | RSS feed

0.2.4

2 release files

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.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