DingTalk2 介绍
钉钉支持 Webhook 模式接入事件推送、机器人收消息以及卡片回调等
- 开源协议: MIT license
- 使用文档: https://dingtalk2.readthedocs.io.
快速开始
准备工作
- Python3 开发环境,https://www.python.org/
- 钉钉机器人的 token
快速开始指南
1、安装 dingtalk2
python -m pip install dingtalk2
2、使用 dingtalk2
from dingtalk2 import dingtalk
access = '6eab6a1161ea33c2693aae53fe92c298469f685aed8261ffdfd15d2bcfcxxxxxxx'
secret = 'SEC0ed50da84fca5e37491b032a660dcfd2fd6aef8e2dcb74caa39ddxxxxxxxxxx'
client = dingtalk.DingTalk(access=access, secret=secret)
client.text("hello")
client.image(pic_url='http://uc-test-manage-00.umlife.net/jenkins/pic/flake8.png')
技术支持
可以搜索共创群,答疑交流。
共创群ID:xxx (钉钉搜索群号入群);
也可以扫码入群:
Metadata
Release files for dingtalk2 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dingtalk2-0.1.2.tar.gz | 8.9 kB | Without provenance | Details for dingtalk2-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dingtalk2-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for dingtalk2-0.1.2-py3-none-any.whl |
Total release size: 18.6 kB
Release files / dingtalk2-0.1.2.tar.gz
| Download URL | dingtalk2-0.1.2.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36c842ff88cd1f468785a6945fd89776dcd51dac14e9b1fcc3d2570ec31d112a
|
|
BLAKE2b-256 checksum How to use checksums |
4e184a18e439522988c0b7ee7eda56cc900d5de0c40be57c9d17420703ab3fe1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.9.16 Linux/5.10.0-19-amd64
|
Release files / dingtalk2-0.1.2-py3-none-any.whl
| Download URL | dingtalk2-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b51483223163be8ca21b7b52621d05fb487e1fa16961c077ab27f5a1b06e1c76
|
|
BLAKE2b-256 checksum How to use checksums |
f7d131c3a43cfa5d32d433674060aa310f9214c1f97b913b6edaaae7f061fb60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.9.16 Linux/5.10.0-19-amd64
|
Security for dingtalk2 0.1.2
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.