Skip to main content

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

MIT 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

zf_jenga-0.1.2-cp311-cp311-macosx_11_0_arm64.whl (334.0 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

File details

Details for the file zf_jenga-0.1.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zf_jenga-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c883519168bbc1bab3ce579614cd2e1e9ddf7990689522b0e974613dc21e7c2a
MD5 8023bf91cfb8ca3b2b566e22e69a8b54
BLAKE2b-256 49fd8e36205210259370b2a162d3bf89c8fc2f7f7573ce297e6b8e2f2491c43f

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