ca-lark-webhook


Nameca-lark-webhook JSON
Version 0.0.5 PyPI version JSON
download
home_page
Summarylark(feishu) client
upload_time2024-01-09 04:53:09
maintainer
docs_urlNone
authorlloydzhou@gmail.com
requires_python>=3.8
licenseMIT
keywords feishu lark webhook websocket 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-lark-webhook

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


## python sdk
```
from connectai.lark.webhook import LarkServer

app = LarkServer()

@app.on_bot_message(app_id='cli_xxx', app_secret='xxx', encrypt_key='xxx', message_type='text')
def on_message_callback1(bot, message_id, content, **kwargs):
    text = content['text']
    bot.reply_text(message_id, 'reply: ' + text)

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



            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ca-lark-webhook",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "Feishu,Lark,Webhook,Websocket,Bot",
    "author": "lloydzhou@gmail.com",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/70/e4/34a9c632223e6ee8c098c93514b992bb9d34d7355fc1ed3bd994912b0b40/ca-lark-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-lark-webhook\n\n1. \u751f\u6210\u98de\u4e66(Lark) 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.lark.webhook import LarkServer\n\napp = LarkServer()\n\n@app.on_bot_message(app_id='cli_xxx', app_secret='xxx', encrypt_key='xxx', message_type='text')\ndef on_message_callback1(bot, message_id, content, **kwargs):\n    text = content['text']\n    bot.reply_text(message_id, 'reply: ' + text)\n\napp.start(host='0.0.0.0', port=8888)\n```\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "lark(feishu) client",
    "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": [
        "feishu",
        "lark",
        "webhook",
        "websocket",
        "bot"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "70e434a9c632223e6ee8c098c93514b992bb9d34d7355fc1ed3bd994912b0b40",
                "md5": "eb6334a86589fd3d44ffe5252ba2092c",
                "sha256": "afd7ff7b42296f255c63691000ff098ae469690b7ce17b9639db171f0e4b3743"
            },
            "downloads": -1,
            "filename": "ca-lark-webhook-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "eb6334a86589fd3d44ffe5252ba2092c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3254,
            "upload_time": "2024-01-09T04:53:09",
            "upload_time_iso_8601": "2024-01-09T04:53:09.251706Z",
            "url": "https://files.pythonhosted.org/packages/70/e4/34a9c632223e6ee8c098c93514b992bb9d34d7355fc1ed3bd994912b0b40/ca-lark-webhook-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-09 04:53:09",
    "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-lark-webhook"
}
        
Elapsed time: 0.39306s