betamini / PythonChatRoom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PythonChatRoom

Dist

Server

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
& d:/Koding/Prototyping/PythonChatRoom/PythonChatRoom/kivy_venv/Scripts/Activate.ps1
cd D:/Koding/Prototyping/PythonChatRoom/PythonChatRoom/Releases/Server
python -m PyInstaller --name ServerV0.4.1 --onefile --clean D:\Koding\Prototyping\PythonChatRoom\PythonChatRoom\init_server.py --hidden-import=pkg_resources.py2_warn --add-binary='D:\Koding\Prototyping\PythonChatRoom\PythonChatRoom\kivy_venv\share\sdl2\bin\libpng16-16.dll;.'

Client

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
& d:/Koding/Prototyping/PythonChatRoom/PythonChatRoom/kivy_venv/Scripts/Activate.ps1
cd D:/Koding/Prototyping/PythonChatRoom/PythonChatRoom/Releases/Client
python -m PyInstaller --name ChatRoomV0.4.1 --onefile --clean D:\Koding\Prototyping\PythonChatRoom\PythonChatRoom\init_client.py --hidden-import=pkg_resources.py2_warn --add-binary='D:\Koding\Prototyping\PythonChatRoom\PythonChatRoom\kivy_venv\share\sdl2\bin\libpng16-16.dll;.'

Modules

Wheel file

pip install D:\Downloads\PyAudio-0.2.11-cp37-cp37m-win_amd64.whl

Kivy

Installation

Version 1.11.1

Tags

type

chat_msg_post

From client to server

Tells the server to distribute a message (contents of body) to all other clients (chat_msg_dist)

chat_msg_dist

From server to client

Distributes chat message (contents of body) to all clients

sys_msg_dist

From server to client

Distributes system message (contents of body) to all clients

set_username

sets username to contents of body

chat_audio_dist

chat_audio_post

body

from_user

Specific to chat_msg_dist. Parameter is sett by the server.

About


Languages

Language:Python 100.0%