bstkchat 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bstkchat-1.0.1/PKG-INFO +65 -0
- bstkchat-1.0.1/README.md +47 -0
- bstkchat-1.0.1/bstkchat.egg-info/PKG-INFO +65 -0
- bstkchat-1.0.1/bstkchat.egg-info/SOURCES.txt +9 -0
- bstkchat-1.0.1/bstkchat.egg-info/dependency_links.txt +1 -0
- bstkchat-1.0.1/bstkchat.egg-info/entry_points.txt +2 -0
- bstkchat-1.0.1/bstkchat.egg-info/requires.txt +3 -0
- bstkchat-1.0.1/bstkchat.egg-info/top_level.txt +1 -0
- bstkchat-1.0.1/pyproject.toml +27 -0
- bstkchat-1.0.1/setup.cfg +4 -0
- bstkchat-1.0.1/setup.py +28 -0
bstkchat-1.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: bstkchat
|
|
3
|
+
Version: 1.0.1
|
|
4
|
+
Summary: A real-time Terminal-based Chatting Application using unique room IDs.
|
|
5
|
+
Author: BSTK Developers
|
|
6
|
+
Project-URL: Homepage, https://github.com/yourusername/bstkchat
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Classifier: Environment :: Console
|
|
11
|
+
Requires-Python: >=3.7
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
Requires-Dist: paho-mqtt>=1.6.1
|
|
14
|
+
Requires-Dist: rich>=13.0.0
|
|
15
|
+
Requires-Dist: prompt-toolkit>=3.0.0
|
|
16
|
+
Dynamic: author
|
|
17
|
+
Dynamic: requires-python
|
|
18
|
+
|
|
19
|
+
# **BSTK Chat (bstkchat)**
|
|
20
|
+
|
|
21
|
+
bstkchat is a real-time, terminal-based, zero-configuration collaborative chat client. Anyone who launches the client and joins using the same Room ID will instantly join a shared, encrypted-by-knowledge room to text and exchange thoughts.
|
|
22
|
+
|
|
23
|
+
## **Features**
|
|
24
|
+
|
|
25
|
+
* **Zero Configuration**: Connects instantly to a public MQTT infrastructure—no servers to set up or configure\!
|
|
26
|
+
* **Non-blocking Input**: Messages arriving dynamically will *never* corrupt or break the active line you are typing into, thanks to prompt\_toolkit.
|
|
27
|
+
* **Memorable Auto-Rooms**: If you don't supply a Room ID, the app will generate a fun phonetic key like quantum-beacon-55 for you.
|
|
28
|
+
* **Deterministic Color Codes**: Users are automatically allocated static text colors based on their username hashes, making conversations extremely easy to follow.
|
|
29
|
+
* **Command Architecture**: Supports built-in slash commands to change nicknames, jump rooms, see active user tables, and clear logs.
|
|
30
|
+
|
|
31
|
+
## **Installation**
|
|
32
|
+
|
|
33
|
+
### **Method 1: Local Pip installation (Recommended)**
|
|
34
|
+
|
|
35
|
+
1. Save the generated setup.py and bstkchat/cli.py files to your computer under a directory layout like this:
|
|
36
|
+
my-chat-app/
|
|
37
|
+
├── setup.py
|
|
38
|
+
└── bstkchat/
|
|
39
|
+
├── \_\_init\_\_.py (this can be empty)
|
|
40
|
+
└── cli.py
|
|
41
|
+
|
|
42
|
+
2. Navigate into the parent directory my-chat-app and execute:
|
|
43
|
+
pip install .
|
|
44
|
+
|
|
45
|
+
3. Once completed, simply run the global cli application from anywhere:
|
|
46
|
+
bstkchat
|
|
47
|
+
|
|
48
|
+
### **Method 2: Running directly from Python**
|
|
49
|
+
|
|
50
|
+
If you do not want to install it as a system CLI tool, install dependencies and run:
|
|
51
|
+
|
|
52
|
+
pip install paho-mqtt rich prompt-toolkit
|
|
53
|
+
python \-m bstkchat.cli
|
|
54
|
+
|
|
55
|
+
## **Slash Commands inside BSTK Chat**
|
|
56
|
+
|
|
57
|
+
| Command | Action |
|
|
58
|
+
| :---- | :---- |
|
|
59
|
+
| /help | Displays a formatted table listing all commands |
|
|
60
|
+
| /room \<new-room-id\> | Switches context and connects you to a new room ID instantly |
|
|
61
|
+
| /nick \<new-name\> | Renames your user identity inside the room and alerts others |
|
|
62
|
+
| /who or /users | Lists all online participants active inside your room |
|
|
63
|
+
| /clear | Wipes the active console screen |
|
|
64
|
+
| /exit | Gracefully announces leave status and exits the CLI |
|
|
65
|
+
|
bstkchat-1.0.1/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# **BSTK Chat (bstkchat)**
|
|
2
|
+
|
|
3
|
+
bstkchat is a real-time, terminal-based, zero-configuration collaborative chat client. Anyone who launches the client and joins using the same Room ID will instantly join a shared, encrypted-by-knowledge room to text and exchange thoughts.
|
|
4
|
+
|
|
5
|
+
## **Features**
|
|
6
|
+
|
|
7
|
+
* **Zero Configuration**: Connects instantly to a public MQTT infrastructure—no servers to set up or configure\!
|
|
8
|
+
* **Non-blocking Input**: Messages arriving dynamically will *never* corrupt or break the active line you are typing into, thanks to prompt\_toolkit.
|
|
9
|
+
* **Memorable Auto-Rooms**: If you don't supply a Room ID, the app will generate a fun phonetic key like quantum-beacon-55 for you.
|
|
10
|
+
* **Deterministic Color Codes**: Users are automatically allocated static text colors based on their username hashes, making conversations extremely easy to follow.
|
|
11
|
+
* **Command Architecture**: Supports built-in slash commands to change nicknames, jump rooms, see active user tables, and clear logs.
|
|
12
|
+
|
|
13
|
+
## **Installation**
|
|
14
|
+
|
|
15
|
+
### **Method 1: Local Pip installation (Recommended)**
|
|
16
|
+
|
|
17
|
+
1. Save the generated setup.py and bstkchat/cli.py files to your computer under a directory layout like this:
|
|
18
|
+
my-chat-app/
|
|
19
|
+
├── setup.py
|
|
20
|
+
└── bstkchat/
|
|
21
|
+
├── \_\_init\_\_.py (this can be empty)
|
|
22
|
+
└── cli.py
|
|
23
|
+
|
|
24
|
+
2. Navigate into the parent directory my-chat-app and execute:
|
|
25
|
+
pip install .
|
|
26
|
+
|
|
27
|
+
3. Once completed, simply run the global cli application from anywhere:
|
|
28
|
+
bstkchat
|
|
29
|
+
|
|
30
|
+
### **Method 2: Running directly from Python**
|
|
31
|
+
|
|
32
|
+
If you do not want to install it as a system CLI tool, install dependencies and run:
|
|
33
|
+
|
|
34
|
+
pip install paho-mqtt rich prompt-toolkit
|
|
35
|
+
python \-m bstkchat.cli
|
|
36
|
+
|
|
37
|
+
## **Slash Commands inside BSTK Chat**
|
|
38
|
+
|
|
39
|
+
| Command | Action |
|
|
40
|
+
| :---- | :---- |
|
|
41
|
+
| /help | Displays a formatted table listing all commands |
|
|
42
|
+
| /room \<new-room-id\> | Switches context and connects you to a new room ID instantly |
|
|
43
|
+
| /nick \<new-name\> | Renames your user identity inside the room and alerts others |
|
|
44
|
+
| /who or /users | Lists all online participants active inside your room |
|
|
45
|
+
| /clear | Wipes the active console screen |
|
|
46
|
+
| /exit | Gracefully announces leave status and exits the CLI |
|
|
47
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: bstkchat
|
|
3
|
+
Version: 1.0.1
|
|
4
|
+
Summary: A real-time Terminal-based Chatting Application using unique room IDs.
|
|
5
|
+
Author: BSTK Developers
|
|
6
|
+
Project-URL: Homepage, https://github.com/yourusername/bstkchat
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Classifier: Environment :: Console
|
|
11
|
+
Requires-Python: >=3.7
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
Requires-Dist: paho-mqtt>=1.6.1
|
|
14
|
+
Requires-Dist: rich>=13.0.0
|
|
15
|
+
Requires-Dist: prompt-toolkit>=3.0.0
|
|
16
|
+
Dynamic: author
|
|
17
|
+
Dynamic: requires-python
|
|
18
|
+
|
|
19
|
+
# **BSTK Chat (bstkchat)**
|
|
20
|
+
|
|
21
|
+
bstkchat is a real-time, terminal-based, zero-configuration collaborative chat client. Anyone who launches the client and joins using the same Room ID will instantly join a shared, encrypted-by-knowledge room to text and exchange thoughts.
|
|
22
|
+
|
|
23
|
+
## **Features**
|
|
24
|
+
|
|
25
|
+
* **Zero Configuration**: Connects instantly to a public MQTT infrastructure—no servers to set up or configure\!
|
|
26
|
+
* **Non-blocking Input**: Messages arriving dynamically will *never* corrupt or break the active line you are typing into, thanks to prompt\_toolkit.
|
|
27
|
+
* **Memorable Auto-Rooms**: If you don't supply a Room ID, the app will generate a fun phonetic key like quantum-beacon-55 for you.
|
|
28
|
+
* **Deterministic Color Codes**: Users are automatically allocated static text colors based on their username hashes, making conversations extremely easy to follow.
|
|
29
|
+
* **Command Architecture**: Supports built-in slash commands to change nicknames, jump rooms, see active user tables, and clear logs.
|
|
30
|
+
|
|
31
|
+
## **Installation**
|
|
32
|
+
|
|
33
|
+
### **Method 1: Local Pip installation (Recommended)**
|
|
34
|
+
|
|
35
|
+
1. Save the generated setup.py and bstkchat/cli.py files to your computer under a directory layout like this:
|
|
36
|
+
my-chat-app/
|
|
37
|
+
├── setup.py
|
|
38
|
+
└── bstkchat/
|
|
39
|
+
├── \_\_init\_\_.py (this can be empty)
|
|
40
|
+
└── cli.py
|
|
41
|
+
|
|
42
|
+
2. Navigate into the parent directory my-chat-app and execute:
|
|
43
|
+
pip install .
|
|
44
|
+
|
|
45
|
+
3. Once completed, simply run the global cli application from anywhere:
|
|
46
|
+
bstkchat
|
|
47
|
+
|
|
48
|
+
### **Method 2: Running directly from Python**
|
|
49
|
+
|
|
50
|
+
If you do not want to install it as a system CLI tool, install dependencies and run:
|
|
51
|
+
|
|
52
|
+
pip install paho-mqtt rich prompt-toolkit
|
|
53
|
+
python \-m bstkchat.cli
|
|
54
|
+
|
|
55
|
+
## **Slash Commands inside BSTK Chat**
|
|
56
|
+
|
|
57
|
+
| Command | Action |
|
|
58
|
+
| :---- | :---- |
|
|
59
|
+
| /help | Displays a formatted table listing all commands |
|
|
60
|
+
| /room \<new-room-id\> | Switches context and connects you to a new room ID instantly |
|
|
61
|
+
| /nick \<new-name\> | Renames your user identity inside the room and alerts others |
|
|
62
|
+
| /who or /users | Lists all online participants active inside your room |
|
|
63
|
+
| /clear | Wipes the active console screen |
|
|
64
|
+
| /exit | Gracefully announces leave status and exits the CLI |
|
|
65
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "bstkchat"
|
|
7
|
+
version = "1.0.1"
|
|
8
|
+
description = "A real-time Terminal-based Chatting Application using unique room IDs."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.7"
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"License :: OSI Approved :: MIT License",
|
|
14
|
+
"Operating System :: OS Independent",
|
|
15
|
+
"Environment :: Console",
|
|
16
|
+
]
|
|
17
|
+
dependencies = [
|
|
18
|
+
"paho-mqtt>=1.6.1",
|
|
19
|
+
"rich>=13.0.0",
|
|
20
|
+
"prompt-toolkit>=3.0.0",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
[project.scripts]
|
|
24
|
+
bstkchat = "bstkchat.cli:main"
|
|
25
|
+
|
|
26
|
+
[project.urls]
|
|
27
|
+
"Homepage" = "https://github.com/yourusername/bstkchat"
|
bstkchat-1.0.1/setup.cfg
ADDED
bstkchat-1.0.1/setup.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name="bstkchat",
|
|
5
|
+
version="1.0.1",
|
|
6
|
+
packages=find_packages(),
|
|
7
|
+
install_requires=[
|
|
8
|
+
"paho-mqtt>=1.6.1",
|
|
9
|
+
"rich>=13.0.0",
|
|
10
|
+
"prompt-toolkit>=3.0.0",
|
|
11
|
+
],
|
|
12
|
+
entry_points={
|
|
13
|
+
"console_scripts": [
|
|
14
|
+
"bstkchat=bstkchat.cli:main",
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
author="BSTK Developers",
|
|
18
|
+
description="A real-time Terminal-based Chatting Application using unique room IDs.",
|
|
19
|
+
long_description=open("README.md").read(),
|
|
20
|
+
long_description_content_type="text/markdown",
|
|
21
|
+
classifiers=[
|
|
22
|
+
"Programming Language :: Python :: 3",
|
|
23
|
+
"License :: OSI Approved :: MIT License",
|
|
24
|
+
"Operating System :: OS Independent",
|
|
25
|
+
"Environment :: Console",
|
|
26
|
+
],
|
|
27
|
+
python_requires=">=3.7",
|
|
28
|
+
)
|