{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/11"}],"enrichment":{"capability":"Loads configuration from multiple file formats (.yaml, .json, .ini, .env, .py, .cfg) and environment variables into a unified interface with dot-notation and dictionary access.","skillfed_tags":["config-management","yaml-json-parser"],"use_cases":["Load database credentials and connection settings from .env files and YAML configs in a single Config object.","Access nested configuration values like database.host and database.port using dot notation without manual dictionary traversal.","Merge environment-specific configs (dev.yaml, prod.yaml) with shared settings and environment variables at startup.","Type-cast config values to int, float, list, or dict automatically to avoid string-to-type conversion boilerplate.","Validate that required configuration keys exist before application startup using assert_contains()."],"what_it_does":"bestconfig is a configuration management library that scans your project directory for config files in multiple formats\u2014YAML, JSON, INI, environment files, Python modules, and CFG\u2014and merges them into a single unified configuration object. It provides flexible access patterns: dot notation (config.logger.mode), dictionary syntax (config['logger']['mode']), and a get() method that supports nested key paths (config.get('logger.mode')) and type casting (config.int('PORT'), config.list('PRICES')).\n\nThe package automatically discovers common config file names (config.yaml, settings.json, .env, etc.) and environment variables, then exposes them through a single interface. It also supports runtime manipulation via set(), insert(), and update_from_locals() methods, and includes validation through assert_contains(). The library depends only on PyYAML for parsing, keeping installation lightweight.","worth_installing":"No. The package is abandoned (last commit 2023-04-17, 1215 days ago) with no active maintenance, so security patches and bug fixes are unlikely. While the core functionality is straightforward and low-friction to install, the lack of maintenance makes it a poor choice for new projects; consider actively maintained alternatives like python-dotenv, pydantic-settings, or dynaconf instead."},"id":"bestconfig","links":{"html":"https://skillfed.io/packages/bestconfig","md":"https://skillfed.io/packages/bestconfig.md","pypi":"https://pypi.org/project/bestconfig/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2023-04-17","license_spdx":null,"license_treatment":"permissive","name":"bestconfig","python_support":"unspecified","summary":"Setup your project config easily"},"popularity":{"monthly_downloads":89380,"position":13663,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.3.6"}
