Skip to main content

hjs, the missing bit of hjson-py

Project description

hjs is a thin wrapper around hjson

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.8.tar.gz (9.1 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.8-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: hjs-0.0.8.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hjs-0.0.8.tar.gz
Algorithm Hash digest
SHA256 5fb72ed5d359f37b46fff0e2ea8d77f5aecc033c5a5e5a439257792ebdbc268d
MD5 e21e3d11668c8794aedb9f1e6fb063b7
BLAKE2b-256 d84a4eb717a4b7ed334dbaead7eec70b591d8fb0203df66804047ad4ecbe822e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hjs-0.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f79c6156b6d063aac4d6739435cf84ce2560277628e71d50e5f0611394c5b674
MD5 dc36bfbb045063ed3fdbf16bddd0c49a
BLAKE2b-256 37f1f306833e3a8ffa9cc4793b4e4fefa29fed3a2a36f75fe19c24992a0e2ca3

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