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.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.8-cp314-cp314-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.14Windows x86-64

pygohcl-1.2.8-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.7 MB view details)

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

pygohcl-1.2.8-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (1.9 MB view details)

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

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.14macOS 10.15+ x86-64

pygohcl-1.2.8-cp313-cp313-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.13Windows x86-64

pygohcl-1.2.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.7 MB view details)

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

pygohcl-1.2.8-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (1.9 MB view details)

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

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.13+ x86-64

pygohcl-1.2.8-cp312-cp312-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.12Windows x86-64

pygohcl-1.2.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.7 MB view details)

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

pygohcl-1.2.8-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (1.9 MB view details)

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

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.13+ x86-64

pygohcl-1.2.8-cp311-cp311-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.11Windows x86-64

pygohcl-1.2.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.7 MB view details)

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

pygohcl-1.2.8-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (1.9 MB view details)

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

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

pygohcl-1.2.8-cp310-cp310-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.10Windows x86-64

pygohcl-1.2.8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (1.7 MB view details)

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

pygohcl-1.2.8-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (1.9 MB view details)

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

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file pygohcl-1.2.8-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: pygohcl-1.2.8-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pygohcl-1.2.8-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 63415e30a3db278076d1761c447de01a54e77c29702c2b69f86959d110b648d4
MD5 36a1a5813b58d7cb8dffc2676c860e6c
BLAKE2b-256 10908525b186f6e7a9bdd5c675a99f7190d5dbf7b87115adfa66bea2abcd39cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a35f991666ffc7dad3e5fd1124df8dbfb970516f739d75d573457915a2cd775b
MD5 84748f3b43b0e5bfb3e78fde9d9d0c09
BLAKE2b-256 f8db60540a9bad093f20a4d3fc106bd1e5d86ee3f52855a39cfc5c02b2815fe3

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.8-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.8-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 cf4eabf28c74c22a449b32d53efc573d94a678f95d774c1b2898bf4ae4833842
MD5 136ee94d88a4d040d3de704dec3d986c
BLAKE2b-256 7e99a4741ad702f44e64ee9c7a9eb577c9e76d03a0f9024cc815640ec1cb0539

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ab4a82f0d6adc96c3dd6ee36983b5a7dd758bab51a7aac4b4120146b30532ac2
MD5 d976cefa875307c1a4a0c4852397747e
BLAKE2b-256 8b4d4f5ebf6c41cbb95bcad45c4b45c22bed350aa05e9302dce9e8fb7d485ee8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1e0e54afba71553b7e04390c2165fb4c6c4a2a44e42b9c34b145b1fe2b2fc16c
MD5 3be13c8d766fac648991be3ea1a3a9e4
BLAKE2b-256 b154e43afa5b208559fb080248c5bd749cc63bfdc6d6796f977ae421c346c279

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.8-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pygohcl-1.2.8-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pygohcl-1.2.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6e14fb133f54ce79da4a59f8162d4a03a0269b602df8093781eb3299500165d3
MD5 47327a0194d832a20706e32a8b3444e2
BLAKE2b-256 f0904a553fd8ba04d24988d760fabe2cca3bf17ca35f978c7154563017a81018

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9f040e97b07b6954ebfda4fc2e96b05660c7561c190f31e635b888e4133f6ab2
MD5 6f227bf7ca88be2902b6fef73626c9e9
BLAKE2b-256 2550860d70128a181d036790ab2b6e71a58840c1bfacba378c26e8342a9685e2

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.8-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.8-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 6d5b9e07179717f7efb4c73469ad45df133745a4bab4b887c38b192d4e10c87d
MD5 5b6634c268ed0485a1cafe4c97720b13
BLAKE2b-256 d5def79665590f5df303832342438170c1a851d9b50cd4c7a08dd235b923acd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 910bf86b2330046e12e53a1e4055dab7d315ed79172ca119be86efb0ac2d4eaf
MD5 80c8e9e14e28a5660c3d85061c3d0307
BLAKE2b-256 503d711e62eabdbd8c41248d285b7534acd076800bc54a52ed7162f39a837bfc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 05121f9cc1558ea72bf1150005e97cd23488d6348dd78e6be974c7141f418431
MD5 a152199c3de6455ace1076436c03c5a1
BLAKE2b-256 ce6ff00edd61dab5e85989bda7f52e8ac5130a19e8492d29015a5a4240c0356b

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.8-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pygohcl-1.2.8-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pygohcl-1.2.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7f2e697cbb8a9127c680b47f848f15abe2a22d78a8d4c6b6cdc17c08060c4a21
MD5 864e0475e61f2da942d249fcdee25887
BLAKE2b-256 71ef010294705228f11398317c7656f4456bb8b97e63958fbcbda7bbd6c6d05a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 55f92c807d085d7325d0034f1f692b26225b53273778979072479c48e65061c4
MD5 31dcf4ae421a9e1d4ff5899e5901eeec
BLAKE2b-256 74d8a7ae9e96b64be7dd8092e878fc5b342cc71c254ce689176916fe1f8373a3

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.8-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.8-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 58ba5462adcea3d7ac2ac8edffba63299a2de17e881490247c317dcd6e9193bd
MD5 a33c0348db8154e703f87097980e1625
BLAKE2b-256 09d69ccccc20394dc9b36dfc0e8ce2cbade22a0e163d0f150ef7fa50e1cbab6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d349c8db6c153cae02f45a6e474587f658ede04c8b99759136593129bc8dbfdb
MD5 35095bab276a54d437c0604a763eef81
BLAKE2b-256 00b49bddfc68220e25053ee18d96dd76d4d0de8d02d3b45a6c63b239cbd755a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 582c5342380b2c824093e4861ab966e8845883b11a26dfa74dcf8ec6af32d96d
MD5 f459c1c8bfe8c8c605cb4189b708fe4e
BLAKE2b-256 44f128e462046608e649fdd3fe5e4e4e26b2e187d4df5773f07072d4d670b4c9

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.8-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pygohcl-1.2.8-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pygohcl-1.2.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e46026637cfc02df57e4dc97ea40a93362dfae7fed6510108094bc000668f173
MD5 e9a40e036cb34f1797ce39f521acf47a
BLAKE2b-256 8314cb053f3f5f278c3274fd75efbae9430a59627f02455d22fce27df8af9d60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a5c3afed35a816e7f8f1c68deff911312c16a50b84d8657c64b134e9e473deb8
MD5 732a95c511a54e699e141a4c26b5f140
BLAKE2b-256 1d81084fe7deb30720902406c98847cac6fe02d88db591b72a5e69fb6e32b027

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.8-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.8-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 2b1f6b502f2b553b76c8cfbdb672f559fbde79aafeaefb5ab452f5c4dffe2783
MD5 7d46c2791a8c66389e224f1c05dddc6c
BLAKE2b-256 e34c00359cbb680e4f191401692a068a9ae8a926c3eb4ae3d70591271bd9f1b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af67019bda4f9061eb4da8b4cd18406af57082d03b272e5a6bd59b12a0eeaa1b
MD5 ca69613f58fb3500f49ae6c1bd10a427
BLAKE2b-256 6910959d837da3669693c900b53625507c552ad8fd161d42daae2d0da61b0dde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 69c230118fd5c7c8d44b13b901848f10c981ce7dd349f4b5b938f159a5bbdbb5
MD5 260209c930ba5d072b1ebb89509dbc1a
BLAKE2b-256 787de6ff0cf55f236e893f177e3e3830fed56091748fb394ba6a193a43ba75b9

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.8-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pygohcl-1.2.8-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pygohcl-1.2.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ceb3cfea9a9ea81a17f3eec614bc86dd99c2f7f1bf499beeaea4d098cf55a770
MD5 0dd6762280433fff63d36ad279a13920
BLAKE2b-256 8f6eaed2c1acfdca7aa74ae51c7fe9753ce46170fe988585562c9d653fc21d95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a002a9ade09914ecb2d91ec8b16d9c2a5005926ee5c227bc8b8c0860a176722f
MD5 e16a2ed420b5f2cf1f89e7487b2ab716
BLAKE2b-256 c95e004b1993c972f66f610aaa1835b839ce9f0a0c5e67a006673cddc39b6efa

See more details on using hashes here.

File details

Details for the file pygohcl-1.2.8-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.8-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 ca015b26527f2036b46b8dd787a798ae4054544c5e4ef10d69431015a457d1c5
MD5 292b7c702b63463a0d98605acdf3f4a1
BLAKE2b-256 709378e6aacbb7265868fe07bd471b9ffb66eb444200f89d5b00a89dad477935

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 34e7b3cf1aea20dcf79b08f866a361229d0fc384c8e6492a4a2064aebee09dfb
MD5 2071fb74545ff32f36eb6aa0971da2ee
BLAKE2b-256 7aa433b7940cab870c98708c667e12928319b942ca1cdbcb454437a7b5e93f93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygohcl-1.2.8-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 83338a8fe525716b9fe55c934e48602374f2473ed14e9d25e35a7cd5686dc195
MD5 f61dfc25563874997798a440cf5007b5
BLAKE2b-256 84bf4ebabe3cebed1e67acd775808ad2798aa1ea6ac2d737f742760e18535489

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