Skip to main content

ErisPulse的沙箱适配器,提供网页界面用于调试和模拟消息

Project description

ErisPulse 沙箱适配器

ErisPulse 的沙箱适配器,提供网页界面用于调试和模拟消息, 可以帮助您在不接入实际机器人平台的情况下进行开发和测试。

安装

pip install ErisPulse-SandboxAdapter
# 或者 epsdk install sandbox

配置

config.toml 中添加以下配置:

[SandboxAdapter]
self_id = "sandbox_bot"
enable = true

开发

沙箱适配器可以模拟一个完整的标准适配器,可以辅助开发和调试,使用时请确保你进行了多适配器的适配 在获取到事件event后可以获取platform属性进行平台判断,具体实现请查看ErisPulse的官方文档

使用

  1. 启动适配器后,访问 http://localhost:8000/sandbox/(端口号根据你的配置)
  2. 在网页中添加虚拟好友或群聊
  3. 选择一个聊天,发送消息
  4. 适配器会自动将消息转换为 OneBot12 标准事件并发送给模块

网页界面功能

ErisPulse-SandboxAdapter

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

erispulse_sandboxadapter-1.0.3.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

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

erispulse_sandboxadapter-1.0.3-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file erispulse_sandboxadapter-1.0.3.tar.gz.

File metadata

  • Download URL: erispulse_sandboxadapter-1.0.3.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for erispulse_sandboxadapter-1.0.3.tar.gz
Algorithm Hash digest
SHA256 0a431217de029b9964032a078964b8dda8d43d785b82e7c03c9005de4f6a6d7e
MD5 4632ec1ae2733ad0665759893a9cefd2
BLAKE2b-256 fa4d6dcfffab02ee8efcd5c30bfd31b7a92a728b9b37f00fb22b01c25fadf91b

See more details on using hashes here.

Provenance

The following attestation bundles were made for erispulse_sandboxadapter-1.0.3.tar.gz:

Publisher: python-publish.yml on ErisPulse/ErisPulse-SandboxAdapter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file erispulse_sandboxadapter-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for erispulse_sandboxadapter-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b476d17e45492631a792508a6b2b7709c66c26713b321cc4094b4a91c4f192db
MD5 48d00c08bc0383dfeaba54f72729d635
BLAKE2b-256 d3abfa6660fc54a92f0b54a72b29f4ce51b11b2d373fe1498b26e97edd5bb7f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for erispulse_sandboxadapter-1.0.3-py3-none-any.whl:

Publisher: python-publish.yml on ErisPulse/ErisPulse-SandboxAdapter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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