{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/11"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"},{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"}],"enrichment":{"capability":"Loads, dumps, and merges configuration files in multiple formats (JSON, YAML, TOML, INI, etc.) through a unified API, with optional template rendering, schema validation, and query support.","skillfed_tags":["config-management","multi-format","schema-validation"],"use_cases":["Convert configuration files between formats (JSON to YAML, TOML to INI) without writing custom parsers.","Merge environment-specific config overlays (base.yml + production.yml + secrets.json) into a single dict.","Render parameterized configuration templates with Jinja2 before loading, e.g., injecting environment variables.","Validate loaded configuration against a JSON schema to catch errors early.","Query nested configuration values using JMESPath expressions without manual dict traversal.","Generate a JSON schema from a sample config file for documentation or validation of future configs."],"what_it_does":"anyconfig is a Python library that abstracts away the differences between configuration file formats, letting you load, dump, and merge configs using a single set of functions regardless of whether the source is JSON, YAML, TOML, INI, or other formats. It detects format automatically from file extensions or accepts explicit format hints. The library also supports Jinja2 template rendering during load (useful for parameterized configs), JSON schema validation, schema generation from loaded data, and querying results with JMESPath expressions.\n\nThe main use case is simplifying application configuration handling: instead of writing separate parsers for each format your app might encounter, you call anyconfig.load() once and get back a dict-like object. It handles merging multiple config files, ignoring missing files, and applying templates\u2014all without requiring you to know or care about the underlying format. A CLI tool (anyconfig_cli) is also provided for command-line config conversion and validation.","worth_installing":"Yes. Zero runtime dependencies, actively maintained, MIT licensed, and supports modern Python versions (3.9\u20133.13). Use it if you need to handle multiple config formats uniformly or want template rendering and validation baked in. No known security issues. The only caveat is verifying which format parsers are included by default vs. optional."},"id":"anyconfig","links":{"html":"https://skillfed.io/packages/anyconfig","md":"https://skillfed.io/packages/anyconfig.md","pypi":"https://pypi.org/project/anyconfig/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-11","license_spdx":"MIT","license_treatment":"permissive","name":"anyconfig","python_support":"supports_current","summary":"Library provides common APIs to load and dump configuration files in various formats"},"popularity":{"monthly_downloads":544904,"position":6079,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.16.0"}
