UDP-based chat application
Project description
Asynchronous UDP-based chat application
Hosted at udpchat://209.97.187.173
How to set up and run the application.
1. Create a python virtual enviroment
- Run
python3 -m venv venv
to create the virtual enviroment. - Run
source venv/bin/activate
to activate the virtual enviroment. - Run
pip install -e .
to install dependencies to the virtual environment
2. Starting the server
On localhost
- Run
python3 -m udp_chat.server
to start running the server.
On specified IP address
- Run
python3 -m udp_chat.server (IP address) (port number)
to start running the server
3. Starting a client GUI
In a new terminal:
Connect to a server on localhost
- Run
python3 -m udp_chat.gui_client
to start the client GUI
Connect to a server IP address
- Run
python3 -m udp_chat.gui_client (IP address) (port number)
to start the client GUI
4. Starting a command line client
Note: Must already have created an account
In a new terminal:
Connect to a server on localhost
- Run
python3 -m udp_chat.client
to start the client
Connect to a server IP address
- Run
python3 -m udp_chat.client (IP address) (port number)
to start the client GUI
5. Delete the enviroment
- Run
rm -rf venv
to delete the virtual enviroment
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
udp_chat-0.1.2.tar.gz
(491.8 kB
view details)
Built Distribution
udp_chat-0.1.2-py3-none-any.whl
(519.2 kB
view details)
File details
Details for the file udp_chat-0.1.2.tar.gz
.
File metadata
- Download URL: udp_chat-0.1.2.tar.gz
- Upload date:
- Size: 491.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8c81f7accf88cfac53ba4ba1bdda2646014dda63700e47e3756f10a1e594405 |
|
MD5 | 487c8a2acea515279d7539bfec8051bb |
|
BLAKE2b-256 | 0baa12938914a5cb2409f6b5e0f5d9a044d3fe38f065dcf9ce281a68662ae1ec |
File details
Details for the file udp_chat-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: udp_chat-0.1.2-py3-none-any.whl
- Upload date:
- Size: 519.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae867918864bda5bb5324ae70696cab9f32e1c15883df32e6f3252f14d225f3b |
|
MD5 | 910acdf648fe0a821854817a94ad0707 |
|
BLAKE2b-256 | 4293b63b1b79a8569d90df9426224a2da06290de429d47c56ff4b29a325349d0 |