17 Star 46 Fork 11

007 / dingtalk-sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.rst 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
007 提交于 2018-06-12 17:19 . fix README.rst

DingTalk Sdk for Python

https://travis-ci.org/007gzs/dingtalk-sdk.svg?branch=master

钉钉开放平台第三方 Python SDK。 【阅读文档】

功能特性

  • 企业内部开发接入api
  • 应用服务商(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

使用示例

django 示例 https://github.com/007gzs/dingtalk-django-example

Python
1
https://gitee.com/007gzs/dingtalk-sdk.git
git@gitee.com:007gzs/dingtalk-sdk.git
007gzs
dingtalk-sdk
dingtalk-sdk
master

搜索帮助