# JCS - JSON Canonicalization for Python 3
[![Tests](https://github.com/titusz/jcs/actions/workflows/tests.yml/badge.svg)](https://github.com/titusz/jcs/actions/workflows/tests.yml)
This is a Python 3 package for
a [JCS (RFC 8785)](https://datatracker.ietf.org/doc/html/rfc8785) compliant JSON
canonicalization.
The main author of this code is [Anders Rundgren](https://github.com/cyberphone). The
original source code is
at [cyberphone/json-canonicalization](https://github.com/cyberphone/json-canonicalization/tree/master/python3)
including comprehensive test data.
## Installation
```bash
$ pip install jcs
```
## Using JCS
```python
import jcs
data = jcs.canonicalize({"tag": 4})
```
Raw data
{
"_id": null,
"home_page": "https://github.com/titusz/jcs",
"name": "jcs",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6.2",
"maintainer_email": "",
"keywords": "jcs,json,canonicalization,deterministic,serialization,hash",
"author": "titusz",
"author_email": "tp@py7.de",
"download_url": "https://files.pythonhosted.org/packages/47/e5/9d547f0d42ba00f68eec773aa7b2145e0c0335eb632cbaf519f480a429af/jcs-0.2.1.tar.gz",
"platform": null,
"description": "# JCS - JSON Canonicalization for Python 3\n\n[![Tests](https://github.com/titusz/jcs/actions/workflows/tests.yml/badge.svg)](https://github.com/titusz/jcs/actions/workflows/tests.yml)\n\nThis is a Python 3 package for\na [JCS (RFC 8785)](https://datatracker.ietf.org/doc/html/rfc8785) compliant JSON\ncanonicalization.\n\nThe main author of this code is [Anders Rundgren](https://github.com/cyberphone). The\noriginal source code is\nat [cyberphone/json-canonicalization](https://github.com/cyberphone/json-canonicalization/tree/master/python3)\nincluding comprehensive test data.\n\n## Installation\n\n```bash\n$ pip install jcs\n```\n\n## Using JCS\n\n```python\nimport jcs\ndata = jcs.canonicalize({\"tag\": 4})\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "JCS - JSON Canonicalization",
"version": "0.2.1",
"split_keywords": [
"jcs",
"json",
"canonicalization",
"deterministic",
"serialization",
"hash"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c0d49a99bc15266a842bd14a1913afdb05182888ebab035666c1ce8a64537ca2",
"md5": "6327b3a26d1ef5a415a1e1a725cf11a2",
"sha256": "e23a3e1de60f832d33cd811bb9c3b3be79219cdf95f63b88f0972732c3fa8476"
},
"downloads": -1,
"filename": "jcs-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6327b3a26d1ef5a415a1e1a725cf11a2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6.2",
"size": 7603,
"upload_time": "2022-04-10T14:41:23",
"upload_time_iso_8601": "2022-04-10T14:41:23.207531Z",
"url": "https://files.pythonhosted.org/packages/c0/d4/9a99bc15266a842bd14a1913afdb05182888ebab035666c1ce8a64537ca2/jcs-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "47e59d547f0d42ba00f68eec773aa7b2145e0c0335eb632cbaf519f480a429af",
"md5": "0fb7e0db6d00fcc942fbbe3587270c1e",
"sha256": "9f20360b2f3b0a410d65493b448f96306d80e37fb46283f3f4aa5db2c7c1472b"
},
"downloads": -1,
"filename": "jcs-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "0fb7e0db6d00fcc942fbbe3587270c1e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6.2",
"size": 6886,
"upload_time": "2022-04-10T14:41:24",
"upload_time_iso_8601": "2022-04-10T14:41:24.904513Z",
"url": "https://files.pythonhosted.org/packages/47/e5/9d547f0d42ba00f68eec773aa7b2145e0c0335eb632cbaf519f480a429af/jcs-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-04-10 14:41:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "titusz",
"github_project": "jcs",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "jcs"
}