Python classes repositories