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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cc_email_templates-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 039c23af84ec25da0822301637e79d21d8bb939804f7c330b9a64283defdfcd6
MD5 c7c24fe54c10d1c33e56b7806195cc22
BLAKE2b-256 82edefae37d938d997dff6a085c40fceedbde95b872b12e44b8b00be64907ad5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cc_email_templates-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8fd7c9bf5a3fad13c2f0ebb8f2e00e4bb131de77c47a7fb9608d5f86e241254
MD5 0b18975af5b93702fb2ba37dfa854c62
BLAKE2b-256 9512a227501f13234f9a90bd3dd2b950dd49922f5b93d61655fb91af0fab0978

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