henry232323 / Simple-Asyncio-Chat-Client

A simple asyncio chat server and client made in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple-Asyncio-Chat-Client

A simple Asyncio chat / relay server and client (Async Protocol / Callback) using a STDOUT / tKinter UI through Async create_connection and running the input/GUI in an executor, or using the Quamash PyQt5 loop and running the create_connection as a coroutine. STDOUT / No GUI mode can be a little buggy (i.e if a message is received while typing etc.,)

Usage:

  • Server

    • python server.py --addr [**address] --port [**port]
  • Tkinter Client

    • python client.py --user [**username] --addr [**address] --port [**port] --nogui [**bool]
  • PyQt5 Client

    • python qtclient.py --user [**username] --addr [**address] --port [**port]

Defaults

  • Username defaults to "User" (Unless using Qt, then will ask)
  • Address defaults to 127.0.0.1 (localhost)
  • Port defaults to 50000
  • Nogui defaults to False

About

A simple asyncio chat server and client made in Python

License:GNU General Public License v3.0


Languages

Language:Python 100.0%