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 details)
File details
Details for the file push_tools-0.0.1.tar.gz.
File metadata
- Download URL: push_tools-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f85705ba9317b5c52b78074745f878a1553b01a021bbffd45f986851a75d85c
|
|
| MD5 |
bd5d077ea9c0ae99e4bf13b0010ae3ff
|
|
| BLAKE2b-256 |
2630db41c28ab4fb21aea93c242486e0a4be9ca4e36df9fe6231a040f3c1a32e
|