Pygohcl

Latest version: v1.2.3

Safety actively analyzes 701903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.2.3

Added

- Python 3.13 support

**Full Changelog**: https://github.com/Scalr/pygohcl/compare/v1.2.2...v1.2.3

1.2.2

Added

- Optional flag to preserve interpolation sequences in strings

Changed

- Do not strip all the whitespaces from expressions anymore

**Full Changelog**: https://github.com/Scalr/pygohcl/compare/v1.2.1...v1.2.2

1.2.1

Changed

- Bump Go to v1.22.7

**Full Changelog**: https://github.com/Scalr/pygohcl/compare/v1.2.0...v1.2.1

1.2.0

Changed

- Bump HCL dependency to v2.22.0

**Full Changelog**: https://github.com/Scalr/pygohcl/compare/v1.1.1...v1.2.0

1.1.1

Fixed

- `runtime error: slice bounds out of range` when parsing complex structures with `attributes_load`.

**Full Changelog**: https://github.com/Scalr/pygohcl/compare/v1.1.0...v1.1.1

1.1.0

Added

- New function `attributes_load`: parse only top-level attributes (`key = "value"`) from HCL input, raising an error when other blocks are detected.
- New function `eval_var_condition`: this is specific to Terraform/OpenTofu configuration language and is meant to evaluate the results of a variable definition's `validation` block.

**Full Changelog**: https://github.com/Scalr/pygohcl/compare/v1.0.9...v1.1.0

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.