Awesome chat console using Textual
Project description
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()
功能
- 消息发生、编辑与撤回
- 日志查看窗口
- 用户管理
- 频道管理
预览
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
nonechat-0.7.0.tar.gz
(19.2 kB
view details)
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
nonechat-0.7.0-py3-none-any.whl
(28.3 kB
view details)
File details
Details for the file nonechat-0.7.0.tar.gz.
File metadata
- Download URL: nonechat-0.7.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.26.7 CPython/3.12.3 Linux/6.17.0-1008-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e3dfbd9a6d53a0f6f7e26430b4f5092f60d18a658a28d571736098dff7ba67b
|
|
| MD5 |
efa512df4df4d0114a2444a746d23f00
|
|
| BLAKE2b-256 |
4adac04ce4be5a12ccb55bd696ca36e34350bbbe848faf18c25fb303c3214340
|
File details
Details for the file nonechat-0.7.0-py3-none-any.whl.
File metadata
- Download URL: nonechat-0.7.0-py3-none-any.whl
- Upload date:
- Size: 28.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.26.7 CPython/3.12.3 Linux/6.17.0-1008-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b77039722498eb8c0aba25fdd8873c263d265100add116e24ffeed7ecf90a4a2
|
|
| MD5 |
a2cc7d0b20fe57aad269ff8088c31fd1
|
|
| BLAKE2b-256 |
f7dff93835a97deeb63ff01373bd0cdccd8d58e94bbdbd1a0dd03aefd432f874
|