Skip to main content

hjs, the missing bit of hjson

Project description

hjs is a thin wrapper around hjson-py

https://duckduckgo.com/i/bf0eb228.png
>>> 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)

Uploaded Source

Built Distribution

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

hjs-0.0.7-py2.py3-none-any.whl (4.5 kB view details)

Uploaded Python 2Python 3

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

Hashes for hjs-0.0.7.tar.gz
Algorithm Hash digest
SHA256 5a8c9842dec9068f99a34df38ca0af04d90c3c6daf6496c06fba8be66c95a983
MD5 54737fe7fa98891a6a50f5277180f515
BLAKE2b-256 b2b873db9650339b8724b0c35ec067663f97e7e451c7af80c073a0e8c910131c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hjs-0.0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 adf573ae031793a4a3daec33b9ae48ef27ebc1197dbf2074b9986ab68befc2e6
MD5 ffde6af862d49aaafc30eb995f6d6b08
BLAKE2b-256 ab005669a280ab2593e20bc122a27ca180813242e24944450596a117f2841848

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