sabbath_school_reproducer.bin package
Submodules
sabbath_school_reproducer.bin.generate_config module
Configuration Template Generator
This script generates a template YAML configuration file and color theme.
Usage: python3 generate_config.py [output_file]
- sabbath_school_reproducer.bin.generate_config.generate_default_theme(theme_directory='themes')[source]
Generate a default burgundy color theme and save it to the themes directory
- Parameters:
theme_directory (str) – Directory to save the theme file
- Returns:
Path to the generated theme file
- Return type:
str
- sabbath_school_reproducer.bin.generate_config.generate_language_template(language_code='en', output_directory='languages')[source]
Generate a language configuration template file for the specified language
- Parameters:
language_code (str) – Language code (e.g., ‘en’, ‘swa’, ‘luo’)
output_directory (str) – Directory to save the language file
- Returns:
Path to the generated language file
- Return type:
str
- sabbath_school_reproducer.bin.generate_config.generate_template_config(output_path='config.yaml')[source]
Generate a template configuration file with default values
- Parameters:
output_path (str) – Path to save the configuration file
- Returns:
Path to the generated configuration file
- Return type:
str