This is a package for sending messages to enterprise WeChat applications in zabbix
Project description
This is a package for sending messages to enterprise WeChat applications in zabbix. You can use Github
View at:
https://pypi.org/project/ZabbixQywechat/1.1.1/
Python 2
pip install ZabbixQywechat
Python 3
pip3 install ZabbixQywechat
Demo test
vim test.py
from ZabbixQywechat import Qywechat
import sys
Agentid="1000002"
Corpid="1111"
Corpsecret="2222"
PATH="/tmp/test.json"
if __name__ == '__main__':
Touser=sys.argv[1]
Subject=str(sys.argv[2])
Content=str(sys.argv[3])
Result=Qywechat(Agentid,Corpid,Corpsecret,PATH)
Result.SendMSGtoWechat(Touser,Subject,Content)
python test.py WechatAccount title content
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
Built Distributions
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 ZabbixQywechat-1.1.1.tar.gz.
File metadata
- Download URL: ZabbixQywechat-1.1.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05be0ffdade7ad2d8e88ddd0959e47ece9be70ae66a1ee091097a7b578d22f02
|
|
| MD5 |
04a55f26b3d64f12b875eda0e32215fc
|
|
| BLAKE2b-256 |
b8a087e392d7ff7a2f3682bfa8365781322d1a460f6974764d92e76bc5145c74
|
File details
Details for the file ZabbixQywechat-1.1.1-py3-none-any.whl.
File metadata
- Download URL: ZabbixQywechat-1.1.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
722ec797ba40f3cdcf903e8f91d088c5c56b3c9bae15818dcb449af146d23aa2
|
|
| MD5 |
057d9c0d9d46970e1c84a865c65c7ece
|
|
| BLAKE2b-256 |
a87051feadd4a36bf62c06d9a66445e10e2e6b8f1a254b198ea9aec2707ac13c
|
File details
Details for the file ZabbixQywechat-1.1.1-py2-none-any.whl.
File metadata
- Download URL: ZabbixQywechat-1.1.1-py2-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66071a344671679e1f01ba5797dc84fbde822063d4349b86215ff46be131fecc
|
|
| MD5 |
e0b7d19639b69224fc440539307b8bb0
|
|
| BLAKE2b-256 |
ea9db6c078de26c997890d732ae0292e6c3baea3245bab5e76b9f0bf6bdfa59f
|