# Jenga
Jenga is a super fast Rust-based Python library for handling JSON5 files. Jenga resembles the API of the built-in `json` module, but it has the ability to handle JSON5 files.
Jenga is the fastest JSON5 library for Python, and it is 3.5x faster than the next fastest json5 libraries.
![Performance](https://zf-static.s3.us-west-1.amazonaws.com/jenga.png)
## Installation
```bash
pip install zf-jenga
```
## Usage
```python
import jenga
# Load a JSON5 file
data = jenga.load("data.json5")
# Dump a JSON5 file
jenga.dump(data, "data.json5")
# Load a JSON5 string
data = jenga.loads('{key: 'value'}')
# Dump a JSON5 string
jenga.dumps(data)
```
## License
[MIT License](LICENSE)
Raw data
{
"_id": null,
"home_page": null,
"name": "zf-jenga",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "json5, parser, python, rust",
"author": "Zeff Muks <zeffmuks@gmail.com>",
"author_email": "Zeff Muks <zeffmuks@gmail.com>",
"download_url": null,
"platform": null,
"description": "# Jenga\n\nJenga is a super fast Rust-based Python library for handling JSON5 files. Jenga resembles the API of the built-in `json` module, but it has the ability to handle JSON5 files.\n\nJenga is the fastest JSON5 library for Python, and it is 3.5x faster than the next fastest json5 libraries.\n\n![Performance](https://zf-static.s3.us-west-1.amazonaws.com/jenga.png)\n\n## Installation\n\n```bash\npip install zf-jenga\n```\n\n## Usage\n\n```python\nimport jenga\n\n# Load a JSON5 file\ndata = jenga.load(\"data.json5\")\n\n# Dump a JSON5 file\njenga.dump(data, \"data.json5\")\n\n# Load a JSON5 string\ndata = jenga.loads('{key: 'value'}')\n\n# Dump a JSON5 string\njenga.dumps(data)\n```\n\n## License\n\n[MIT License](LICENSE)\n",
"bugtrack_url": null,
"license": "MIT OR Apache-2.0",
"summary": "A Rust-based JSON5 parser for Python",
"version": "0.1.4",
"project_urls": null,
"split_keywords": [
"json5",
" parser",
" python",
" rust"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "2d9f6a2cec29e484e07a58eb7532044cdfe7f0299d28dba312d45f4ef41d85df",
"md5": "3e359079a93b19beb09018204be0d56b",
"sha256": "2a76536aa02432c1a6934c23d4db926c6be6d1c2120e054a73dcd222e7e31331"
},
"downloads": -1,
"filename": "zf_jenga-0.1.4-cp311-cp311-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "3e359079a93b19beb09018204be0d56b",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.6",
"size": 334005,
"upload_time": "2024-07-25T03:02:36",
"upload_time_iso_8601": "2024-07-25T03:02:36.869163Z",
"url": "https://files.pythonhosted.org/packages/2d/9f/6a2cec29e484e07a58eb7532044cdfe7f0299d28dba312d45f4ef41d85df/zf_jenga-0.1.4-cp311-cp311-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-25 03:02:36",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "zf-jenga"
}