The GitHub repo for YDK-Py (https://github.com/CiscoDevNet/ydk-py) comes with a couple of sample apps. There is also a separate sample app repo (https://github.com/CiscoDevNet/ydk-py-samples) that includes a larger number of sample apps. You'll find boilerplates to write your own apps, plus working apps for different data models. Make sure you read:
- The main README file for the repo:
- The README file for the basic apps:
The basic apps would be the best starting point to get started with YDK-Py.