Skip to main content

JSC - JSON Canonicalization

Project description

JCS - JSON Canonicalization for Python 3

Tests

This is a Python 3 package for a JCS (RFC 8785) compliant JSON canonicalization.

The main author of this code is Anders Rundgren. The original source code is at cyberphone/json-canonicalization including comprehensive test data.

Installation

$ pip install jcs

Using JCS

import jcs
data = jcs.canonicalize({"tag": 4})

Changelog

0.2.0 - 2022-01-19

  • Removed pinning to py3
  • Updated dependencies

0.1.0 - 2021-12-26

  • created jcs package from original code
  • added poetry based packaging
  • reformated code with black
  • add github ci testing workflow

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jcs-0.2.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

jcs-0.2.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file jcs-0.2.0.tar.gz.

File metadata

  • Download URL: jcs-0.2.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.1 Windows/10

File hashes

Hashes for jcs-0.2.0.tar.gz
Algorithm Hash digest
SHA256 28e385a059b1cf92355a9f0403ad180beae9c98b29872777b56508567459e445
MD5 010d135c327e29f25251bf6770e9ec22
BLAKE2b-256 d6a5c2d1208794bf6bd610ac1aac57ac8b8e57be005bd0f4a3ff1527644331b9

See more details on using hashes here.

File details

Details for the file jcs-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: jcs-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.1 Windows/10

File hashes

Hashes for jcs-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5720fdc96ed811d9824faddd0d8a56e8676c8e1a43d150be43d36b0f805fdbf
MD5 43c5951724e257f9125f37d4f0948f46
BLAKE2b-256 c2dccd3f1742ad4344a1038ced5aba09d91f3cfd669413e6eeba86cfc0431378

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page