hjs, the missing bit of hjson
Project description
hjs is a thin wrapper around hjson-py
>>> from hjs import hjs, dumps, loads, dump, load
>>> da = hjs("""
... {
... a: 1
... b: are you ok with it ?
... c: '''
... what a rest,
... isn't it ?
... '''
... t: {
... a: you get the point, now :-)
... },
... value: 42
... }
... """)
>>> assert da['value'] == 42
>>> assert da.t.a == "you get the point, now :-)"
install as usual with pip install hjs
Regards, @CJC.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hjs-0.0.7.tar.gz
(9.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hjs-0.0.7.tar.gz.
File metadata
- Download URL: hjs-0.0.7.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a8c9842dec9068f99a34df38ca0af04d90c3c6daf6496c06fba8be66c95a983
|
|
| MD5 |
54737fe7fa98891a6a50f5277180f515
|
|
| BLAKE2b-256 |
b2b873db9650339b8724b0c35ec067663f97e7e451c7af80c073a0e8c910131c
|
File details
Details for the file hjs-0.0.7-py2.py3-none-any.whl.
File metadata
- Download URL: hjs-0.0.7-py2.py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adf573ae031793a4a3daec33b9ae48ef27ebc1197dbf2074b9986ab68befc2e6
|
|
| MD5 |
ffde6af862d49aaafc30eb995f6d6b08
|
|
| BLAKE2b-256 |
ab005669a280ab2593e20bc122a27ca180813242e24944450596a117f2841848
|