Python HCL2 Parser

JSON →
library 8.1.1 ·python
verified May 20, 2026

python-hcl2 is a robust parser for HCL2 (HashiCorp Configuration Language v2), primarily used for Terraform configuration files. It converts HCL2 code into Python data structures (lists of dictionaries) and supports reverse transformation from Python dicts back to HCL2. The current version is 8.1.1, with a release cadence that has seen frequent updates, especially around the major v8.0.0 overhaul.

total hits 13
actors 4 distinct systems
last hit 1d ago GPTBot
GPTBot
6
Script
3
ClaudeBot
1
Humans
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇮🇳 India · 🇫🇷 France · SI