Skip to main content

hjs, the missing bit of hjson

Project description

hjs is a thin wrapper around hjson

https://api.travis-ci.org/charbeljc/hjs.svg?branch=master https://duckduckgo.com/i/bf0eb228.png
>>> 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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hjs-0.0.9-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2Python 3

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

Hashes for hjs-0.0.9.tar.gz
Algorithm Hash digest
SHA256 4c835c1a0b6b40d6f511ecb070354f867c844e187b409d887866275c8dedcd23
MD5 c6777de137ce447a9e9c545e8e835480
BLAKE2b-256 a670dccc309532bd3c2915e1d2e441fb06955eff44650a3ac7cf19987947f9c6

See more details on using hashes here.

File details

Details for the file hjs-0.0.9-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for hjs-0.0.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 efdf4a14ba2de011e6a9ee8d50602a2cae00107625ac482026db327d35408a73
MD5 a945eed2738c4687a7b6e5c0887cc444
BLAKE2b-256 8da668169919272d35afd6c55dba2e3b7511dad7005a39d4f24b20c61e4f374d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page