Metadata-Version: 2.4
Name: rkt_config_lib
Version: 2.0.3
Summary: RootKit custom PyYaml Lib
Author-email: RootKit <rootkit@rootkit-lab.org>
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: PyYaml>=6.0.1
Requires-Dist: rkt_tool_lib
Requires-Dist: rkt_logger_lib

# rkt_config_lib

Centralized Configuration Management wrapper around PyYaml.

## Features
- **Singleton Pattern**: Ensures a single configuration state across your application.
- **Auto-Loading**: Automatically scans and loads all YAML files in a `config/` directory.
- **Safe Loading**: Uses `yaml.safe_load` by default to prevent arbitrary code execution vulnerabilities.
- **Integrated Logging**: Logs loading operations via `rkt_logger_lib`.

## Usage

```python
from config import Config

conf = Config()
# Loads all .yml/.yaml files from ./config/ directory
conf.get_data()

# Access data (filename becomes the key)
my_settings = conf.data.get("settings")
```
