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
Hashes for hyperjson5-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a07b9d3ad7da5025cc2f7bd0285484c01d1965c916931d589613620f25c867d |
|
MD5 | 8a81fdd9d753e0c963d4eadb7e74b933 |
|
BLAKE2b-256 | c656dcb3798eb24449a32bd87bc91b94f08c603bcccff6265797c5467407d2a3 |