python class for repo