# push-tools
A repository for message push (๑•̀ㅂ•́)و✧
## usage
```python
from push_tools import pushplus
p = pushplus("069ac...")
p.send("hello world.", title="test")
```
```python
from push_tools import qmsg
q = qmsg("5004...")
q.send("hello world.")
```
```python
from push_tools import server
s = server("SCT8...")
s.send("###title\nhello world.", title="title")
```
```python
from push_tools import workWechat
w = workWechat({
"corpSecret": "slFn...",
"corpid": "ww9f...",
})
w.send("###title3\nhello world.", msgtype="markdown")
```
```python
from push_tools import workWechatRobot
robot = workWechatRobot("ea3f7ac4..")
robot.send("###title3\nhello world.", msgtype="markdown")
```
```python
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")
```
```python
from push import push_creator
p = push_creator("qmsg", "2130...")
p.send("hello world")
```
Raw data
{
"_id": null,
"home_page": "https://github.com/arcturus-script/push-tools",
"name": "push-tools",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "qmsg, pushplus, server, wechat",
"author": "ARCTURUS",
"author_email": "ice99125@qq.com",
"download_url": "https://files.pythonhosted.org/packages/26/30/db41c28ab4fb21aea93c242486e0a4be9ca4e36df9fe6231a040f3c1a32e/push_tools-0.0.1.tar.gz",
"platform": "any",
"description": "# push-tools\r\n\r\nA repository for message push (\u0e51\u2022\u0300\u3142\u2022\u0301)\u0648\u2727\r\n\r\n## usage\r\n\r\n```python\r\nfrom push_tools import pushplus\r\n\r\np = pushplus(\"069ac...\")\r\np.send(\"hello world.\", title=\"test\")\r\n```\r\n\r\n```python\r\nfrom push_tools import qmsg\r\n\r\nq = qmsg(\"5004...\")\r\nq.send(\"hello world.\")\r\n```\r\n\r\n```python\r\nfrom push_tools import server\r\n\r\ns = server(\"SCT8...\")\r\ns.send(\"###title\\nhello world.\", title=\"title\")\r\n```\r\n\r\n```python\r\nfrom push_tools import workWechat\r\n\r\nw = workWechat({\r\n \"corpSecret\": \"slFn...\",\r\n \"corpid\": \"ww9f...\",\r\n})\r\n\r\nw.send(\"###title3\\nhello world.\", msgtype=\"markdown\")\r\n```\r\n\r\n```python\r\nfrom push_tools import workWechatRobot\r\n\r\nrobot = workWechatRobot(\"ea3f7ac4..\")\r\nrobot.send(\"###title3\\nhello world.\", msgtype=\"markdown\")\r\n```\r\n\r\n```python\r\nfrom push import push_composite, pushplus, qmsg\r\n\r\np = PushComposite()\r\np.add(\"pushplus\", pushplus(\"069ac...\"))\r\np.add(\"qmsg\", qmsg(\"5004...\"))\r\n\r\np.send(\"title\\nhello world.\", title=\"title\")\r\n```\r\n\r\n```python\r\nfrom push import push_creator\r\n\r\np = push_creator(\"qmsg\", \"2130...\")\r\np.send(\"hello world\")\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT Licence",
"summary": "A tool supports push message.",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/arcturus-script/push-tools"
},
"split_keywords": [
"qmsg",
" pushplus",
" server",
" wechat"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2630db41c28ab4fb21aea93c242486e0a4be9ca4e36df9fe6231a040f3c1a32e",
"md5": "bd5d077ea9c0ae99e4bf13b0010ae3ff",
"sha256": "7f85705ba9317b5c52b78074745f878a1553b01a021bbffd45f986851a75d85c"
},
"downloads": -1,
"filename": "push_tools-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "bd5d077ea9c0ae99e4bf13b0010ae3ff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4561,
"upload_time": "2024-10-04T05:26:50",
"upload_time_iso_8601": "2024-10-04T05:26:50.090083Z",
"url": "https://files.pythonhosted.org/packages/26/30/db41c28ab4fb21aea93c242486e0a4be9ca4e36df9fe6231a040f3c1a32e/push_tools-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-04 05:26:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "arcturus-script",
"github_project": "push-tools",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "push-tools"
}