ChaTerminal 1.0.0__tar.gz → 1.0.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ChaTerminal
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: A terminal-based encrypted chat system for LAN and remote connections
5
5
  Home-page: https://github.com/Gofaone315/ChaTerminal
6
6
  Author: Gofaone Tlalang
@@ -16,6 +16,7 @@ Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
17
  Requires-Dist: colorama
18
18
  Requires-Dist: pyfiglet
19
+ Requires-Dist: pyreadline3; platform_system == "windows"
19
20
  Dynamic: author
20
21
  Dynamic: author-email
21
22
  Dynamic: classifier
@@ -68,7 +69,7 @@ pip install ChaTerminal
68
69
  ### Running the Server
69
70
 
70
71
  ```bash
71
- ChaTerminal init server
72
+ python -m ChaTerminal init server
72
73
  ```
73
74
 
74
75
  - Enter a port (e.g., `5555`) and the admin username
@@ -79,7 +80,7 @@ ChaTerminal init server
79
80
  In a **new terminal window**:
80
81
 
81
82
  ```bash
82
- ChaTerminal init client
83
+ python -m ChaTerminal init client
83
84
  ```
84
85
 
85
86
  - Enter the server IP, port, and a unique username
@@ -108,12 +109,12 @@ To let others join:
108
109
 
109
110
  ```bash
110
111
  # Start server
111
- $ ChaTerminal init server
112
+ $ python -m ChaTerminal init server
112
113
  Port: 5555
113
114
  Admin Username: admin
114
115
 
115
116
  # Start client
116
- $ ChaTerminal init client
117
+ $ python -m ChaTerminal init client
117
118
  Server IP: 192.168.1.100
118
119
  Server Port: 5555
119
120
  Username: myname
@@ -132,6 +133,14 @@ This project is licensed under the MIT License. See `LICENSE` for more info.
132
133
  **Gofaone Tlalang**
133
134
  GitHub: [@Gofaone315](https://github.com/Gofaone315)
134
135
 
136
+ ## Contributors ✨
137
+
138
+ Thanks goes to these wonderful people:
139
+
140
+ <a href = "https://github.com/Tanu-N-Prabhu/Python/graphs/contributors">
141
+ <img src = "https://contrib.rocks/image?repo=Gofaone315/ChaTerminal"/>
142
+ </a>
143
+
135
144
  ---
136
145
 
137
146
  **ChaTerminal** – Real-time encrypted chat, right from your terminal.
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ ChaTerminal = ChaTerminal.cli:main
@@ -0,0 +1,5 @@
1
+ colorama
2
+ pyfiglet
3
+
4
+ [:platform_system == "windows"]
5
+ pyreadline3
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ChaTerminal
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: A terminal-based encrypted chat system for LAN and remote connections
5
5
  Home-page: https://github.com/Gofaone315/ChaTerminal
6
6
  Author: Gofaone Tlalang
@@ -16,6 +16,7 @@ Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
17
  Requires-Dist: colorama
18
18
  Requires-Dist: pyfiglet
19
+ Requires-Dist: pyreadline3; platform_system == "windows"
19
20
  Dynamic: author
20
21
  Dynamic: author-email
21
22
  Dynamic: classifier
@@ -68,7 +69,7 @@ pip install ChaTerminal
68
69
  ### Running the Server
69
70
 
70
71
  ```bash
71
- ChaTerminal init server
72
+ python -m ChaTerminal init server
72
73
  ```
73
74
 
74
75
  - Enter a port (e.g., `5555`) and the admin username
@@ -79,7 +80,7 @@ ChaTerminal init server
79
80
  In a **new terminal window**:
80
81
 
81
82
  ```bash
82
- ChaTerminal init client
83
+ python -m ChaTerminal init client
83
84
  ```
84
85
 
85
86
  - Enter the server IP, port, and a unique username
@@ -108,12 +109,12 @@ To let others join:
108
109
 
109
110
  ```bash
110
111
  # Start server
111
- $ ChaTerminal init server
112
+ $ python -m ChaTerminal init server
112
113
  Port: 5555
113
114
  Admin Username: admin
114
115
 
115
116
  # Start client
116
- $ ChaTerminal init client
117
+ $ python -m ChaTerminal init client
117
118
  Server IP: 192.168.1.100
118
119
  Server Port: 5555
119
120
  Username: myname
@@ -132,6 +133,14 @@ This project is licensed under the MIT License. See `LICENSE` for more info.
132
133
  **Gofaone Tlalang**
