Comparison
pygohcl vs python-hcl2 vs tfparse
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python bindings for Hashicorp HCL2 Go library
Maintained. Last release 2 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity.
$
pip install pygohclA parser for HCL2
Maintained. Last release 3 weeks ago, commits in 7 of the last 26 weeks. Weaker on contributor spread.
$
pip install python-hcl2Python HCL/Terraform parser via extension for AquaSecurity defsec
Maintained. Last release 2 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity.
$
pip install tfparseIn short
- python-hcl2 is the most used: 16.8M downloads a month, 72× more than tfparse.
- Maintenance is comparable: pygohcl 70, python-hcl2 69, tfparse 69 on Pythie’s Index.
- pygohcl is growing fastest: downloads +194% over the last month.
- Safe default for a new project: python-hcl2.
Side by side
| Metric | pygohcl | python-hcl2 | tfparse |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 70 | 69 |