Skip to main content

Python bindings for Hashicorp HCL2 Go library

Project description

pygohcl python package

pygohcl

Python wrapper for hashicorp/hcl (v2).

Requirements

The following versions are supported - 3.9, 3.10, 3.11, 3.12, 3.13, 3.14.

Setup

pip install pygohcl

Usage

>>> import pygohcl
>>> pygohcl.loads("""variable "docker_ports" {
...   type = list(object({
...     internal = number
...     external = number
...     protocol = string
...   }))
...   default = [
...     {
...       internal = 8300
...       external = 8300
...       protocol = "tcp"
...     }
...   ]
... }""")
{'variable': {'docker_ports': {'default': [{'external': 8300, 'internal': 8300, 'protocol': 'tcp'}], 'type': 'list(object({internal=numberexternal=numberprotocol=string}))'}}}

Building locally

You can use the following commands to build a wheel for your platform:

pip install wheel
python setup.py bdist_wheel

The wheel will be available in ./dist/.

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

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

pygohcl-1.2.6-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pygohcl-1.2.6-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

pygohcl-1.2.6-cp314-cp314-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pygohcl-1.2.6-cp314-cp314-macosx_10_15_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

pygohcl-1.2.6-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pygohcl-1.2.6-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

pygohcl-1.2.6-cp313-cp313-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pygohcl-1.2.6-cp313-cp313-macosx_10_13_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

pygohcl-1.2.6-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pygohcl-1.2.6-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

pygohcl-1.2.6-cp312-cp312-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pygohcl-1.2.6-cp312-cp312-macosx_10_13_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

pygohcl-1.2.6-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pygohcl-1.2.6-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

pygohcl-1.2.6-cp311-cp311-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pygohcl-1.2.6-cp311-cp311-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

pygohcl-1.2.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pygohcl-1.2.6-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

pygohcl-1.2.6-cp310-cp310-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pygohcl-1.2.6-cp310-cp310-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

pygohcl-1.2.6-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pygohcl-1.2.6-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

pygohcl-1.2.6-cp39-cp39-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pygohcl-1.2.6-cp39-cp39-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

