Skip to content

A small chat app made as a home task for a Python intensive course by Skillbox. It won a competition as one of the best 3 results.

Notifications You must be signed in to change notification settings

Brozgar/pyMiniChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyMiniChat

A small chat app made as a home task for a Python intensive course by Skillbox.

The app includes the following features:

  1. Allow multiple connections
  2. User authorization by login (should be unique), done by sending a message "login:YOUR_LOGIN"
  3. Retrieving last 10 messages for new successful authorizations
  4. Showing the list of already logged in users, so the user can see which names are already taken
  5. A GUI window to use the chat
  6. And, of course, all the connected and logged in users can see the messages

This project won the competition of the course! You can feel free to fork and modify, but please provide the link to this repo if you don't do any or only small changes. Otherwise modify it as you see fit.

Installation

Install dependencies

pipenv install

You might also need to install С++ build tools

Issues with pywin32

Installing pywin32 suddenly became an issue, even though it worked on the previous version. If you run into issues with it I would recommend the following (which fixed my issue):

  1. Instead of using requirements.txt I switched to PipFile: PipFile repo and PipFile examples
  2. Make sure your environment is set up as shown here: Instruction for PyCharm

So, I think, the key was switching to pipeEnv environment and setting up the pipenv executable and PipFile's update seems to do better job with dependencies than just using pip install -r requirements.txt

Running the app

Go to server location

cd ./src

Run the server script

python server.py

Run the client script

python client.py

About

A small chat app made as a home task for a Python intensive course by Skillbox. It won a competition as one of the best 3 results.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages