Nonechat
通用控制台聊天界面
使用
from nonechat.info import Event
from nonechat.app import Frontend
from nonechat.backend import Backend
class ExampleBackend(Backend):
def on_console_load(self):
print("on_console_load")
def on_console_mount(self):
print("on_console_mount")
def on_console_unmount(self):
print("on_console_unmount")
async def post_event(self, event: Event):
print("post_event")
app = Frontend(ExampleBackend)
app.run()
功能
- 消息发生、编辑与撤回
- 日志查看窗口
- 用户管理
- 频道管理
预览
Metadata
Release files for nonechat 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonechat-0.7.0.tar.gz | 19.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonechat-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.5 kB
Release files / nonechat-0.7.0.tar.gz
| Download URL | nonechat-0.7.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e3dfbd9a6d53a0f6f7e26430b4f5092f60d18a658a28d571736098dff7ba67b
|
|
BLAKE2b-256 checksum How to use checksums |
4adac04ce4be5a12ccb55bd696ca36e34350bbbe848faf18c25fb303c3214340
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.26.7 CPython/3.12.3 Linux/6.17.0-1008-azure
|
Release files / nonechat-0.7.0-py3-none-any.whl
| Download URL | nonechat-0.7.0-py3-none-any.whl |
|---|---|
| Size | 28.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b77039722498eb8c0aba25fdd8873c263d265100add116e24ffeed7ecf90a4a2
|
|
BLAKE2b-256 checksum How to use checksums |
f7dff93835a97deeb63ff01373bd0cdccd8d58e94bbdbd1a0dd03aefd432f874
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.26.7 CPython/3.12.3 Linux/6.17.0-1008-azure
|