python sdk for work wechat robots
Project description
介绍
作用:向企业微信群机器人发送信息
使用方式:
- 新建
.env,写入企业微信 webhook key,例如:WEBHOOK_KEY = "asdf123456"
- 发送信息
from dotenv import load_dotenv load_dotenv() import os key = os.getenv("WEBHOOK_KEY") from qywx_bot.bot import Bot bot = Bot(key="...") bot.send_text(content="hello world")
环境
pip install requests
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
qywx_bot-1.3.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qywx_bot-1.3.tar.gz.
File metadata
- Download URL: qywx_bot-1.3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0352a631e34d379d2d3f223e0e6c383c9da6bc18552e1acbde74fb8c52176a87
|
|
| MD5 |
04c6c1a866eb6f16320e86dffaee3e2e
|
|
| BLAKE2b-256 |
f8df6970748d9f332abc9bd696fe475bd14c8454f882d8c26b7b088202d4d271
|
File details
Details for the file qywx_bot-1.3-py3-none-any.whl.
File metadata
- Download URL: qywx_bot-1.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86ac3e1c13a2187855209d663c4cd52cfe45d842eefb6ae2f8c00dddb8f5dd70
|
|
| MD5 |
2bb43d83ac873b974e5fafde893e8ff6
|
|
| BLAKE2b-256 |
d8d3eb4bd81a84e41017c01142764e8c9a0f7ba041ac60b637f05750aa4eb576
|