Automated push/pull to Private Registry

I want to push or pull a docker image from one private registry to another. However this process should run automatically in the background. I’ve already heard about Docker SDK for Python. Since i am new to Docker i was wondering what would be the most efficient way to achieve this?