Skip to main content

Euler OneBot

一个无聊的 OneBot 实现,完全使用 python 语言,基于 lagrange-python

OneBot V11 GPL-3.0

WIP...吗?

本项目处于极早期开发阶段,如你所见,几十个commit()

啊不过他其实还比较稳定

安装使用

  1. 获取本项目;
    • 方式1:直接clone
    • 方式2:下载包裹并编写主文件
      pip install euler-onebot
      
  2. 下载 lagrange (即 lagrange-python 的 package 部分),放在本项目 main.py的同目录 (为什么不走pypi呢?啊他有点延后());
  3. 运行,填写配置文件,签名要求与其他 LagrangeV2 系列项目相同,请自行解决;
  4. 大功告成!

另类使用

从 0.0.2 版本开始,Euler OneBot 也作为独立的 PyPi Package 存在,您可以安装后把它当作一个 OneBot 风格 API 的 NTQQ 协议库使用。

开发

Euler OneBot 使用 uv

支持情况

API 类型
API 名称 支持状态
send_private_msg
send_group_msg
send_msg
delete_msg
get_msg
get_forward_msg
send_like
set_group_kick
set_group_ban
set_group_whole_ban
set_group_admin
set_group_card
set_group_name
set_group_leave
set_group_special_title
set_friend_add_request
set_group_add_request
get_login_info
get_stranger_info
get_friend_list
get_group_info
get_group_list
get_group_member_info
get_group_member_list
get_status
get_version_info
事件类型
事件名称 支持状态
message.private
message.group
notice.group_upload
notice.group_admin
notice.group_decrease
notice.group_increase
notice.group_ban
notice.friend_add
notice.group_recall
notice.friend_recall
notice.notify.poke
notice.notify.lucky_king
notice.notify.honor
notice.reaction
request.friend
request.group
meta_event.lifecycle
meta_event.heartbeat
消息段类型
消息段类型 支持状态
text
at
reply
face
poke
mface
node
forward
image
record
video
contact
location
music
custom
redbag
rps
dice
shake
json
xml
markdown
通信方式
通信方式 支持状态
HTTP
HTTP Webhook
正向 WebSocket
反向 WebSocket

Release files for euler-onebot 0.0.2

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

Source distribution (sdist)

Source distribution for euler-onebot 0.0.2
File Size Uploaded
euler_onebot-0.0.2.tar.gz 30.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for euler-onebot 0.0.2
File Interpreter ABI Platform
euler_onebot-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 64.6 kB

Release files / euler_onebot-0.0.2.tar.gz

Download URL euler_onebot-0.0.2.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1b4e53fe5f5974bd365abc2410380570620908e57c24dc1e58029799b014652e
BLAKE2b-256 checksum
How to use checksums
14dcff4268850629ed19e8a950c369fd8916499298f3f3813f9fd7d822be9272
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Release files / euler_onebot-0.0.2-py3-none-any.whl

Download URL euler_onebot-0.0.2-py3-none-any.whl
Size 34.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa8fc2c0689288476dcb435056b09d34c21fdaf5b5705f1712c823a42fd23078
BLAKE2b-256 checksum
How to use checksums
1e9167d2f4c6aa26b13d0f60b7fb7f6ca9a023cdfd61be1126bee1856ad6c0fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.2 This release

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