Skip to content

Commit 584f777

Browse files
committed
added
1 parent 81fc026 commit 584f777

7 files changed

Lines changed: 34 additions & 10 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ Comprehensive CLI tool for load testing web applications and Telegram bots with
2020

2121
## Installation
2222

23+
https://pypi.org/project/chakload-cli/1.0.0/
24+
2325
```bash
24-
pip install chakload-cli
26+
pip install chakload-cli==1.0.0
2527
```
2628

2729
Or using pipx:

chakload_cli.egg-info/PKG-INFO

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Classifier: Topic :: System :: Benchmark
2222
Classifier: Topic :: Utilities
2323
Requires-Python: >=3.9
2424
Description-Content-Type: text/markdown
25+
License-File: LICENSE
2526
Requires-Dist: typer>=0.9.0
2627
Requires-Dist: rich>=13.0.0
2728
Requires-Dist: PyYAML>=6.0
@@ -34,8 +35,16 @@ Requires-Dist: pytest-cov>=4.0; extra == "dev"
3435
Requires-Dist: black>=23.0; extra == "dev"
3536
Requires-Dist: flake8>=6.0; extra == "dev"
3637
Requires-Dist: mypy>=1.0; extra == "dev"
38+
Dynamic: license-file
3739

38-
# LoadTester CLI
40+
```
41+
██████╗██╗ ██╗ █████╗ ██╗ ██╗██╗ ██████╗ █████╗ ██████╗
42+
██╔════╝██║ ██║██╔══██╗██║ ██╔╝██║ ██╔═══██╗██╔══██╗██╔══██╗
43+
██║ ███████║███████║█████╔╝ ██║ ██║ ██║███████║██║ ██║
44+
██║ ██╔══██║██╔══██║██╔═██╗ ██║ ██║ ██║██╔══██║██║ ██║
45+
╚██████╗██║ ██║██║ ██║██║ ██╗███████╗╚██████╔╝██║ ██║██████╔╝
46+
╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝
47+
```
3948

4049
Comprehensive CLI tool for load testing web applications and Telegram bots with support for multiple frameworks (Locust, K6, Artillery, JMeter).
4150

@@ -51,13 +60,13 @@ Comprehensive CLI tool for load testing web applications and Telegram bots with
5160
## Installation
5261

5362
```bash
54-
pip install loadtester-cli
63+
pip install chakload-cli
5564
```
5665

5766
Or using pipx:
5867

5968
```bash
60-
pipx install loadtester-cli
69+
pipx install chakload-cli
6170
```
6271

6372
After installation, run the tool using:

chakload_cli.egg-info/SOURCES.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
LICENSE
12
README.md
23
pyproject.toml
34
chakload_cli.egg-info/PKG-INFO
@@ -565,6 +566,12 @@ loadtester_env/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py
565566
loadtester_env/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py
566567
loadtester_env/Lib/site-packages/pip/_vendor/urllib3/util/url.py
567568
loadtester_env/Lib/site-packages/pip/_vendor/urllib3/util/wait.py
569+
loadtester_env/Lib/site-packages/pyfiglet/__init__.py
570+
loadtester_env/Lib/site-packages/pyfiglet/__main__.py
571+
loadtester_env/Lib/site-packages/pyfiglet/py.typed
572+
loadtester_env/Lib/site-packages/pyfiglet/test.py
573+
loadtester_env/Lib/site-packages/pyfiglet/version.py
574+
loadtester_env/Lib/site-packages/pyfiglet/fonts/__init__.py
568575
loadtester_env/Lib/site-packages/pygments/__init__.py
569576
loadtester_env/Lib/site-packages/pygments/__main__.py
570577
loadtester_env/Lib/site-packages/pygments/cmdline.py
17.5 KB
Binary file not shown.

dist/chakload_cli-1.0.0.tar.gz

14.8 KB
Binary file not shown.
312 Bytes
Binary file not shown.

loadtester/cli.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ def show_ascii_art():
2727
"""Display ASCII art welcome message."""
2828
console = Console()
2929
ascii_art = r"""
30-
██╗ ██╗███████╗█████╗ ███████╗██████╗ ██╗███████╗██╗ ██╗
31-
██║ ██║██╔════╝██╔══██╗██╔════╝██╔══██╗██║██╔════╝██║ ██║
32-
███████║█████╗ ██████╔╝█████╗ ██████╔╝██║███████╗███████║
33-
██╔══██║██╔══╝ ██╔══██╗██╔══╝ ██╔══██╗██║╚════██║██╔══██║
34-
██║ ██║███████╗██████╔╝█████████████╔╝██║███████║██║ ██║
35-
╚═╝ ╚═╝╚══════╝╚═════╝ ╚══════╝╚═════╝ ╚═╝╚══════╝╚═╝ ╚═╝
30+
██████╗██╗ ██╗ █████╗ ██╗ ██╗██╗ ██████╗ ███████████╗
31+
██╔════╝██║ ██║██╔══██╗██║ ██╔╝██║ ██╔═══██╗██╔══██╗██╔══██╗
32+
██║ ███████║███████║█████╔╝ ██║ ██║ ██║███████║██║ ██║
33+
██║ ██╔══██║██╔══██║██╔═██╗ ██║ ██║ ██║██╔══██║████║
34+
╚██████╗██║ ██║██║ ██║██║ ██╗███████╗╚██████╔╝██║ ██║██████╔╝
35+
╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝
3636
"""
3737
console.print(ascii_art, style="bold blue")
3838
console.print("[bold green]CHAKLOAD - Advanced Load Testing CLI[/bold green]")
@@ -109,11 +109,17 @@ def interactive_cmd():
109109
typer.echo("\n\nExiting LoadTester CLI...")
110110
break
111111

112+
def clear_screen():
113+
"""Clear the terminal screen."""
114+
import os
115+
os.system('cls' if os.name == 'nt' else 'clear')
116+
112117
# Make interactive the default command
113118
@app.callback(invoke_without_command=True)
114119
def default(ctx: typer.Context):
115120
"""Default command that runs interactive mode if no subcommand is provided."""
116121
if ctx.invoked_subcommand is None:
122+
clear_screen() # Clear screen before showing ASCII art
117123
interactive_cmd()
118124

119125
def handle_command(args):

0 commit comments

Comments
 (0)