Metadata-Version: 2.1
Name: cc-email-templates
Version: 0.2.1
Summary: A set of email templates used by Conflict Cartographer
Home-page: https://www.github.com/prio-data/cc_email_templates
Author: peder2911
Author-email: pglandsverk@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Jinja2 (>=3.0.3,<4.0.0)
Requires-Dist: css-inline (>=0.8.1,<0.9.0)
Description-Content-Type: text/markdown


# Conflict Cartographer Email Templates

This package contains email templates packages as Jinja2 templates, exposed via
a set of functions.

## Installation

```
pip install cc-email-templates
```

## Usage

```
import cc_email_templates 

email_txt, email_html = cc_email_templates.call_to_action_email(
      title = "My call to action",
      content_above = "Please click my link",
      action_button_text = "Link",
      action_link = "http://www.example.com"
   )

send_email(..., html_content = email_html, content = email_txt)
```

## Credits

Base template was "forked" and adapted from [this repo](https://github.com/leemunroe/responsive-html-email-template)

