example of using python-dulwich