ca-dingtalk-webhook


Nameca-dingtalk-webhook JSON
Version 0.0.5 PyPI version JSON
download
home_page
Summarydingtalk webhook
upload_time2024-01-09 04:50:02
maintainer
docs_urlNone
authorlloydzhou@gmail.com
requires_python>=3.8
licenseMIT
keywords dingtalk dingding webhook bot
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 企联AI Dev

ConnectAI定位为一个帮助公司更快地建立AI内部工具的平台


## 产品背景

1. 由于各个公司的内部管理流程不同,会有很多无法标准化的长尾AI需求
2. 企业内部技术团队需要将1/3的时间用来开发维护这些内部AI工具
3. 如果能将低代码用于AI内部工具的开发,无疑将极大地提升企业技术团队的效率
4. 既然AI需求是无法标准化的,那么就标准化这些长尾AI需求的开发工具
5. 以低代码的方式提高内部AI工具开发效率


# ca-dingtalk-webhook

1. 生成钉钉(Dingtalk) webhook回调接口
2. 注册处理对应事件的回调方法


## python sdk
```
from connectai.dingtalk.sdk import DingtalkTextMessage
from connectai.dingtalk.webhook import DingtalkServer

app = DingtalkServer()

@app.on_bot_message(app_id='dingxxx', app_secret='xxx', agent_id='xxx', msgtype='text')
def on_text_message(bot, sessionWebhook, content, **kwargs):
    text = content['content']
    bot.reply(sessionWebhook, DingtalkTextMessage("reply: " + text))

app.start(host='0.0.0.0', port=8888)
```



            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ca-dingtalk-webhook",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "Dingtalk,DingDing,Webhook,Bot",
    "author": "lloydzhou@gmail.com",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/3c/de/8d19a602ab703a0da227c17be094de02c38bbfb72d0a23e791cf532af1a2/ca-dingtalk-webhook-0.0.5.tar.gz",
    "platform": null,
    "description": "# \u4f01\u8054AI Dev\n\nConnectAI\u5b9a\u4f4d\u4e3a\u4e00\u4e2a\u5e2e\u52a9\u516c\u53f8\u66f4\u5feb\u5730\u5efa\u7acbAI\u5185\u90e8\u5de5\u5177\u7684\u5e73\u53f0\n\n\n## \u4ea7\u54c1\u80cc\u666f\n\n1. \u7531\u4e8e\u5404\u4e2a\u516c\u53f8\u7684\u5185\u90e8\u7ba1\u7406\u6d41\u7a0b\u4e0d\u540c\uff0c\u4f1a\u6709\u5f88\u591a\u65e0\u6cd5\u6807\u51c6\u5316\u7684\u957f\u5c3eAI\u9700\u6c42\n2. \u4f01\u4e1a\u5185\u90e8\u6280\u672f\u56e2\u961f\u9700\u8981\u5c061/3\u7684\u65f6\u95f4\u7528\u6765\u5f00\u53d1\u7ef4\u62a4\u8fd9\u4e9b\u5185\u90e8AI\u5de5\u5177\n3. \u5982\u679c\u80fd\u5c06\u4f4e\u4ee3\u7801\u7528\u4e8eAI\u5185\u90e8\u5de5\u5177\u7684\u5f00\u53d1\uff0c\u65e0\u7591\u5c06\u6781\u5927\u5730\u63d0\u5347\u4f01\u4e1a\u6280\u672f\u56e2\u961f\u7684\u6548\u7387\n4. \u65e2\u7136AI\u9700\u6c42\u662f\u65e0\u6cd5\u6807\u51c6\u5316\u7684\uff0c\u90a3\u4e48\u5c31\u6807\u51c6\u5316\u8fd9\u4e9b\u957f\u5c3eAI\u9700\u6c42\u7684\u5f00\u53d1\u5de5\u5177\n5. \u4ee5\u4f4e\u4ee3\u7801\u7684\u65b9\u5f0f\u63d0\u9ad8\u5185\u90e8AI\u5de5\u5177\u5f00\u53d1\u6548\u7387\n\n\n# ca-dingtalk-webhook\n\n1. \u751f\u6210\u9489\u9489(Dingtalk) webhook\u56de\u8c03\u63a5\u53e3\n2. \u6ce8\u518c\u5904\u7406\u5bf9\u5e94\u4e8b\u4ef6\u7684\u56de\u8c03\u65b9\u6cd5\n\n\n## python sdk\n```\nfrom connectai.dingtalk.sdk import DingtalkTextMessage\nfrom connectai.dingtalk.webhook import DingtalkServer\n\napp = DingtalkServer()\n\n@app.on_bot_message(app_id='dingxxx', app_secret='xxx', agent_id='xxx', msgtype='text')\ndef on_text_message(bot, sessionWebhook, content, **kwargs):\n    text = content['content']\n    bot.reply(sessionWebhook, DingtalkTextMessage(\"reply: \" + text))\n\napp.start(host='0.0.0.0', port=8888)\n```\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "dingtalk webhook",
    "version": "0.0.5",
    "project_urls": {
        "Code": "http://github.com/connectAI-E/connectai",
        "Documentation": "https://www.connectai-e.com",
        "Issue tracker": "http://github.com/connectAI-E/connectai/issues"
    },
    "split_keywords": [
        "dingtalk",
        "dingding",
        "webhook",
        "bot"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3cde8d19a602ab703a0da227c17be094de02c38bbfb72d0a23e791cf532af1a2",
                "md5": "17f36c9a38d34557b324c1ba0c8e4e38",
                "sha256": "ae55921ac9fb20fc98659e266f0be6d65766c169d659825b24af397a84123bfa"
            },
            "downloads": -1,
            "filename": "ca-dingtalk-webhook-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "17f36c9a38d34557b324c1ba0c8e4e38",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3261,
            "upload_time": "2024-01-09T04:50:02",
            "upload_time_iso_8601": "2024-01-09T04:50:02.051818Z",
            "url": "https://files.pythonhosted.org/packages/3c/de/8d19a602ab703a0da227c17be094de02c38bbfb72d0a23e791cf532af1a2/ca-dingtalk-webhook-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-09 04:50:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "connectAI-E",
    "github_project": "connectai",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ca-dingtalk-webhook"
}
        
Elapsed time: 0.16055s