Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graia-ariadne

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graia-ariadne

Another elegant Python QQ Bot framework for mirai and mirai-api-http v2.

  • 0.11.7
  • PyPI
  • Socket score

Maintainers
2

Ariadne

Another elegant framework for mirai and mirai-api-http v2.

接受当下, 面向未来.

PyPI Python Version

Code style: black Imports: isort License pdm-managed

文档docsdocsdocs
API 参考docsdocsdocs

本项目适用于 mirai-api-http 2.0 以上版本.

Ariadne 是 Graia Project 继承了 Application 并进行了许多改进后产生的作品, 相信它可以给你带来良好的 Python QQ Bot 开发体验.

注意, 本框架需要 mirai-api-http v2.

安装

pdm add graia-ariadne

poetry add graia-ariadne

pip install graia-ariadne

我们强烈建议使用 pdm / poetry 进行包管理

开始使用

from graia.ariadne.app import Ariadne
from graia.ariadne.connection.config import config
from graia.ariadne.model import Friend

app = Ariadne(config(verify_key="ServiceVerifyKey", account=123456789))


@app.broadcast.receiver("FriendMessage")
async def friend_message_listener(app: Ariadne, friend: Friend):
    await app.send_message(friend, "Hello, World!")


Ariadne.launch_blocking()

更多信息请看 快速开始

讨论

QQ 交流群: 邀请链接

QQ 群不定时清除不活跃成员, 请自行重新申请入群.

文档

API 文档 官方文档 社区文档 鸣谢

如果认为本项目有帮助, 欢迎点一个 Star.

协议

本项目以 GNU AGPL-3.0 作为开源协议, 这意味着你需要遵守相应的规则.

持续集成 (CI) 状态

API Doc Status pre-commit.ci status

API 文档构建 发布

参与开发

贡献指南

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc