wxgbot
用于发送企业微信机器人消息,如文本、图片、文件 是对微信机器人的简单封装,其他可参考腾讯企业微信官网说明 https://work.weixin.qq.com/help?person_id=1&doc_id=13376&helpType=undefined
安装
可以直接 pip 安装
pip install wxgbot
举例
from wxgbot.send_msg import *
#test_bot是群机器人的key
test_bot = r"**********************************"
coment = r"牛逼哄哄带闪电!"
#发送文本消息
send_text(text = coment,bot = test_bot) #bot是群机器人的key
#发送其他消息
send_markdown(text,bot) #text是markdown语法的,
send_img(file_path,bot) #file_path是文件路径
send_file(file_path,bot)
Metadata
Release files for wxgbot 3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wxgbot-3.0.tar.gz | 1.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wxgbot-3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.9 kB
Release files / wxgbot-3.0.tar.gz
| Download URL | wxgbot-3.0.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8de15cb54de14f1f7564eed493a6d3399d58288289ea2b7f120a091fb010f80b
|
|
BLAKE2b-256 checksum How to use checksums |
141fbc64dec73cf7caad9ca77cc8f8197927478a007de1f079f3141e93b143da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Release files / wxgbot-3.0-py3-none-any.whl
| Download URL | wxgbot-3.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38803555e7bba00650df104c6aef4dc4064e1bbfe5a82b81bb01d1e2c74d60b1
|
|
BLAKE2b-256 checksum How to use checksums |
1606fbb39bbc6e594816be3d735a6b3950a0808aceec07272180ec5393e23c48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|