Skip to main content

A Python module for reading Dhall lang

Project description

python-dhall

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

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}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

dhall-0.0.1-cp37-cp37m-manylinux2010_x86_64.whl (17.1 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

dhall-0.0.1-cp36-cp36m-manylinux2010_x86_64.whl (17.1 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

Supported by

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