tmtool
Project description
tm-pip-tools
工具集合
安装(Python 版本>=3.8.0)
pip install --upgrade tmtoolP
使用
发送邮件
from tmtool.tools import Tool
tool = Tool()
tool.mail_from_user_host = '发件地址host'
tool.mail_from_user = '发件人邮箱号'
tool.mail_from_user_pwd = '发件人密码'
tool.send_mail_msg(to_user='收件人邮箱地址(这里是列表,可填写多个)', title='邮件标题', content='邮件内容')
企业微信通知
tool.qy_wechat_token = '企业微信机器人token'
tool.send_qy_wechat_msg('消息内容')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tmtoolP-0.0.4.tar.gz
(5.1 kB
view hashes)