Local network chat messaging application
Project description
pychatter
pychatter is a direct chat tool, which may be run to communicate over a local network.
Communication happens over the localhost port 8080.
This is primarily an exercise in duplex client-server communication using websockets.
Getting started
Install the pychatter package using pip, then run the package:
python -m pip install pychatter
python -m pychatter
Hosting a chat server can be done directly inside the graphical user interface, or a dedicated server may be started from the command line using:
python -m pychatter --server
Configuration
The chat application supports external configuration files. Place a file named config.json in the directory from which the application is run.
The configuration file currently supports one setting, "chat_format"
, which is used to display chat messages. It supports the following placeholder strings:
%T
: time%U
: user name%M
: message
An example config.json could contain the following data:
{
"chat_format": "%T: %U: %M"
}
Contributions
To contribute to this repository, please read the contribution guidelines.
Python
Written in Python 3.7.3.
License
This repository is open-source software available under the MIT License.
Contact
Please raise an issue for code changes. To reach out, please send an email to richard@baltrusch.net.
Attributions
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
Built Distribution
Hashes for pychatter-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f44db5f240b58c855590b68418b32abff2ef963b3d34ea31e629c23f409ac375 |
|
MD5 | db1442d881b1ff280b21f723dda24281 |
|
BLAKE2b-256 | a227097ba6ac0db9adae67aa3648190d89a5bdde78c320d21043f52632cf8de2 |