A Rust-based JSON5 parser for Python
Project description
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.
Installation
pip install zf-jenga
Usage
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file zf_jenga-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: zf_jenga-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 334.0 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a76536aa02432c1a6934c23d4db926c6be6d1c2120e054a73dcd222e7e31331 |
|
MD5 | 3e359079a93b19beb09018204be0d56b |
|
BLAKE2b-256 | 2d9f6a2cec29e484e07a58eb7532044cdfe7f0299d28dba312d45f4ef41d85df |