|
UniNews
University news from Greek and international universities in one place
|
Namespaces | |
| namespace | uninews |
| namespace | uninews.config |
Functions | |
| Path | uninews.config.xdg_dir (str variable, str default) |
| dict | uninews.config.load_settings () |
| None | uninews.config.save_settings (dict settings) |
| str | uninews.config.load_unios_university () |
| str | uninews.config.home_university (dict settings) |
| int | uninews.config.refresh_interval_ms (dict settings) |
Variables | |
| str | uninews.config.APP_NAME = "uninews" |
| uninews.config.PACKAGE_DIR = Path(__file__).resolve().parent | |
| str | uninews.config.PUBLISHERS_DIR = PACKAGE_DIR / "resources" / "publishers" |
| str | uninews.config.ICON_FILE = PACKAGE_DIR / "resources" / "icons" / "uninews.png" |
| Path | uninews.config.CONFIG_DIR = xdg_dir("XDG_CONFIG_HOME", ".config") |
| Path | uninews.config.DATA_DIR = xdg_dir("XDG_DATA_HOME", ".local/share") |
| Path | uninews.config.CACHE_DIR = xdg_dir("XDG_CACHE_HOME", ".cache") |
| Path | uninews.config.SETTINGS_FILE = CONFIG_DIR / "settings.json" |
| Path | uninews.config.DATABASE_FILE = DATA_DIR / "uninews.db" |
| str | uninews.config.ACADEMIC_CONFIG_FILE = Path.home() / ".unios" / "academicConfig.json" |
| dict | uninews.config.DEFAULT_SETTINGS |
| str | uninews.config.HOME_UNIVERSITY_ALL = "all" |
| int | uninews.config.MIN_REFRESH_INTERVAL_MINUTES = 15 |