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.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

cc_email_templates-0.2.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file cc_email_templates-0.2.0.tar.gz.

File metadata

  • Download URL: cc_email_templates-0.2.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for cc_email_templates-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c7af991350c127df56f8cbf3a9b157d61fda065c4f3c588f23e4b272d92630ae
MD5 6a1806007c556f3d1d9842a97fb6f8d9
BLAKE2b-256 28ddf648e46142f89209475af1c8b30464259327a2c0bb579d9beca5a24532ab

See more details on using hashes here.

File details

Details for the file cc_email_templates-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cc_email_templates-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for cc_email_templates-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f804ce89f0a32622bb025066f3df63a43b07c7f398661e7e6c820cb128b6dec
MD5 cb945bff3fd13548a90ff14471daa340
BLAKE2b-256 b468b9d2e4109858010b9d4b6b76ab04084736d89a5a2ea1e5a12f31ad744af7

See more details on using hashes here.

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