semvec/pypi-packages huggingface dataset:
PyDingTalk 0.1.2
This is a msg-robot for DingTalk.
License: MIT
Requires Python: >=3.7
Keywords: dingding,dingtalk,api,bot,robot

# PyDingTalk
[![GitHub issues](https://img.shields.io/github/issues/liukecode/pydingtalk)](https://github.com/liukecode/pydingtalk/issues)
[![GitHub forks](https://img.shields.io/github/forks/liukecode/pydingtalk)](https://github.com/liukecode/pydingtalk/network)
[![GitHub stars](https://img.shields.io/github/stars/liukecode/pydingtalk)](https://github.com/liukecode/pydingtalk/stargazers)
[![GitHub license](https://img.shields.io/github/license/liukecode/pydingtalk)](https://github.com/liukecode/pydingtalk/blob/main/LICENSE)
[![contributors](https://img.shields.io/github/contributors/liukecode/pydingtalk)](https://github.com/liukecode/pydingtalk/graphs/contributors)
[![PyPI](https://img.shields.io/pypi/v/pydingtalk)](https://pypi.org/project/pydingtalk/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pydingtalk)](https://pypi.org/project/pydingtalk/)
[![Downloads](https://pepy.tech/badge/pydingtalk/month)](https://pepy.tech/project/pydingtalk)

This is a msg-robot for [DingTalk](https://open.dingtalk.com/document/robots/custom-robot-access)

## Install
```
python -m pip install pydingtalk
```
## Getting Started
send text msg
```
import pydingtalk

token = "c30*****71"
key = "SEC*****"
bot = pydingtalk.Bot(token, key)
data = {"msgtype": "text","text": {"content":"LiuKeTest"}}
bot.bot_send(data)

# @ user
# data = {"at": {"atMobiles": ["18xxx", "13xxx"]}, "msgtype": "text","text""": {"content":"LiuKeTest"}}
# @ all user
# data = {"at": {"isAtAll": True}, "msgtype": "text","text""": {"content":"LiuKeTest"}}
bot.send_msg(msg, 'chat_id'))
```
send link
```
data = {"msgtype": "link", "link": {"text":"LiuKeTest", "title": "Test", "picUrl": "https://xxx", "messageUrl": "https://xxx"}}
```

send link
```
data = {"msgtype": "markdown", "markdown": {"title": "LiuKeTest", "text": "### LiuKeTest @138XXXXXXXX \n > [pydingtalk](https://pypi.org/project/pydingtalk)"}}
```
More message types, please visit [DingTalk](https://open.dingtalk.com/document/robots/custom-robot-access).

## Features
- Supports all types message 


## Contributing

Contributions are welcome.<br/>
If you've found a bug within this project, please open an issue to discuss what you would like to change.<br/>
If it's an issue with the API, please report any new issues at [pydingtalk issues](https://github.com/liukecode/pydingtalk)
qywechat 0.1.2
This is a msg-robot for qywechat.
License: MIT
Requires Python: >=3.7
Keywords: wechat,qywechat,weixin,qyweixin,wecom,api,bot,robot

# QyWechat
[![GitHub issues](https://img.shields.io/github/issues/liukecode/qywechat)](https://github.com/liukecode/qywechat/issues)
[![GitHub forks](https://img.shields.io/github/forks/liukecode/qywechat)](https://github.com/liukecode/qywechat/network)
[![GitHub stars](https://img.shields.io/github/stars/liukecode/qywechat)](https://github.com/liukecode/qywechat/stargazers)
[![GitHub license](https://img.shields.io/github/license/liukecode/qywechat)](https://github.com/liukecode/qywechat/blob/main/LICENSE)
[![contributors](https://img.shields.io/github/contributors/liukecode/qywechat)](https://github.com/liukecode/qywechat/graphs/contributors)
[![PyPI](https://img.shields.io/pypi/v/qywechat)](https://pypi.org/project/qywechat/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qywechat)](https://pypi.org/project/qywechat/)
[![Downloads](https://pepy.tech/badge/qywechat/month)](https://pepy.tech/project/qywechat)

This is a msg-robot for [qywechat](https://developer.work.weixin.qq.com/document/path/91770)

## Install
```
python -m pip install qywechat
```
## Getting Started
send text msg
```
import qywechat
key = "b8cxxx"
bot = qywechat.Bot(key)
data = {
    	"msgtype": "text",
    	"text": {
        	"content": "hello world"
    	}
   }
# @ user, all user
# data = {
#    "msgtype": "text",
#    "text": {
#        "content": "LiuKeTest Msg",
#		"mentioned_list":["liuke","@all"],
#		"mentioned_mobile_list":["13800001111","@all"]
#    }
#}
bot.send_msg(data)
```

send markdown msg
```
data = {
    "msgtype": "markdown",
    "markdown": {
        "content": "实时新增用户反馈<font color=\"warning\">132例</font>，请相关同事注意。\n
         >类型:<font color=\"comment\">用户反馈</font>
         >普通用户反馈:<font color=\"comment\">117例</font>
         >VIP用户反馈:<font color=\"comment\">15例</font>"
    }
}
```

send image
```
bot.img_msg("path/test.jpg")
```
send file
```
media_id = bot.upload_file("path/liuke.zip")
data = {
    "msgtype": "file",
    "file": {
 		"media_id": media_id
    }
}
bot.send_msg(data)
```

send image & text msg
```
data = {
    "msgtype": "news",
    "news": {
       "articles" : [
           {
               "title" : "LiuKeTest",
               "description" : "qywechat",
               "url" : "https://xxx",
               "picurl" : "http://xxx.png"
           }
        ]
    }
}
bot.send_msg(data)
```

## Features
- Support all types message
- Support send image
- Support upload file


## Contributing

Contributions are welcome.<br/>
If you've found a bug within this project, please open an issue to discuss what you would like to change.<br/>
If it's an issue with the API, please report any new issues at [qywechat issues](https://github.com/liukecode/qywechat)
PyFeishu 0.2.3
This is a msg-robot for FeiShu.
License: MIT
Requires Python: >=3.7
Keywords: feishu,api,bot,robot,sdk

# PyFeishu
[![GitHub issues](https://img.shields.io/github/issues/liukecode/pyfeishu)](https://github.com/liukecode/pyfeishu/issues)
[![GitHub forks](https://img.shields.io/github/forks/liukecode/pyfeishu)](https://github.com/liukecode/pyfeishu/network)
[![GitHub stars](https://img.shields.io/github/stars/liukecode/pyfeishu)](https://github.com/liukecode/pyfeishu/stargazers)
[![GitHub license](https://img.shields.io/github/license/liukecode/pyfeishu)](https://github.com/liukecode/pyfeishu/blob/main/LICENSE)
[![contributors](https://img.shields.io/github/contributors/liukecode/pyfeishu)](https://github.com/liukecode/pyfeishu/graphs/contributors)
[![PyPI](https://img.shields.io/pypi/v/pyfeishu)](https://pypi.org/project/pyfeishu/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyfeishu)](https://pypi.org/project/pyfeishu/)
[![Downloads](https://pepy.tech/badge/pyfeishu/month)](https://pepy.tech/project/pyfeishu)

This is a msg-robot for [feishu](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/introduction)

## Install
```
python -m pip install pyfeishu
```
## Getting Started
send text msg
```
import pyfeishu
bot = pyfeishu.FeishuBot(app_id, app_secret)
msg = {"text": "test content"}
# @single user
# msg = {"text": "<at user_id='ou_xxx'>LiuKe</at>  \ntest content"}
# @all user
# msg = {"text": "<at  user_id='all'>所有人</at>  \ntest content"}
bot.send_msg(msg, 'chat_id'))
```

send image msg
```
image_key = bot.upload_image("img_path")
msg = {"image_key": image_key}
bot.send_msg(msg, 'chat_id', 'image')
```

## Features
- Automatically token management
- Get chat id
- Send text msg
- Send	rich text
- Send image  msg


## Contributing

Contributions are welcome.<br/>
If you've found a bug within this project, please open an issue to discuss what you would like to change.<br/>
If it's an issue with the API, please report any new issues at [pyfeishu issues](https://github.com/liukecode/pyfeishu)