Skip to main content

QQ-Robot

QQ 群机器人 SDK,支持 NapCat 协议、FastAPI 接口、OBS 云存储。

安装

pip install tianxiadatong-qq-robot

快速开始

import tianxiadatong_qq_robot
robot = tianxiadatong_qq_robot.qqApp()
robot.init(host="0.0.0.0", port=8099)

配置

运行目录下放置 config.json 即可。

{
  "base_url": "localhost:8081",
  "sentry_sdk_url": "http://af018d0bf71f4ab091aab4181d10a49d@10.7.115.88:9000/4",
  "OBSConfig": {
    "ENDPOINT": "xxxxxxxx",
    "ACCESS_KEY": "xxxxxxxx",
    "SECRET_KEY": "xxxxxxxx",
    "BUCKET": "xxxxx"
  }
}

Metadata

Release files for tianxiadatong-qq-robot 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tianxiadatong-qq-robot 0.1.9
File Size Uploaded
tianxiadatong_qq_robot-0.1.9.tar.gz 260.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tianxiadatong-qq-robot 0.1.9
File Interpreter ABI Platform
tianxiadatong_qq_robot-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 521.7 kB

Release files / tianxiadatong_qq_robot-0.1.9.tar.gz

Download URL tianxiadatong_qq_robot-0.1.9.tar.gz
Size 260.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a4fd6a5bb9acee71b915ee4112b808179b3f9cd287882119f7b2d1b4d46b552f
BLAKE2b-256 checksum
How to use checksums
6ab185da963d60510246845a2c38282fbe5017f874ef88ac6625892aa479c7e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / tianxiadatong_qq_robot-0.1.9-py3-none-any.whl

Download URL tianxiadatong_qq_robot-0.1.9-py3-none-any.whl
Size 261.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90bce7c210effbc8cfd8f8cf3bc72d2b7d6260e1fcb57decb3ef70d0c0f26e80
BLAKE2b-256 checksum
How to use checksums
8b5b43f736b113c5d345dd7945dc93af97696e061cbf67412a729e58ffcd7246
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page