Skip to main content

A qbot module with friendly interface, session control and plugin-supported.

Reason this release was yanked:

To avoid auto fallback from Python lower version.

Project description

MeloBot

插件化管理、基于异步会话机制的 python 的 qbot 开发框架

郑重承诺和提示:本项目一切开发旨在学习,请勿用于商业用途和非法用途。任何使用本项目的用户群体,有义务遵守其所在国家或地区的相关法律规定。

🎉 关于

MeloBot 是一个基于 Python 的 qbot 开发框架。其以实现了 Onebot 标准的适配器作为前端,通过对来自适配器的各种“事件”的处理,再产生“行为”,最后提交给适配器与 qq 服务器进行通信,实现各类复杂的功能。

使用示例:你可以参考使用本框架的项目 MeloInf,这里有详细的接口调用示范。

✨ 特色

  • 基于 asyncio 的高性能异步
  • 插件化管理
  • 异步的自动上下文(会话)
  • 可高度自定义的中间件功能
    • 权限检查、规则校验、解析组件等
  • 支持生命周期 hook
  • 人性化、丰富的接口设计

📦️ 安装使用

pip install melobot

版本支持:

  • python >= 3.8
  • platform == All(mac 平台未测试)
  • OneBot 标准 >= 11

💬 更多

项目文档正在构建中,敬请期待...

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

melobot-2.0.2.tar.gz (66.8 kB view details)

Uploaded Source

Built Distribution

melobot-2.0.2-py3-none-any.whl (76.2 kB view details)

Uploaded Python 3

File details

Details for the file melobot-2.0.2.tar.gz.

File metadata

  • Download URL: melobot-2.0.2.tar.gz
  • Upload date:
  • Size: 66.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for melobot-2.0.2.tar.gz
Algorithm Hash digest
SHA256 e91c63cff8a693a6f13f2ed1aebd00a70c80394791eb36f6825afbd26233512e
MD5 c03aab28029769a390a0d6c5c02e179a
BLAKE2b-256 5ca24527afa7b14fcd766a7f05a8ee0dbbff0480a735a781835a72d8c28867ea

See more details on using hashes here.

File details

Details for the file melobot-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: melobot-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 76.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for melobot-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6b85961d4c98348ff463c3566011edb0c11669f9828101e01a872e618cd96a4e
MD5 47364774eb5d9a73430b9b118ae47d11
BLAKE2b-256 25fcf4e8359d921ea82dd492f8c5f462c9efa708e8a500ecce1ad6b90ee71bf5

See more details on using hashes here.

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