Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page