Skip to content

A POC dhall binding

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

TristanCacqueray/python-dhall

 
 

Repository files navigation

python-dhall

python-dhall contains (WIP) Dhall bindings for Python using the rust implementation.

Install using pip (with python-3.6 or python-3.7 and libssl.so.1.1 as provided by fedora and ubuntu):

python3 -m pip install --user dhall

The binding implements a loads function that returns a python object similar to JSON:

python3 -c 'import dhall; print(dhall.loads("""{ version = 21 + 21, name = "a test", req = ["itemA", "itemB"], bool = True && False }"""))'
{'bool': False, 'name': 'a test', 'req': ['itemA', 'itemB'], 'version': 42}

About

A POC dhall binding

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 73.0%
  • Rust 22.5%
  • Makefile 2.9%
  • Other 1.6%