A tool supports push message.
Project description
push-tools
A repository for message push (๑•̀ㅂ•́)و✧
usage
from push_tools import pushplus
p = pushplus("069ac...")
p.send("hello world.", title="test")
from push_tools import qmsg
q = qmsg("5004...")
q.send("hello world.")
from push_tools import server
s = server("SCT8...")
s.send("###title\nhello world.", title="title")
from push_tools import workWechat
w = workWechat({
"corpSecret": "slFn...",
"corpid": "ww9f...",
})
w.send("###title3\nhello world.", msgtype="markdown")
from push_tools import workWechatRobot
robot = workWechatRobot("ea3f7ac4..")
robot.send("###title3\nhello world.", msgtype="markdown")
from push import push_composite, pushplus, qmsg
p = PushComposite()
p.add("pushplus", pushplus("069ac..."))
p.add("qmsg", qmsg("5004..."))
p.send("title\nhello world.", title="title")
from push import push_creator
p = push_creator("qmsg", "2130...")
p.send("hello world")
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
push_tools-0.0.1.tar.gz
(4.6 kB
view hashes)