Skip to main content

Wechat_msg

企业微信发送消息接口,Python

from wechat_msg.WeChat import Authorize, Send, Upload

corpid = ''
corpsecret = ''
agentid = ''

a = Authorize(corpid, corpsecret)
token = a.get_token()

s = Send(agentid, token)
s.send_msg("TEST", name="username")
s.send_img("img_path", name="username")

Metadata

Release files for wechat-msg 0.5

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

Source distribution (sdist)

Source distribution for wechat-msg 0.5
File Size Uploaded Provenance Actions
wechat_msg-0.5.tar.gz 3.1 kB Without provenance Details for wechat_msg-0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wechat-msg 0.5
File Interpreter ABI Platform Actions
wechat_msg-0.5-py3-none-any.whl Python 3 none any Details for wechat_msg-0.5-py3-none-any.whl

Total release size: 7.5 kB

Release files / wechat_msg-0.5.tar.gz

Download URL wechat_msg-0.5.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
98e14527279f59075a80381973dfd7cdd2bb6bf9ef3c0eb4af1bd4109be5639b
BLAKE2b-256 checksum
How to use checksums
5dcba0b403cdd232b8deb83ca653cef95b3a0ad255ffbeedd36d9fdc5c2cb665
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / wechat_msg-0.5-py3-none-any.whl

Download URL wechat_msg-0.5-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf14dd76c82858c2df7657b46c1c8938873a491f1d356f909e0012b4be408b4a
BLAKE2b-256 checksum
How to use checksums
61900615af9c2c0884f0b09f608a2919ee97ec9e352019bb1815a3346eac27bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for wechat-msg 0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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