Python bindings for Hashicorp HCL2 Go library
Project description
pygohcl
Python wrapper for hashicorp/hcl (v2).
Requirements
The following versions are supported - 3.8, 3.9, 3.10, 3.11, 3.12.
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
Release history Release notifications | RSS feed
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
Close
Hashes for pygohcl-1.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ead0eb90489aac5dd1e15479daaa359ab298a71c714a2a5aa1fd37d0dd89801 |
|
MD5 | 114bea11dc47b76a0fb21684ff2b371a |
|
BLAKE2b-256 | 2543eb874d8b41775da8d2d63c6d71d8718cb4e4fe52467d9f3a319391cf3b8f |
Close
Hashes for pygohcl-1.2.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9267c205df7369063372cd5e72517b2e7bcae78f8d3743f0bb0b0d14cd1e0ed0 |
|
MD5 | 51650b643ded1d870607f3b959b966d3 |
|
BLAKE2b-256 | b78e9dc92975b9ffd3d8f63f8df7813afa9aa40ef355b88efbe358af18d932bc |
Close
Hashes for pygohcl-1.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20981c037b701460c03f38158c75c8c4aece2b3b36a8367500349ff49d1615ad |
|
MD5 | 46dc12c3fa94949cfe545818da76aa60 |
|
BLAKE2b-256 | 83f3bcad9686d94c96b6685a0a6fd8cd24e4d9089878d5c7e5e1b24cee7a422d |
Close
Hashes for pygohcl-1.2.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c1dfa213e3c78cc9af27608be779d71fc1bef6e464f71c28879dcdc6941fce |
|
MD5 | 4e57ef7963d2af60ba212b3e66913fa2 |
|
BLAKE2b-256 | bebe567e5e68d43691912d8ad20ca012d986bfc1ee68030cb5d1046468d06196 |
Close
Hashes for pygohcl-1.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d56b2652a16c96d2119d07ac637991d42213ea78f7be151bcb174feb7a1967d |
|
MD5 | 7fea26d5dd9b74545b8eda5421ec2774 |
|
BLAKE2b-256 | 9be5fc6aa1df4573144d7dc7f1ed4f4f267670a2713aaca48888d2603464ba79 |
Close
Hashes for pygohcl-1.2.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35a020ab9963d3440b4084909bd3a766f246fdb9022dce00e546c9a7748734da |
|
MD5 | 8370d365687db58a3824dcd383e76f44 |
|
BLAKE2b-256 | 1d04501a7b820afd569bb0cc244d8275cf2d483aa637f9fd7b67be7eb2ef2abf |
Close
Hashes for pygohcl-1.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b29dcc2b23121f54771e7110abea06c31b6f952f1c25d77cc52e96059953af3 |
|
MD5 | b44f34a881bc73ed6a68151ed6f4b248 |
|
BLAKE2b-256 | a35e442ef12f6ae7587e3726f81d2709f20f041bbdbed5cf4e5b4269e7546145 |
Close
Hashes for pygohcl-1.2.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494852fa6090ff9997865b0c9fcb47f7c5b7b6510ae472667d6cd35c8f041739 |
|
MD5 | 04336f7e6fd9abc0e8de3ad1489f4638 |
|
BLAKE2b-256 | c7c4f30cc219a3567b175a9c00e0e5e4514f662b93ac28374611c1892b47aaba |
Close
Hashes for pygohcl-1.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7197d2e94c1ee7faf178dd2f5ce73d5f83d8f1b602b7d07f54e14613f4a8eca3 |
|
MD5 | 531a8482dc5cbe101eec503080637967 |
|
BLAKE2b-256 | 29cb6f71c038739b246869472449d70246af3d7fdf34b219f4e33f0eac16a1d4 |
Close
Hashes for pygohcl-1.2.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57298686d33c17624bfe1473faf7cb650bdc0e79653fb4284922b239cb84bbde |
|
MD5 | 98f05b79b57916df7fa49688af148cc5 |
|
BLAKE2b-256 | 3e76804237a44529f92ed0a2e8dcde08cb7ea8323247f8a4198da0d90f72f7d4 |
Close
Hashes for pygohcl-1.2.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 452abcb783bcd6a8161d38865e54b69433c4ff8026119e00c29eb45b384535c4 |
|
MD5 | fb7b8aab0cb6dabae41f8edcd3c09af8 |
|
BLAKE2b-256 | 25bd13e9f394f70f1542d175e7c2a56d3290fec12201d62a5b475fe40492eaf3 |
Close
Hashes for pygohcl-1.2.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09478ce83494eb7b566bd78646c1c16ac041a637735b6c84ea4412c112a67ed2 |
|
MD5 | 299ffcb4591ed2165cd70ed596359d99 |
|
BLAKE2b-256 | b3106338ece2fefe6503dd45dfd439394d388bf80d7c5ca219d2d304ed124ed2 |
Close
Hashes for pygohcl-1.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ea02a8da4b4c02770f1b0a00581f88de4c1eb1553e005acc5043f9f394a4856 |
|
MD5 | 0dd19bb2691d2156a8027a782ba4b2d5 |
|
BLAKE2b-256 | 9a4ecc5d2f17cae8bca3045d78e543a1e6a95d988de2b5f2391cfaa35a241b4c |
Close
Hashes for pygohcl-1.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 587a2d1a1508643b3dc65aa20af5ada0745f23b9aea5c435374249c534b6c4db |
|
MD5 | ba4a75175f71d44dadd00f3a58d344d2 |
|
BLAKE2b-256 | 5fe77f62b60a988a2c14493d2ce6203b9af717d7be82397ab101659ac56ba230 |
Close
Hashes for pygohcl-1.2.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60d0345e47e33cb55a8dbe1c9ed35c3875c3e2017ab4988274dd5613803612da |
|
MD5 | 18e1ef145a10f9e07a9c968c0a2e2538 |
|
BLAKE2b-256 | 0c8b9568fb11479968d0071150c4c4a8f3436d8c085e155cf9a039a7c2a89dcf |
Close
Hashes for pygohcl-1.2.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a8fd434be92e850c2e90eee11cfe7fa39c129047bb95cc6d80ec17ff4899305 |
|
MD5 | 242be9587c77b5e2b3d12b3c23cef4f6 |
|
BLAKE2b-256 | 6341c9d8858ae7a01627490a596903c4ec55089eef5e541a9c2eff342ccfadde |
Close
Hashes for pygohcl-1.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e13dbebb01fffb026a90afc5bb2ce1360037098ff52b8eb19088bc9bc02a9230 |
|
MD5 | 5a8422f5c1fbf887e27ceaf7e8f65607 |
|
BLAKE2b-256 | 3cec07fbdd4f93103cf7bc014643ac62501ec42d792397a5298c431a4b9a8bac |
Close
Hashes for pygohcl-1.2.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ba6035c83158a787e8092a65e42c6f4e5a02ed03f9e2df2224bfad3eaf3d15c |
|
MD5 | a6822c3c69a66a10809c223adf5a5300 |
|
BLAKE2b-256 | dc40f9d1a59e7df9c976fe0e93f5ee6cebdd828bb55bc6e7a5d6931c6bc37578 |
Close
Hashes for pygohcl-1.2.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea53fe5060d45eabc41cf5026c68c9ae5f0deae232439b553b4642db3e4cef48 |
|
MD5 | dce753559ef820750d9259a4447d5d5d |
|
BLAKE2b-256 | 7d7c7cfa54752160ccf06559bfb6b5d807fc3f03086e02bdd93f13b26d0b5d9c |
Close
Hashes for pygohcl-1.2.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49a576e365507846944d2953f36897e5f1f6b0133eb16724cdaffc86e994c809 |
|
MD5 | 098387cd6d3fad3f3663a0b2eb467496 |
|
BLAKE2b-256 | 9e9e211c2a7dfd3cbb04d8e505bfc5ba1f3f53ff0d865f62a43d9be558628c04 |