A hyper-fast Python module for reading/writing JSON5 data
Project description
hyperjson5
A hyper-fast, safe Python module to read and write JSON data. Works as a drop-in replacement for Python's built-in json module. This is alpha software and there will be bugs, so maybe don't deploy to production just yet. :wink:
Installation
pip install hyperjson5
Usage
hyperjson5 is meant as a drop-in replacement for Python's json module:
>>> import hyperjson5
>>> hyperjson5.dumps([{"key": "value"}, 81, True])
'[{"key":"value"},81,true]'
>>> hyperjson5.loads("""[{key: "value"}, 81, true]""")
[{u'key': u'value'}, 81, True]
Contributions welcome!
License
hyperjson5 is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in hyperjson by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hyperjson5-0.1.0.tar.gz
.
File metadata
- Download URL: hyperjson5-0.1.0.tar.gz
- Upload date:
- Size: 42.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 218021f599c7e464829a87ce1f4c8d116744a2f9419ab858fde981e06143947c |
|
MD5 | 9b0f6f76f7bbda66bffde772ccd3552a |
|
BLAKE2b-256 | 4f269a71a26d15d2146466f1d30b17d5286cb58e26fe34a8afa9272b5fdbc90d |
Provenance
File details
Details for the file hyperjson5-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: hyperjson5-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a07b9d3ad7da5025cc2f7bd0285484c01d1965c916931d589613620f25c867d |
|
MD5 | 8a81fdd9d753e0c963d4eadb7e74b933 |
|
BLAKE2b-256 | c656dcb3798eb24449a32bd87bc91b94f08c603bcccff6265797c5467407d2a3 |