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-0.0.9.tar.gz
(9.4 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.9.tar.gz.
File metadata
- Download URL: hjs-0.0.9.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c835c1a0b6b40d6f511ecb070354f867c844e187b409d887866275c8dedcd23
|
|
| MD5 |
c6777de137ce447a9e9c545e8e835480
|
|
| BLAKE2b-256 |
a670dccc309532bd3c2915e1d2e441fb06955eff44650a3ac7cf19987947f9c6
|
File details
Details for the file hjs-0.0.9-py2.py3-none-any.whl.
File metadata
- Download URL: hjs-0.0.9-py2.py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efdf4a14ba2de011e6a9ee8d50602a2cae00107625ac482026db327d35408a73
|
|
| MD5 |
a945eed2738c4687a7b6e5c0887cc444
|
|
| BLAKE2b-256 |
8da668169919272d35afd6c55dba2e3b7511dad7005a39d4f24b20c61e4f374d
|