Chat Application
This is a command-line chat application built with Python that allows users to connect to a websocket server and chat with other users in real-time.
Requirements
- Python 3.7+
- websockets library
- asyncio library
- PySimpleGUI
Installation
To install run the following command in your terminal:
pip install ws-cli-chat
Usage To start the application, run the following command in your terminal:
chat
You will be prompted to choose a username. After entering your username, the application will connect to the websocket server and you will be able to chat with other users in real-time.
To send a message, simply type your message and hit enter. Your message will be sent to all other users currently connected to the chat room.
Features
- Real-time messaging: Messages are sent and received in real-time, allowing for seamless communication between users.
- Multiple users: The chat room can accommodate multiple users at the same time, allowing for group conversations.
- Usernames: Users can choose their own usernames, which are displayed alongside their messages in the chat room.
- Clearing console: The console is cleared after each new message is received, making the chat experience cleaner.
Contributing
Contributions are welcome! If you have any suggestions or feature requests, please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for more information.
Metadata
Release files for ws-cli-chat 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ws_cli_chat-0.4.4.tar.gz | 7.0 kB | Without provenance | Details for ws_cli_chat-0.4.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ws_cli_chat-0.4.4-py3-none-any.whl | Python 3 | none | any | Details for ws_cli_chat-0.4.4-py3-none-any.whl |
Total release size: 15.3 kB
Release files / ws_cli_chat-0.4.4.tar.gz
| Download URL | ws_cli_chat-0.4.4.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a84316de2ddcf3e7eda6f4558cd648d6582255e9e6eb792eebf6732cbf823b93
|
|
BLAKE2b-256 checksum How to use checksums |
43739ade7127747ca6d6b2ad66eca5156e2e94bb6b18872ec60f99a40008e23b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / ws_cli_chat-0.4.4-py3-none-any.whl
| Download URL | ws_cli_chat-0.4.4-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b68409309128e954ca8da905652328709b15db74dd31b11615bb4619dbd0f6a
|
|
BLAKE2b-256 checksum How to use checksums |
6391f7078ff14b8cd35ea5de22df6b2a2954fad607d46c6e54605b003ac7eb41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for ws-cli-chat 0.4.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.