133
134
  GitHub: [@Gofaone315](https://github.com/Gofaone315)
134
135
 
136
+ ## Contributors ✨
137
+
138
+ Thanks goes to these wonderful people:
139
+
140
+ <a href = "https://github.com/Tanu-N-Prabhu/Python/graphs/contributors">
141
+ <img src = "https://contrib.rocks/image?repo=Gofaone315/ChaTerminal"/>
142
+ </a>
143
+
135
144
  ---
136
145
 
137
146
  **ChaTerminal** – Real-time encrypted chat, right from your terminal.
@@ -39,7 +39,7 @@ pip install ChaTerminal
39
39
  ### Running the Server
40
40
 
41
41
  ```bash
42
- ChaTerminal init server
42
+ python -m ChaTerminal init server
43
43
  ```
44
44
 
45
45
  - Enter a port (e.g., `5555`) and the admin username
@@ -50,7 +50,7 @@ ChaTerminal init server
50
50
  In a **new terminal window**:
51
51
 
52
52
  ```bash
53
- ChaTerminal init client
53
+ python -m ChaTerminal init client
54
54
  ```
55
55
 
56
56
  - Enter the server IP, port, and a unique username
@@ -79,12 +79,12 @@ To let others join:
79
79
 
80
80
  ```bash
81
81
  # Start server
82
- $ ChaTerminal init server
82
+ $ python -m ChaTerminal init server
83
83
  Port: 5555
84
84
  Admin Username: admin
85
85
 
86
86
  # Start client
87
- $ ChaTerminal init client
87
+ $ python -m ChaTerminal init client
88
88
  Server IP: 192.168.1.100
89
89
  Server Port: 5555
90
90
  Username: myname
@@ -103,6 +103,14 @@ This project is licensed under the MIT License. See `LICENSE` for more info.
103
103
  **Gofaone Tlalang**
104
104
  GitHub: [@Gofaone315](https://github.com/Gofaone315)
105
105
 
106
+ ## Contributors ✨
107
+
108
+ Thanks goes to these wonderful people:
109
+
110
+ <a href = "https://github.com/Tanu-N-Prabhu/Python/graphs/contributors">
111
+ <img src = "https://contrib.rocks/image?repo=Gofaone315/ChaTerminal"/>
112
+ </a>
113
+
106
114
  ---
107
115
 
108
116
  **ChaTerminal** – Real-time encrypted chat, right from your terminal.
@@ -1,6 +1,12 @@
1
1
  import pyfiglet
2
2
  import time
3
+ import subprocess
3
4
  import sys
5
+ import os
6
+
7
+ def clear_console():
8
+ command = 'cls' if os.name == 'nt' else 'clear'
9
+ subprocess.run(command, shell=True)
4
10
 
5
11
  def typewriter(text, delay=0.005, beep=False):
6
12
  for char in text:
@@ -13,6 +19,7 @@ def typewriter(text, delay=0.005, beep=False):
13
19
  print()
14
20
 
15
21
  def splash():
22
+ clear_console()
16
23
  banner = pyfiglet.figlet_format("ChaTerminal", font="slant")
17
24
  print("\033[1;32m", end="") # Green
18
25
  typewriter(banner, delay=0.002, beep=True)
@@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text(encoding="utf-8")
6
6
 
7
7
  setup(
8
8
  name="ChaTerminal",
9
- version="1.0.0",
9
+ version="1.0.2",
10
10
  author="Gofaone Tlalang",
11
11
  author_email="gofaonetlalang@gmail.com",
12
12
  description="A terminal-based encrypted chat system for LAN and remote connections",
@@ -16,7 +16,7 @@ setup(
16
16
  packages=find_packages(),
17
17
  entry_points={
18
18
  "console_scripts": [
19
- "chat=ChaTerminal.cli:main"
19
+ "ChaTerminal=ChaTerminal.cli:main"
20
20
  ]
21
21
  },
22
22
  classifiers=[
@@ -30,6 +30,7 @@ setup(
30
30
  python_requires=">=3.6",
31
31
  install_requires=[
32
32
  "colorama",
33
- "pyfiglet"
33
+ "pyfiglet",
34
+ "pyreadline3; platform_system=='windows'"
34
35
  ],
35
36
  )
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- chat = ChaTerminal.cli:main
@@ -1,2 +0,0 @@
1
- colorama
2
- pyfiglet
File without changes
File without changes