Skip to main content

DingDing Helper.

Project description

dingding-helper

Usage

pip install dingdinghelper

Example

from dingdinghelper import DingDingHelper

if __name__ == "__main__":
  ding = DingDingHelper()
  ding.username = '13712345678'
  ding.password = 'xxxpassword'
  ding.corpid = '...'
  ding.corpsecret = '...'
  ding.msgurl = 'https://oapi.dingtalk.com/robot/send?access_token=...'
  ding.send_msg('DingDingHelper Test')
  ding.cookie = '...'
  ding.upload_file("E:/xxx.zip", 483476421, '/xxx/')

Publish to PyPI

pip install --user --upgrade setuptools wheel twine
python setup.py sdist bdist_wheel
python -m twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dingdinghelper-0.0.5.tar.gz (24.4 kB view hashes)

Uploaded Source

Built Distribution

dingdinghelper-0.0.5-py3-none-any.whl (35.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page