Skip to main content

hjs, the missing bit of hjson

Project description

build gpa cover

hjs is a thin wrapper around hjson

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-1.1.7.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

hjs-1.1.7-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hjs-1.1.7.tar.gz.

File metadata

  • Download URL: hjs-1.1.7.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/2.7.16rc1

File hashes

Hashes for hjs-1.1.7.tar.gz
Algorithm Hash digest
SHA256 a8b6f83afdab11a022d377f0def138007c04736ee7292825772738752c3ff56f
MD5 de91eea7969634f0408f0acece90415b
BLAKE2b-256 d9fed98bc901ff0b000ba2399b0d26ef57c3977c00bf2e90c149d2afe7f6d851

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hjs-1.1.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/2.7.16rc1

File hashes

Hashes for hjs-1.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dbd3e51a30a4194c1104e796ca678375ea05b30e68d8b97d71908464fa73cf81
MD5 2164c165b3edfd1a4ee529fdd8622bee
BLAKE2b-256 7766aaca97e4ddea6ed9b832cf6ff21d8585fe15343425a6d788ec1daeace8c2

See more details on using hashes here.

Supported by

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