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.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.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jcs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d6a5f57062abf0c30abdf5428d2376f3391d19c6951dc118b69cd09bf63daa17
MD5 431744f063e1992cb0c5f090dfd2c709
BLAKE2b-256 3414beca9607a576dd1ade063bb04b38adfad036f4f57b8ffebf79fe60596e74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jcs-0.1.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.9.0 Windows/10

File hashes

Hashes for jcs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cc02f6383321afb8a7b65fdb4c2b6b2c19e9c187ed49f5636acebd3ca8bba9f
MD5 9d5ac713d2fd5c54e152e22c4f2808de
BLAKE2b-256 5e33a9083489ff7b35f7e1baff12dad070ec9e8024eed84b71621f34b24b44f5

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