def betcity_dir(): return cf.getval("dirs", "betcity")
def analysis_data_dir(): return cf.getval("dirs", "analysis_data")
def flashscore_dir(): return cf.getval("dirs", "flashscore")
def oncourt_sql_dir(): return cf.getval("dirs", "oncourt_sql")
def interrupt_dir(): return cf.getval("dirs", "interrupt")
def oncourt_players_dir(): return cf.getval("dirs", "oncourt_players")
def ratings_dir(): return cf.getval("dirs", "ratings")
def stat_misc_dir(sex): return cf.getval("dirs", sex + "_stat_misc")
def bin_dir(): return cf.getval("dirs", "bin")
def unit_test_data_dir(): return cf.getval("dirs", "unit_test_data")
def log_dir(): return cf.getval("dirs", "log")
def stat_tours_root_dir(sex): return cf.getval("dirs", sex + "_stat_tours")
def stat_players_dir(sex): return cf.getval("dirs", sex + "_stat_players")
def tour_name_map_to_oncourt(sex: str, tourname: str): section = "{}-tours-map-to-oncourt".format(sex) if cf.has_section(section) and cf.has_option(section, tourname): return cf.getval(section, tourname) return tourname