API Reference

matrix_rain

Project Name - A brief description of your project.

matrix_rain.config

Configuration management for the project.

class matrix_rain.config.Config(debug: bool = <factory>, log_level: str = <factory>, data_dir: str | None = <factory>)[source]

Application configuration.

debug

Enable debug mode

Type:

bool

log_level

Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)

Type:

str

data_dir

Directory for data files

Type:

str | None

data_dir: str | None
debug: bool
log_level: str
set(**kwargs)[source]

Update configuration values.

Parameters:

**kwargs – Configuration key-value pairs to update

Example

>>> config.set(debug=True, log_level="DEBUG")