Python and "the SOLID principles"