Skip to main content

A set of email templates used by Conflict Cartographer

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cc_email_templates-0.2.1.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

cc_email_templates-0.2.1-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page