Metadata-Version: 2.1
Name: zly-resource-module
Version: 1.0.2
Summary: DingTalk SDK for Python
Home-page: UNKNOWN
License: MIT
Keywords: dingding,ding,dtalk,dingtalk,SDK
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Requires-Dist: six (>=1.8.0)
Requires-Dist: requests (>=2.4.3)
Requires-Dist: optionaldict (>=0.1.0)
Requires-Dist: flake8 (>=3.4.1)
Requires-Dist: Flask (>=1.1.1)
Requires-Dist: Flask-Bootstrap (>=3.3.7.1)
Requires-Dist: Flask-Caching (>=1.8.0)
Requires-Dist: Flask-Cors (>=3.0.8)
Requires-Dist: Flask-Login (>=0.5.0)
Requires-Dist: Flask-Mail (>=0.9.1)
Requires-Dist: Flask-Migrate (>=2.5.2)
Requires-Dist: Flask-Moment (>=0.9.0)
Requires-Dist: Flask-PageDown (>=0.2.2)
Requires-Dist: flask-redis (>=0.4.0)
Requires-Dist: Flask-RESTful (>=0.3.7)
Requires-Dist: Flask-Script (>=2.0.6)
Requires-Dist: Flask-Session (>=0.3.1)
Requires-Dist: Flask-SQLAlchemy (>=2.4.1)
Requires-Dist: Flask-SSLify (>=0.1.5)
Requires-Dist: enum34 (>=1.1.4) ; python_version < "3.4"

#######################
DingTalk Sdk for Python
#######################
.. image:: https://travis-ci.org/007gzs/dingtalk-sdk.svg?branch=master
       :target: https://travis-ci.org/007gzs/dingtalk-sdk
.. image:: https://img.shields.io/pypi/v/dingtalk-sdk.svg
       :target: https://pypi.org/project/dingtalk-sdk

钉钉开放平台第三方 Python SDK。
`【阅读文档】 <http://dingtalk-sdk.readthedocs.io/zh_CN/latest/>`_。

********
功能特性
********
+ 企业内部开发接入api
+ 应用服务商（ISV）接入api

********
安装
********

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

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

#cryptography python的一个加密方法

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

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

.. code-block:: bash

    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


