hjs, the missing bit of hjson
Project description
hjs is a thin wrapper around hjson
>>> from hjs import hjs, load, loads, dump, load
>>> da = loads("""
... {
... a: 1
... b: are you ok with it ?
... c: '''
... what a rest,
... isn't it ?
... '''
... t: {
... a: you get the point, now :-)
... },
... values: 42
... }
... """)
>>> assert da['values'] == 42
>>> assert da.t.a == "you get the point, now :-)"
install as usual with pip install hjs
By the way, you should support pypi, because, given the strategic importance of this project, it is way under budgeted, as I heard…
Regards, @CJC_2017.
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-1.1.5.tar.gz
(8.5 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-1.1.5.tar.gz.
File metadata
- Download URL: hjs-1.1.5.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7bedadc46858a781864b7faf0ec08f6c5a7aa49795fc6dc035ed41e004bc0e9
|
|
| MD5 |
1ca65581dded19544c62de4fc2c216a7
|
|
| BLAKE2b-256 |
877aac8039da6e72566abc885ad5128225dc2ab9b0adc77ba52f5198c44c86ff
|
File details
Details for the file hjs-1.1.5-py2.py3-none-any.whl.
File metadata
- Download URL: hjs-1.1.5-py2.py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9b16192040f54cd27b130d29fe17f5a411cb776def9264d3c896b148cb92b0c
|
|
| MD5 |
2e414bdbde03632a5722bc0f34c3a3d6
|
|
| BLAKE2b-256 |
1d29cb51248c176bef1dfdfacb213909d2424b4c2378b69d7b9c807867fa11a3
|