Configuration
Configure Epochly behavior through environment variables, API, or config files.
Configuration Hierarchy
- Environment variables (highest priority)
- Runtime API
- Configuration files
- Defaults (lowest priority)
Environment Variables
| Variable | Description | Default |
|---|---|---|
EPOCHLY_LEVEL | Enhancement level (0-4) | auto |
EPOCHLY_WORKERS | Number of workers | auto |
EPOCHLY_MODE | Operation mode | balanced |
EPOCHLY_DISABLE | Disable Epochly | false |
EPOCHLY_LOG_LEVEL | Log verbosity | WARNING |
Runtime API
import epochlyepochly.configure(enhancement_level=2,workers=4,monitor_performance=True)
Configuration File
Create epochly.toml in your project:
[epochly]level = 2workers = "auto"mode = "balanced"[epochly.logging]level = "INFO"
Emergency Disable
export EPOCHLY_EMERGENCY_DISABLE=1
Or via API:
epochly.emergency_disable()