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, 3.13.
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.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45bcfe334da672d33b7ff907eb1e727a5c45dc450001567952be2e9736e5b533 |
|
MD5 | f246f9af7a99160eaaa2aa033b6af2c3 |
|
BLAKE2b-256 | e87ff61358d326b9dda9e27c0ad6344fbf9bbba52777937a244ba9826cb3f10b |
Close
Hashes for pygohcl-1.2.3-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b141865bccba7b29ab0f1649cf1a2c19c6ed304a8b6380e9e028c2c161079bb |
|
MD5 | e7078bdf524c6b7f4b834150c320e70a |
|
BLAKE2b-256 | 4bae8dbcad5a62137ad217f6bd4b5c43ea8a2b766199525948a8c8b70455cd76 |
Close
Hashes for pygohcl-1.2.3-cp313-cp313-macosx_15_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 806187e087abff887eac474caabd482c5f6d745e1d934b8d6fc4ccd8ae03b73b |
|
MD5 | 35c5fb4257ae9cec94f2c0c246f8bf23 |
|
BLAKE2b-256 | 7bf9aac01abac9c863d023d748a1c09c4bed8c5a777916d1357eecb65f0754d7 |
Close
Hashes for pygohcl-1.2.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94457fd592b158d39a1497e4ab2d84f8581c4a051f2b1381eaae87eb917f4626 |
|
MD5 | dafac099026baf09e57cb37c0e796a60 |
|
BLAKE2b-256 | b73c9425eeb352895097d9eb7b611b8c65bc903fbfdcc6f0aa44508074db006c |
Close
Hashes for pygohcl-1.2.3-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c83cf41c0f4f7e0c5868d9859f1a7a6d1949c3ffcb91e447d5a008f31477647b |
|
MD5 | 4ce594ec5e4e9d9ef0a225b0a87af8f8 |
|
BLAKE2b-256 | cec6376038d455f5c96408da25fceb4aebb60e5c3c6aff9264b299cd5254ac6c |
Close
Hashes for pygohcl-1.2.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fefd04e928173babfa23128316b0d06be0a73d5fa8bb32d6a5f2f5cc442b67d1 |
|
MD5 | ccb3721f68639ec572651cde797baf1e |
|
BLAKE2b-256 | d11f23c9212e6aaee31e46057af199c7539c78d2917582ea2ea61b339d55ee33 |
Close
Hashes for pygohcl-1.2.3-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccbb9a4ea053aeb696e5180b7e7c62e9a48a76ecd515cd12a1ce1ce7c3e8dd09 |
|
MD5 | 6045672fd02fdfb16a53c22070953dc2 |
|
BLAKE2b-256 | 10f14622e842d24d36163e297bcf521c6da8ea1cd3bbb6618a0dad95e0e2baf8 |
Close
Hashes for pygohcl-1.2.3-cp312-cp312-macosx_15_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c8fe94b9d99ecdb67091eacf89934ffa0ed1528edc27e8e9b08d2e8fa3430b |
|
MD5 | f42d7e36b7b13fea836411ff2ed3bd45 |
|
BLAKE2b-256 | f2c3c372bbd46b297666157e06dcc880aa8c0a43d72611b554692ebb0f284917 |
Close
Hashes for pygohcl-1.2.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d213b2012bc95825cf31f71a58a5b3b61291aca1e139e5f4a78cd4f0ed45ab3 |
|
MD5 | 6ade0413ec108b5707b93506486d3bc9 |
|
BLAKE2b-256 | 49d06a585b853347c2b2b238d34c33c7d54554ba3aa25af7cf1728e5105b5c73 |
Close
Hashes for pygohcl-1.2.3-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83032ad94d19e7c6faa5c115bebb6a4f717af30ccdc8c218c8f1298a1a4dd5e3 |
|
MD5 | 9b18d68c6eef234b18f7a1e85ace6a59 |
|
BLAKE2b-256 | 5ff908bdccbed7dc731d63d7847f3095bf230778d644d04483b1e95055e10e48 |
Close
Hashes for pygohcl-1.2.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40ab1b621f5f15464c75caaa3a94c2f5c14af84944b52e88363f6161f83d6bf4 |
|
MD5 | 0f57f576a04a457d0679468d49426b4d |
|
BLAKE2b-256 | c4671b94a2d49b0905fc44e6bd39895533e8d36b772f99fcc9d0bb469e810d28 |
Close
Hashes for pygohcl-1.2.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5470597a6518287276d9c668dfb581dbe6cd4e49fe305d73f2c9a68e0e0496ce |
|
MD5 | 523f8a03e57bd41e75cf286b8b11c4f1 |
|
BLAKE2b-256 | 3044f82762decfae17493caa44e8f53958dca02b673821d20f59a4219e0a7698 |
Close
Hashes for pygohcl-1.2.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f9954c3286cecd9207585aa67faf9cad016fac56907bf44b6f936262e8158fc |
|
MD5 | 527df2cdab4f780512a0dbd2067915c7 |
|
BLAKE2b-256 | 1d5505306195c182d517b78a877ac6c2154fcd1ce042c387526eebc276de5f75 |
Close
Hashes for pygohcl-1.2.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09eb036ec1fdd167e8dc20740a0245b7010d2c3d5ef08fe9e5478418a5003eaf |
|
MD5 | 1a1e42cd551d7bd9c46fe865e5be5187 |
|
BLAKE2b-256 | 120c3ac3af4ddd3bd6b81137d10e07df3f5a03992e93ac979b5c3317d5880855 |
Close
Hashes for pygohcl-1.2.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87d6529473641f413caf52abf6b9eaa6a7760f775ba662b649ab3f9c3ee14653 |
|
MD5 | 93771b012f0bbcf14beafd772f946448 |
|
BLAKE2b-256 | ae5873ef302c9ad88dd26eca1f9448112b44c771e45a4b8b1d317c16be9f2aba |
Close
Hashes for pygohcl-1.2.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5533eea6c1e33fdc46dbfd6064aa5ace7ae5a9f5026e285e316dd312a62bbee |
|
MD5 | be7015445eb737e0cdd4b930d79775d7 |
|
BLAKE2b-256 | af01f3c4d66a9d3271bb66173d420fe3f1fa5aebf039c662c6bb31bda2d0f606 |
Close
Hashes for pygohcl-1.2.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ebbb7de91f49a98cb88cdaf5d955c9ace17b8af6f771f11f26145e3eda65fa9 |
|
MD5 | 803fe3b44562d5bae9a66ac226a82f04 |
|
BLAKE2b-256 | 4f30cdd02c178c962ac3e687781c8561412bec792107480caf468d9bfb76110c |
Close
Hashes for pygohcl-1.2.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f5a34d0b723cea0a5aefdf281919c92484ce90cb059a5d5587b0fdaaebe8aca |
|
MD5 | 9f01dded7a8e1abce22cc1b4affdd56a |
|
BLAKE2b-256 | 144aaa16374dc56091c0881c35db63cc882ca952cd0cf177cc7d7255a66f563a |
Close
Hashes for pygohcl-1.2.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f57a5bfa9c2bb1d16d3033ddb8e67e2734b4eb3c892ec22ab282a8eff4b88809 |
|
MD5 | d0dde12bcb5bdb9130b7a78118c81bd7 |
|
BLAKE2b-256 | b0680cef123379a77dc09bafafa81ed7338fe65816fe04e651772a2e6317b8ae |
Close
Hashes for pygohcl-1.2.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c6fdc8852c558bf881eec2740063d1506edfb4015c23640fe9ac07e9a09559f |
|
MD5 | 403a330fe6ffa90eb44fff82a872e7f9 |
|
BLAKE2b-256 | 8cc9bdd2d47f7675ec223cb58604dcb4caf97c07e0fc7c8b17fd9d46d4071859 |
Close
Hashes for pygohcl-1.2.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49b870a5ec618f9bed31d98a0923af5a8b298d8a50618fc1fb98f253700705a7 |
|
MD5 | da41ae1bdcbcf1e0f0eb89f5e5665deb |
|
BLAKE2b-256 | 2c4bed4d06aa4db3b3e3e4fc071fc9cfdf5e83e54b3d28d1c72050c1d4165a40 |
Close
Hashes for pygohcl-1.2.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab01dd1fb4af9495c2a3c7c578e097246ddd4757aa5e5ccdef1e573c68195b1c |
|
MD5 | 79a5c76c0e27d612165575aedcb4a594 |
|
BLAKE2b-256 | 5c5d7c6f37012bf182152118df9cdce9aaf38848bd23ee08b8487313004ff0b2 |
Close
Hashes for pygohcl-1.2.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91e346da60fc7cb0e8f2d0e58ff14aebb78f3f99f349947b00aa2a50b6ac0483 |
|
MD5 | 6bb9a1a1363eb4046e75310a071f9ad8 |
|
BLAKE2b-256 | 3d6a714ba995f58a84e2cd55610b88c647824fd6eb709b23bbf80f24ad2e9840 |
Close
Hashes for pygohcl-1.2.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b96b4698e68cc12cc50ca633e0332c12576af67551de7ff9626f40a2dd732497 |
|
MD5 | c1fbc76d3ccf397eabfe452fb87eb192 |
|
BLAKE2b-256 | ab4e98129f971eed45f11cc9e096d2b8e444be2e8114a6918b2ee2e9587f41dd |
Close
Hashes for pygohcl-1.2.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5743ea9a71b45e23340eaff41cf8c69750355fc99900e3b1939a81a71fa47473 |
|
MD5 | 4cdf4c278fd42642741822acb74b6e06 |
|
BLAKE2b-256 | 77bfbb1c4daa91e64afd3f7dbfa6662f328a919cc26cb26d9214755aab5283bf |
Close
Hashes for pygohcl-1.2.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52cda748638f902ecf8854f40ff66f657c51e1c9f39601dc94b5413e7f3a727d |
|
MD5 | fe444905a2f6c5c02a5af41d4e98f6ca |
|
BLAKE2b-256 | d6d07f4c460f3bf8f9d6d958417e6fa0f42194c9feb86cc2f94023c8fde91e13 |