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

Uploaded Source

Built Distribution

cc_email_templates-0.1.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cc_email_templates-0.1.1.tar.gz
  • Upload date:
  • Size: 6.4 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.1.1.tar.gz
Algorithm Hash digest
SHA256 55191a3c0c8e21a9becd76239c13e11b1aee4e1f668ff4731e298cbbf773af0b
MD5 2a455f4d636b5f937f4b3232226a863a
BLAKE2b-256 77fc82a298071fb7161bf65f22db174d5fc5711156c0a963e2c808dc1ad72bc9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cc_email_templates-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.0 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de1269d6ff43cff3e6d7524746576f5354d527babb493d25df899d2f43969345
MD5 3c2570df1daedb8eaf441931393605f3
BLAKE2b-256 59376bd0f0c6ea4450ccb05d274f7e52379c7eff30d11d28c170f40f175d54d9

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