Metadata-Version: 2.1
Name: karas_py
Version: 0.2.3
Summary: 一个基于mirai-api-http的高性能qq消息处理框架
Home-page: https://github.com/ShiroDoMain/Karas
Author: ShiroDoMain
Author-email: b1808107177@gmail.com
License: GNU Affero General Public License v3.0
Description: <div align="center">
            <h1>Karas</h1><br>
        <p>这是一个基于<a href="https://github.com/project-mirai/mirai-api-http">mirai-api-http</a>的轻量级，高性能qq消息处理与发送框架  </p>
        </div>
        
        ##  Version  
        ![Mirai-API-API-Version](https://img.shields.io/badge/mirai--http--api-2.5.0-brightgreen.svg?style=plastic)
        ![python-Version](https://img.shields.io/badge/python->=3.7-brightgreen.svg?style=plastic)
        ![karas-Version](https://img.shields.io/badge/karas-0.2.2-brightgreen.svg?style=plastic)    
        ## 使用  
        - 使用pip安装本项目  
        ```shell script
        pip3 install karas_py
        ```  
        - 一个群聊复读机实例:  
        (async)
        ```python
        from karas.box import Yurine,MessageChain,Group
        yurine = Yurine(
            host="localhost",
            port=8080,
            qq=114514,
            verifyKey="1919810"
        )
        
        @yurine.listen("GroupMessage")
        async def gm_event(group:Group, message: MessageChain):
            # async send message
            await yurine.sendGroup(group, message)
        
        yurine.run_forever()
        ```  
        (sync send message)
        ```python
        from karas.box import Yurine,MessageChain,Group, Plain
        yurine = Yurine(
            host="localhost",
            port=8080,
            qq=114514,
            verifyKey="1919810"
        ).start()
        
        yurine.sendFriend(1808107177, [Plain("Hello World")])
        
        yurine.close()
        ```
        
        ## 实例
        [ATRI](https://github.com/ShiroDoMain/ATRI-qqbot)使用了该框架开发，Bot的qq为1977987864  
        
        ## 开源
        该框架遵循mirai社区要求使用AGPL-3.0协议开源，如果您使用了该项目开发，请遵循AGPL-3.0开源规范  
        
        ## Notice  
        该框架目前处于开发中状态，如果您在使用过程中发现了bug或者您有好的建议，请尽情提出您的[issues](https://github.com/ShiroDoMain/Karas/issues/new)
Keywords: qqbot async
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
