Skip to main content

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


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.3.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

nonechat-0.3.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file nonechat-0.3.0.tar.gz.

File metadata

  • Download URL: nonechat-0.3.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.18.0 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for nonechat-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a8e66d6a3d8ce1597464293c04aec69cc84caaecde58b906553c9268dac0777e
MD5 cf6ba88e81f0ec7903947c4c763b4339
BLAKE2b-256 5305048bad79f2eddcd3cb5066755241aae163dcd41064d1e67ee61520ec8cda

See more details on using hashes here.

File details

Details for the file nonechat-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: nonechat-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.18.0 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for nonechat-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4091c90a9a718a3b8a9db49ea2d6b779926e6246f25dd0bea2033d5b364a9d06
MD5 aba736f83c6dbceb62bf16bc10575470
BLAKE2b-256 ac1a4b5b5794651c2bd671fd84524b8839effefdc550526e0dd9d5b6a57c8ede

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page