templates: Create a completion script for templates.py