py-dbms-cli 3.0.2__tar.gz → 3.0.4__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.
- {py_dbms_cli-3.0.2/py_dbms_cli.egg-info → py_dbms_cli-3.0.4}/PKG-INFO +1 -1
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4/py_dbms_cli.egg-info}/PKG-INFO +1 -1
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/core.py +4 -1
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/db/mysql.py +4 -4
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pyproject.toml +1 -1
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/LICENSE +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/MANIFEST.in +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/README.md +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/py_dbms_cli.egg-info/SOURCES.txt +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/py_dbms_cli.egg-info/dependency_links.txt +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/py_dbms_cli.egg-info/entry_points.txt +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/py_dbms_cli.egg-info/requires.txt +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/py_dbms_cli.egg-info/top_level.txt +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/Global.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/__init__.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/cli.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/config.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/db/db_base.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/db/db_manager.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/dependencies.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/export/export_base.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/export/export_csv.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/export/export_manager.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/profile.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/pydbms_mysql.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/pydbms/pydbms_path.py +0 -0
- {py_dbms_cli-3.0.2 → py_dbms_cli-3.0.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: py-dbms-cli
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.4
|
|
4
4
|
Summary: A modern, secure, aesthetic and your ultimate DBMS client. Implemented as a CLI (Command-Line Interface) tool and written 100% in Python
|
|
5
5
|
Author-email: Anish Sethi <sethi.dynasty123@gmail.com>
|
|
6
6
|
License: Copyright 2025 Anish Sethi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: py-dbms-cli
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.4
|
|
4
4
|
Summary: A modern, secure, aesthetic and your ultimate DBMS client. Implemented as a CLI (Command-Line Interface) tool and written 100% in Python
|
|
5
5
|
Author-email: Anish Sethi <sethi.dynasty123@gmail.com>
|
|
6
6
|
License: Copyright 2025 Anish Sethi
|
|
@@ -28,7 +28,7 @@ def print_banner() -> None:
|
|
|
28
28
|
banner_table.add_column("4", justify="center", ratio=1)
|
|
29
29
|
|
|
30
30
|
banner_table.add_row(
|
|
31
|
-
"[bold cyan]
|
|
31
|
+
"[bold cyan]v3.0.0[/]\n[bold white]Version[/]",
|
|
32
32
|
"[bold yellow]MySQL[/]\n[bold white]Currently Supported[/]",
|
|
33
33
|
"[bold green]Online since 2025[/]\n[bold white]Status[/]",
|
|
34
34
|
"[bold magenta]Experimental[/]\n[bold white]Release[/]"
|
|
@@ -384,6 +384,9 @@ def main():
|
|
|
384
384
|
|
|
385
385
|
con, cur = connect_db.driver("mysql", config)
|
|
386
386
|
|
|
387
|
+
while not con or not cur:
|
|
388
|
+
con, cur = connect_db.driver("mysql", config)
|
|
389
|
+
|
|
387
390
|
Print("If you are unsure where to start, here are some helper commands.", "YELLOW")
|
|
388
391
|
meta(".help",cur)
|
|
389
392
|
|
|
@@ -22,7 +22,7 @@ class MySQLConnector(DBConnector):
|
|
|
22
22
|
|
|
23
23
|
self.password = pwinput.pwinput("pydbms> Enter password: ", "*")
|
|
24
24
|
|
|
25
|
-
def connect(self):
|
|
25
|
+
def connect(self) -> tuple[object, object] | tuple[None, None]:
|
|
26
26
|
try:
|
|
27
27
|
self.connection = mysql.connect(
|
|
28
28
|
host=self.host,
|
|
@@ -34,6 +34,6 @@ class MySQLConnector(DBConnector):
|
|
|
34
34
|
Print("✅ Login successful.", "GREEN")
|
|
35
35
|
return self.connection, self.cursor
|
|
36
36
|
|
|
37
|
-
except mysql.Error
|
|
38
|
-
Print(f"❌
|
|
39
|
-
|
|
37
|
+
except mysql.Error:
|
|
38
|
+
Print(f"❌ Incorrect Password entered. Try again", "RED", "bold")
|
|
39
|
+
return None, None
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "py-dbms-cli"
|
|
7
|
-
version = "3.0.
|
|
7
|
+
version = "3.0.4"
|
|
8
8
|
description = "A modern, secure, aesthetic and your ultimate DBMS client. Implemented as a CLI (Command-Line Interface) tool and written 100% in Python"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { file = "LICENSE" }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|