Package: py-messenger
Python MessengerThis is a python single-chat application separated on client-side and server-side.
General-purpose of the project is to message between hosts in the local network.
Additionally, you candownloada desktop application in two versions.Table of contentInstallationUsageDownloadFeaturesLicenseInstallationClone the project from GitHub, then you'll needGitinstalled on your computer:# Clone this repository
$ git clone https://github.com/marik348/python-messegnerUsageThe next steps explain how to use the messenger in your local network.To run this application, you'll needPython 3.6+installed on your computer.
In yourworking environmentfrom the command line:# Go into the repository
$ cd python-messenger

# Install dependencies
$ pip3 install -r requirements.txtOnce you've installed all the dependencies, run the server on your local
network in the first command prompt with arguments [username] [password]
to create an administrator account:# Navigate to server-side
$ cd ./messenger/server

# Run server and create [username] with administrator role 
$ python server.py [username] [password]From that moment, your computer will work as a server (receive requests)
in the local network.
You can stop the server with Ctrl+C combination pressed twice in the terminal.
Next time it's not necessary to run the server with arguments to create an
admin account unless you've deleted thedatabase.sqlite3file.After running the server, everyone from your network can run a messenger.
Go to the root directory of the project and
run the messenger client in the second command line prompt:# Navigate to client-side
$ cd ./messenger/client

# Run client
$ python messenger.pyTo connect to the server, everyone from your local network should
change the IP address in Preferences tothe local IP addresswith 9000 port (the local IP of the computer which runs the server).Register an account or log in to the administrator account.
Finally, you can use the messenger to communicate in the local network.P.S. Originally project was developed on Debian family distribution,
that's why it causes some UI problems on Windows.DownloadThere are two executable desktop versions with the ability to chat in the:local networkglobal networkGet them for Windows and Linux fromhere.The main difference between versions is that the second one
has the deployed server IP address by default
without the ability to change the IP address in Preferences.FeaturesShortcutsGradient DesignLots of commandsAbility to change a server IP addressAbility to check server status in the login formAbility to promote/demote users (for admins)Ability to ban users (for moderators and above)Cross-platformWindows and Linux readyThere are 3 roles in messenger:User:Has standard commandsModerator:The above + permissions to ban/unban usersAdministrator:All the above + the ability to change the role of the userAvailable user commands:COMMANDVARIABLESDESCRIPTION/closeCloses the messenger/logoutLogs out from the account/reloadClears commands messages/help[command]Prints available commands or detailed description about [command] if specified/myselfPrints info about user/statusPrints server status/online[users]Prints online users or [users] status if specified/regPrints registered usersAvailable moderator commands:COMMANDVARIABLESDESCRIPTION/ban[users]Bans [users]/unban[users]Unbans [users]Available administrator commands:COMMANDVARIABLESDESCRIPTION/role[user] [1-3]Changes [user] roleLicenseYou can check out the full licensehere.This project is licensed under the terms of theMITlicense.Gmailvadimich348@gmail.com· 
GitHub@marik348· 
LinkedIn@mariiechko