Details for the file pygohcl-1.2.6-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dba34b67558bdb25fe11c9795d441c6b17cd667e8f9ff071c58579cba63f8ade
MD5 54862f73c0486751e836dbb3ad7845d9
BLAKE2b-256 2dce24a5ee56721b82cdbc253ba1159ef52647012b273a30b8ad20d1773dfd20

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 435a56e206a01ebd6e774441640d12dd380a4a0e7d8bfa9f0beb7142dac84570
MD5 bbe9d52df1be71f96d6fb9070771ac65
BLAKE2b-256 87dc8ce17ecca719d655f8081d5fa43aac55a34026d4ab45e3a86dec26b892fa

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4734dd91a9a088b9b6c3df89226d98911059b7d3769bf2cde25919faf808891c
MD5 eeb24db5b06d08225b23b075d0e70b1f
BLAKE2b-256 295484d13b69b8ad052be0a490ab2304789b2fbdb646a326a950081a636847aa

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp314-cp314-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 19b7ab25a15223b4b5aceb131ee52544b4dc40cc159ac7553b780f4476e989a5
MD5 1ac9a5cfffd653825dbeca191e285a59
BLAKE2b-256 56195d3dbf370479f6172aa247138cca848d8b8aa9b72fad6f289e38645e19cc

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 65c4873133cf5b32d73d8479a8fccfc7d77ad44f7f56feaa162ef9eb8c35b0e5
MD5 af6847da7a4a56203a7f8515a174e057
BLAKE2b-256 04553f9129943bb967b8903aca77f84f46478492d03926f907561eab719bc5f8

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 a03133dba557f1e9f46add8f0f934db058b728c7227d019b97ec6e75825119e2
MD5 d7cb7dd0d148432a6e95ddd1ca10a50b
BLAKE2b-256 9ed296ba2b347edcda1afcab6453c1b9ffb2ec79088311a03b284561f1afe3e0

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a9659afe39b5b110f3c2962d4d5dc6706b7b036b14a7f0c4537f36917a53a487
MD5 6b3293f2a477853bc5bb81df0a86453c
BLAKE2b-256 fd41889d585931b44980edc229cb0057638d281b89db77d37d0a8669ebfc6ee7

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 1d73cd02a165d3a0df1a1a3c9db6b70cc496d9688e84eea68888989385b8d915
MD5 34cde60e512fca7699b9f203eaa504ff
BLAKE2b-256 2604224ed1fd126a10f27d339306c59571bd3d59992c6127b7ff56920f942830

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a9ad0be774f58a2568b4fb32165a42deb94b5e1ba68a9878eca5690874d6ea89
MD5 3c8a6000c7daf93fa421cb6b8bb1ef43
BLAKE2b-256 42d4d069ede4c4056ece1007a92731c04b3c8df27ea8572bdec8c0bc90d3fd94

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 3ff83b58bf1428c3eebbc6b709969fb8d3c64e23baebb14eabc21e3941bcd3e4
MD5 232fdb571279c2101283d1977251654e
BLAKE2b-256 59f3d47aeb21e51bf7029937ed07e334b93e28303ce54c307a17cddaccdbbd21

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9ce7838213be3c529d024b8020009cb10cd5be15768db2a1dde9f02575bd46ed
MD5 dc91cf165d4366dcaffc0be172478fac
BLAKE2b-256 04138d28ee93080e00d9ce2b6e8245baca0240024135b556d4dc35d954b7a02f

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 7dfdbda94d2df758e8c855abb1f374fe0c8c457e18cd68e6587eb5e11b88a9bd
MD5 08f8b0fca062e9628df2bf7f2d93b11a
BLAKE2b-256 538c74421ac84aa81a8c3234d01ac164f15b3634b365663a6b96d9aa03fa14eb

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dcda3e1f4f1deb3d321ff939fd197f7f096994e3d3b05dc01bd8ea421cbfdd62
MD5 ac5f9c32c81b91bdb899797042d32d60
BLAKE2b-256 cf9d0e2c5e103331c22e4c0eb3b84acea2ca5d7fc14200e630874a16e4116f58

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 8fedc046031a5aea5725b44c0d6091262e28745e0b3c62c2f508fe08f57ada68
MD5 bf7143c97db1d9fd64b5a7fab7caef7f
BLAKE2b-256 43ee04f5187f54596d1a64bccb79e8ddb16686db3956b8e85ed565fdc9655c4f

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46856f1c0e871e523eb7ada3a86f866641d3a177940c018e00f6af0dc1ec505e
MD5 edd7603a3a1cd8a08831ad41f9264f5a
BLAKE2b-256 21b05258f83a0a6901dc12f767f7fc3aa124df1b721b99125e261136585e0e00

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a14146156b23d8632320709676eebf2447d9c4b30d264526f780f831ec054b0c
MD5 a934c953e6c63d5820cd888d3f7ff8cf
BLAKE2b-256 3f8adbc965b3d58cbd30380baf0d2cccbdca7430fec4e862d30d51eec77f2c8a

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 25a66e90b94895efaadf77555fccbcf0976c86153bed303229c807239b60b6aa
MD5 e8c01ab8b5dd278cd0940c3a1f98e9c4
BLAKE2b-256 a77ccdf326f213bc4898d3fd1e8bbcd22f9a4738bb9b8ba304573ae836d45914

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 5576edcc96af9f727ee91ec5fcc3e07653da3ae43cf6de6b78e4e58d83f2bb8a
MD5 09eab6c0a9cbbbe0863f5686975a5559
BLAKE2b-256 b3c914e523c9dd924d3236b980294e1925c9222c041efeaeb0d21ed5e6e71dc4

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 65703ac10b5ba0e4301d89e45c77a1c10df631dfba2dd2867e274a4ff8760737
MD5 72a073762c5b4acf0b363ecdab4dbe53
BLAKE2b-256 a6248aa09f0bbe7e6af23ee5c697bd1b4545b7cc76d03420969ae2859e5b2a52

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7ac5240114e163c48b405706fb561cb4306adddce3e27cebf51c29ca5536a123
MD5 110a06ac056fdee4782c5460a8bafb55
BLAKE2b-256 8bdbc8719f905c21295c0d760e2daee5860bec48c51045ece396d4b847eca6dc

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 089ae08f90a68df38d29dbd46728409dd4f6033f41e7e8bdd783def9bd92b8be
MD5 311757ccd9499ceda0ec0ac851454414
BLAKE2b-256 c369fc4771ecdf92b23777207214ecf14214ff2ae3ad2bfab8649dda197fd490

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 cffca1fd7a497f7195ef22e4608903b8ea4b2ac3db3f2f03611a4c103104319e
MD5 b2c75e6d2ef16aa7bad3517d7016ce30
BLAKE2b-256 b3e0a2ec2789457cf74c2996747e7e5c10b86c28cfef7a3c28b0524e005d8e70

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4a7f7c9e770b24344e69f923f888f953ac8cd0ec2d85bff3c8cf560e2fa883e1
MD5 c2f11e97dedddd02ab99dd92a9193883
BLAKE2b-256 4e044ef4a2f33f86260f24437f72a62bd3b9f7879f3feed57522c2bf487e7acd

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.6-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pygohcl-1.2.6-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0a3c22122d5f87624b8c90ea96b15ce20317074bdf985692a21e8c6f78b1377a
MD5 5b325a1a545fe1921f15eb82a2fdc3e1
BLAKE2b-256 c7adc4eece70dc255fa7d90632a0f21afdd5041d9d764c76490b3265e50147f0

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