robertmrk / aiocometd-chat-demo

Client application for the CometD chat service demo, using aiocometd, PyQt5 and QML.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aiocometd-chat-demo

Build status Coverage MIT license

aiocometd_chat_demo is a client application for the CometD chat service demo. It demonstrates the usage of aiocometd in a GUI application with PyQt5 and QML.

usage demonstration

Requirements

Install

Get the source by downloading the latest release, or clone it from github:

$ git clone https://github.com/robertmrk/aiocometd-chat-demo.git
$ cd aiocometd-chat-demo

aiocometd-chat-demo requires python 3.7 and pipenv to be installed.

To install pipenv run:

$ pip install pipenv

To install aiocometd-chat-demo and all of its dependencies in a virtual environment run:

$ pipenv install --ignore-pipfile

then activate the virtual environment and run the application:

$ pipenv shell
$ python -m aiocometd_chat_demo

To use the application, you should connect to an insance of CometD's demo chat servcie. You can run it locally by creating a container from the cometd-demos docker image.

About

Client application for the CometD chat service demo, using aiocometd, PyQt5 and QML.

License:MIT License


Languages

Language:Python 83.3%Language:QML 16.7%