{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"}],"enrichment":{"capability":"Parses HOCON (Human-Optimized Config Object Notation) configuration files into Python dictionaries with automatic type inference, supporting nested access, environment variable substitution, and file includes.","skillfed_tags":["config-management","hocon","data-serialization"],"use_cases":["Loading application configuration from HOCON files with automatic type inference and environment variable substitution","Converting HOCON config files to JSON, YAML, or .properties formats for use in other tools or languages","Building configuration hierarchies with includes and merging, where one config file can include and override settings from another","Accessing nested configuration values using dot-notation paths without manually navigating nested dictionaries","Parsing duration and period values from configuration files into Python timedelta objects"],"what_it_does":"pyhocon is a Python parser for HOCON, a configuration language that extends JSON with comments, variable substitution, includes, and a more human-friendly syntax. It reads HOCON files and returns them as nested Python dictionaries where values are automatically typed (strings, integers, booleans, lists, etc.) and can be accessed via dot-notation paths, dictionary keys, or typed getter methods like `get_string()` and `get_int()`.\n\nThe package handles HOCON's key features: environment variable substitution (e.g., `${HOME}`), file and URL includes with merge semantics, duration/period parsing, and conversion to JSON, YAML, or .properties formats via a command-line tool. It depends only on pyparsing for its parsing logic and has been actively maintained since 2015, supporting Python 3.7 through 3.12.","worth_installing":"Yes, if you need to parse HOCON configuration files in Python. The package is actively maintained, has no known vulnerabilities, and covers the HOCON spec well. Install friction is moderate due to source-only distribution, but this is a one-time setup cost. The permissive Apache 2.0 license poses no restrictions for most use cases."},"id":"pyhocon","links":{"html":"https://skillfed.io/packages/pyhocon","md":"https://skillfed.io/packages/pyhocon.md","pypi":"https://pypi.org/project/pyhocon/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-20","license_spdx":null,"license_treatment":"permissive","name":"pyhocon","python_support":"unspecified","summary":"HOCON parser for Python"},"popularity":{"monthly_downloads":4899029,"position":2207,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.3.63"}
