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.6.1.tar.gz
(19.3 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.6.1-py3-none-any.whl
(28.5 kB
view details)
File details
Details for the file nonechat-0.6.1.tar.gz.
File metadata
- Download URL: nonechat-0.6.1.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.25.4 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cf39badc4af1ebf72062dac879bd8f0a0063ce4f8e53e9679988b2ec6667117
|
|
| MD5 |
7f7a3d64f6b6d49b9c920023948518f1
|
|
| BLAKE2b-256 |
d0144ef5d6b9569315a36160cbb4f43837ba1452df08229fa47654928111f7a3
|
File details
Details for the file nonechat-0.6.1-py3-none-any.whl.
File metadata
- Download URL: nonechat-0.6.1-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.25.4 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
899f26416e01cc0f3beb4798e8ce73a47bac4627b610a0609fe07f6d8246bf0c
|
|
| MD5 |
f1106a76afbbaf59ded7996521e91116
|
|
| BLAKE2b-256 |
9fd58f30606713bea1d862477c67f5f4c8bda562c752d72321630b6269cd920f
|