钉钉开放平台第三方 Python SDK DingTalk SDK for Python

易俊友
2023-12-01

前言
dingtalk-sdk 是一个钉钉开放平台的第三方 Python SDK, 实现了 企业内部开发 和 应用服务商(ISV)的 API。

功能特性

  1. 企业内部开发接入api

  2. 应用服务商(ISV)接入api

安装

目前 dingtalk-sdk 支持的 Python 环境有 2.7, 3.4, 3.5, 3.6 和 pypy。

dingtalk-sdk 消息加解密同时兼容 cryptography 和 PyCrypto, 优先使用 cryptography 库。 可先自行安装 cryptography 或者 PyCrypto 库:

# 安装 cryptography
pip install cryptography>=0.8.2
# 或者安装 PyCrypto
pip install pycrypto>=2.6.1

为了简化安装过程,推荐使用 pip 进行安装

pip install dingtalk-sdk
# with cryptography
pip install dingtalk-sdk[cryptography]
# with pycrypto
pip install dingtalk-sdk[pycrypto]

升级 dingtalk-sdk 到新版本:

pip install -U dingtalk-sdk

小编推荐一个学python的学习qun 740322234
无论你是大牛还是小白,是想转行还是想入行都可以来了解一起进步一起学习!裙内有开发工具,很多干货和技术资料分享!

 类似资料: