2 from string import Template
5 """StringTemplater is common resource for templating with strings."""
7 def template_string(self, template, values):
8 """Template String takes in a string and its values and converts it using the string.Template class"""
9 return Template(template).substitute(values)