Metadata-Version: 2.1
Name: embody
Version: 0.1.5
Summary: Generate templated objects
Home-page: https://github.com/i2mint/embody
Author: Thor Whalen
License: apache-2.0
Platform: any
Description-Content-Type: text/markdown
License-File: LICENSE

# embody

Generate templated objects

[Documentation](https://i2mint.github.io/embody/)

To install:	```pip install embody```


# Examples

```python
>>> from embody.templater import Templater
>>> # the following template has templated dicts, strings, and lists
>>> template = {
...     'hello': '{name}',
...     'how are you': ['{verb}', 2, '{name} and {verb} again']
... }
>>> g = Templater.template_func(template=template)
>>> g(name='NAME', verb="VERB")
{'hello': 'NAME', 'how are you': ['VERB', 2, 'NAME and VERB again']}
>>> str(g.__signature__)
'(*, name, verb)'
```
