luplo.config¶
Configuration loading from .luplo file, env vars, and CLI flags.
Priority (highest wins): CLI flag → env var → .luplo file → defaults.
Attributes¶
Classes¶
Resolved configuration from all sources. |
Functions¶
|
Walk up from cwd looking for a |
|
Load configuration with priority: env var → |
|
Write a |
Module Contents¶
- luplo.config.CONFIG_FILENAME = '.luplo'¶
- luplo.config.DEFAULT_DB_URL = 'postgresql://localhost/luplo'¶
- luplo.config.DEFAULT_RESEARCH_TTL_DAYS = 90¶
- class luplo.config.LuploConfig¶
Resolved configuration from all sources.
- luplo.config.find_config_file() pathlib.Path | None¶
Walk up from cwd looking for a
.luplofile.
- luplo.config.load_config() LuploConfig¶
Load configuration with priority: env var →
.luplofile → defaults.CLI flags override at call time (not handled here).