{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/10"}],"enrichment":{"capability":"Loads and manages application settings from Python modules, environment variables, or configuration files (YAML, JSON, TOML, CFG) via command-line or environment variable specification.","skillfed_tags":["configuration-management","settings-loader"],"use_cases":["Manage development, staging, and production settings by switching between different settings modules at runtime without code changes.","Load sensitive configuration (API tokens, database credentials) from environment variables while keeping defaults in version-controlled settings files.","Configure logging centrally using Python's dictConfig format and have simple-settings apply it automatically on startup.","Support multiple configuration file formats in a single project, mixing Python modules with YAML or JSON for different settings layers.","Validate that required settings are present before the application starts, preventing runtime errors from missing configuration."],"what_it_does":"simple-settings is a lightweight configuration management tool inspired by Django's settings system but designed for any Python project. It reads settings from a Python module you specify and exposes them as properties of the settings object, allowing you to access configuration values throughout your application. You specify which settings module to load either via the --settings command-line argument or the SIMPLE_SETTINGS environment variable, and the package handles the rest.\n\nThe package supports multiple configuration file formats\u2014Python modules, YAML, JSON, TOML, and CFG files\u2014and can load settings from environment variables as well. It includes features like runtime configuration changes via the configure() method, loading multiple settings modules in sequence (with later ones overriding earlier values), and optional logging configuration. Special settings like OVERRIDE_BY_ENV and REQUIRED_SETTINGS let you control how settings are loaded and validated.","worth_installing":"Yes, for stable projects with straightforward configuration needs and no requirement for active maintenance. The package is mature, has no dependencies, and works reliably for its intended purpose. However, avoid it if you need ongoing support for new Python versions, active bug fixes, or integration with modern configuration patterns\u2014the dormant status since 2021 means new issues are unlikely to be addressed."},"id":"simple-settings","links":{"html":"https://skillfed.io/packages/simple-settings","md":"https://skillfed.io/packages/simple-settings.md","pypi":"https://pypi.org/project/simple-settings/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2021-12-30","license_spdx":null,"license_treatment":"permissive","name":"simple-settings","python_support":"supports_current","summary":"A simple way to manage your project settings."},"popularity":{"monthly_downloads":262440,"position":8374,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.0"}
