Skip to main content

轻量化的onebotv11sdk

Project description

介绍

eridanus-dep是Eridanus的依赖包,它是Eridanus的核心库,提供了一系列的工具和模块,可以帮助开发者快速开发自己的onebot应用。

Eridanus是基于eridanus-dep开发的onebot应用,你可以在Eridanus中找到很多有用的模块和工具,如事件处理、消息处理、插件管理、数据库连接等。

由于Eridanus是基于eridanus-dep开发的,所以你可以通过参考Eridanus的源码来学习eridanus-dep的使用方法。

安装

pip install eridanus-dep

示例

from Eridanus.adapters.websocket_adapter import WebSocketBot
from Eridanus.event.events import GroupMessageEvent

bot = WebSocketBot('ws://127.0.0.1:3001')

@bot.on(GroupMessageEvent)
async def _(event: GroupMessageEvent):
    await bot.send(event, 'Hello, world!')

bot.run()

文档

Eridanus文档

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

eridanus_dep-0.0.2.tar.gz (32.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eridanus_dep-0.0.2-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

Details for the file eridanus_dep-0.0.2.tar.gz.

File metadata

  • Download URL: eridanus_dep-0.0.2.tar.gz
  • Upload date:
  • Size: 32.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.0

File hashes

Hashes for eridanus_dep-0.0.2.tar.gz
Algorithm Hash digest
SHA256 56ebba397e5e43f769d5ef9ee6561b4724b3d7b4f948746b0f0002c612e7149f
MD5 6ff26fd39e6effe23290686a2bd39d7f
BLAKE2b-256 aa7e44561d71d7f8ba78c716cfafb34dfda702820370358d52fa9c7e8985ccb5

See more details on using hashes here.

File details

Details for the file eridanus_dep-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: eridanus_dep-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 36.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.0

File hashes

Hashes for eridanus_dep-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f38d61779192b6ff7e5b19ce6b4c9ab2b419cd68a22517e094647111292c5823
MD5 3ede49d20a197fd34d6ffcf91736b50a
BLAKE2b-256 7b4861852144dba95a21e9eb5a87eafe2f0edf3fa29450950679a2cd8285b2a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page