ErisPulse的沙箱适配器,提供网页界面用于调试和模拟消息
Project description
ErisPulse 沙箱适配器
ErisPulse 的沙箱适配器,提供网页界面用于调试和模拟消息, 可以帮助您在不接入实际机器人平台的情况下进行开发和测试。
安装
pip install ErisPulse-SandboxAdapter
# 或者 epsdk install sandbox
配置
在 config.toml 中添加以下配置:
[SandboxAdapter]
self_id = "sandbox_bot"
enable = true
开发
沙箱适配器可以模拟一个完整的标准适配器,可以辅助开发和调试,使用时请确保你进行了多适配器的适配 在获取到事件event后可以获取platform属性进行平台判断,具体实现请查看ErisPulse的官方文档
使用
- 启动适配器后,访问
http://localhost:8000/sandbox/(端口号根据你的配置) - 在网页中添加虚拟好友或群聊
- 选择一个聊天,发送消息
- 适配器会自动将消息转换为 OneBot12 标准事件并发送给模块
网页界面功能
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file erispulse_sandboxadapter-1.0.4.tar.gz.
File metadata
- Download URL: erispulse_sandboxadapter-1.0.4.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
943c8ce5a2141af7729423bc75271fce8a82cd66a8658974908545e796eb2868
|
|
| MD5 |
580f8ecbaa815ea492b00ca1a173c55b
|
|
| BLAKE2b-256 |
3a323d2be11ccaf82ae967cd90fedd35ddd8e958ef8cab45185ef3c0dc1e2b91
|
Provenance
The following attestation bundles were made for erispulse_sandboxadapter-1.0.4.tar.gz:
Publisher:
python-publish.yml on ErisPulse/ErisPulse-SandboxAdapter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
erispulse_sandboxadapter-1.0.4.tar.gz -
Subject digest:
943c8ce5a2141af7729423bc75271fce8a82cd66a8658974908545e796eb2868 - Sigstore transparency entry: 870902344
- Sigstore integration time:
-
Permalink:
ErisPulse/ErisPulse-SandboxAdapter@e02e89c1d93d32717e8403ae5685737314947edb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ErisPulse
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e02e89c1d93d32717e8403ae5685737314947edb -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file erispulse_sandboxadapter-1.0.4-py3-none-any.whl.
File metadata
- Download URL: erispulse_sandboxadapter-1.0.4-py3-none-any.whl
- Upload date:
- Size: 28.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6c7fbf7ba8333a622b6cc444a5ad461886cbf7bbd094f213727455c7a272c7f
|
|
| MD5 |
ff71349539cdc250f319a33325e65acb
|
|
| BLAKE2b-256 |
59e7e8ea428eefa81242b3610b9d16142d188c196b984fa786fe9725558ce07d
|
Provenance
The following attestation bundles were made for erispulse_sandboxadapter-1.0.4-py3-none-any.whl:
Publisher:
python-publish.yml on ErisPulse/ErisPulse-SandboxAdapter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
erispulse_sandboxadapter-1.0.4-py3-none-any.whl -
Subject digest:
e6c7fbf7ba8333a622b6cc444a5ad461886cbf7bbd094f213727455c7a272c7f - Sigstore transparency entry: 870902348
- Sigstore integration time:
-
Permalink:
ErisPulse/ErisPulse-SandboxAdapter@e02e89c1d93d32717e8403ae5685737314947edb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ErisPulse
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e02e89c1d93d32717e8403ae5685737314947edb -
Trigger Event:
workflow_dispatch
-
Statement type: