这是一个为Mandrill电子邮件作为服务平台提供的真正维护的CLI客户端和Python API库。
项目描述
Mandrill是Mandrill电子邮件作为平台服务的Python API客户端和基于CLI的工具套件。
API客户端非常全面,但CLI功能目前最少。
示例
import mandrill client = mandrill.Mandrill('YOUR_API_KEY') print client.users.ping()
CLI示例
mandrill setup mandrill ping -c10 mandrill send -f from@example.com -t to@example.com -s "My Subject Line" < content.html
发布
安装额外依赖项;
创建源分发;
上传到PyPI仓库
$ pip install .[releasing] $ bumpversion patch ./VERSION --commit --tag --message 'Releasing {new_version}' $ git push --tags $ python setup.py sdist $ twine upload dist/*
项目详情
下载文件
下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。
源分发
mandrill-really-maintained-1.2.4.tar.gz (27.2 kB 查看哈希)