cc-email-templates-0.2.1
توضیحات
A set of email templates used by Conflict Cartographer
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cc-email-templates-0.2.1 |
| نام | cc-email-templates |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | peder2911 |
| ایمیل نویسنده | pglandsverk@gmail.com |
| آدرس صفحه اصلی | https://www.github.com/prio-data/cc_email_templates |
| آدرس اینترنتی | https://pypi.org/project/cc-email-templates/ |
| مجوز | - |
# 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)
نیازمندی
| مقدار | نام |
|---|---|
| >=3.0.3,<4.0.0 | Jinja2 |
| >=0.8.1,<0.9.0 | css-inline |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl cc-email-templates-0.2.1:
pip install cc-email-templates-0.2.1.whl
نصب پکیج tar.gz cc-email-templates-0.2.1:
pip install cc-email-templates-0.2.1.tar.gz