Skip to main content

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

Release files for ZabbixQywechat 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ZabbixQywechat 1.1.1
File Size Uploaded
ZabbixQywechat-1.1.1.tar.gz 2.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for ZabbixQywechat 1.1.1
File Interpreter ABI Platform
ZabbixQywechat-1.1.1-py3-none-any.whl Python 3 none any Details
ZabbixQywechat-1.1.1-py2-none-any.whl Python 2 none any Details

Total release size: 9.2 kB

Release files / ZabbixQywechat-1.1.1.tar.gz

Download URL ZabbixQywechat-1.1.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
05be0ffdade7ad2d8e88ddd0959e47ece9be70ae66a1ee091097a7b578d22f02
BLAKE2b-256 checksum
How to use checksums
b8a087e392d7ff7a2f3682bfa8365781322d1a460f6974764d92e76bc5145c74
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ZabbixQywechat-1.1.1-py3-none-any.whl

Download URL ZabbixQywechat-1.1.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
722ec797ba40f3cdcf903e8f91d088c5c56b3c9bae15818dcb449af146d23aa2
BLAKE2b-256 checksum
How to use checksums
a87051feadd4a36bf62c06d9a66445e10e2e6b8f1a254b198ea9aec2707ac13c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ZabbixQywechat-1.1.1-py2-none-any.whl

Download URL ZabbixQywechat-1.1.1-py2-none-any.whl
Size 3.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
66071a344671679e1f01ba5797dc84fbde822063d4349b86215ff46be131fecc
BLAKE2b-256 checksum
How to use checksums
ea9db6c078de26c997890d732ae0292e6c3baea3245bab5e76b9f0bf6bdfa59f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.1.1 This release

3 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

1 release file

1.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page