Python-based singleton configuration