Metadata-Version: 2.4
Name: chat-easy
Version: 0.2.1
Summary: A simple, beginner-friendly Python package for cross-PC live chatting.
Author: Atharva
License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: paho-mqtt>=1.6.1

chat-easy 💬
A lightweight Python package designed to make chatting with code and building chat applications effortless for beginners!

chat-easy strips away complex setup steps so starters can quickly jump into building interactive scripts, background session managers, and custom message handlers without hassle.

🎯 Why chat-easy?
Beginner-Friendly: Simple syntax built specifically to help starters work with code-driven chat logic quickly.

Zero Configuration Friction: Works out of the box with clear entry points.

Lightweight & Fast: Runs Persisted state with minimal overhead on any machine.

Cross-Platform: Full support for Windows, macOS, and Linux.

📦 Installation
Install chat-easy directly from PyPI using pip:

Bash:
pip install chat-easy


Python:
import chat

# Start building your interactive chat logic here
print("chat-easy is ready to use!")

📄 License
Distributed under the MIT License

## Quick Example Usage

Below is a quick guide on how to connect two computers or terminal windows across the internet using room codes.

### PC1:



import chat

# Step 1: Connect to a custom room code (use any unique string you like!)
room = chat.connect("anything-1234")

# Step 2: Start listening for incoming messages over the internet
# This keeps the script running and prints messages as soon as they arrive
room.listen()


### PC 2:



import chat

# Step 1: Connect to the EXACT SAME room code as PC 1
room = chat.connect("anything-1234")

# Step 2: Send a message across the internet broker
# PC 1 will immediately display: [Received]: Hello from the other computer!
room.send("Hello from the other computer!")
