sql-testing-tools 0.1.1__py3-none-any.whl → 0.1.3__py3-none-any.whl
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.
- sql_testing_tools/BaseAccess.py +5 -4
- {sql_testing_tools-0.1.1.dist-info → sql_testing_tools-0.1.3.dist-info}/METADATA +2 -2
- {sql_testing_tools-0.1.1.dist-info → sql_testing_tools-0.1.3.dist-info}/RECORD +5 -5
- {sql_testing_tools-0.1.1.dist-info → sql_testing_tools-0.1.3.dist-info}/WHEEL +0 -0
- {sql_testing_tools-0.1.1.dist-info → sql_testing_tools-0.1.3.dist-info}/top_level.txt +0 -0
sql_testing_tools/BaseAccess.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import sqlite3
|
|
2
2
|
import os
|
|
3
|
-
from importlib import resources
|
|
3
|
+
#from importlib import resources
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
__db=""
|
|
@@ -8,9 +8,10 @@ __db=""
|
|
|
8
8
|
def setDBName(name: str):
|
|
9
9
|
global __db
|
|
10
10
|
print("Setting DB to: " + name)
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
__db = "databases/"+name
|
|
12
|
+
#with resources.path('sql_testing_tools', name) as db_path:
|
|
13
|
+
# __db = str(db_path)
|
|
14
|
+
# print(__db)
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
setDBName("bayern.db")
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sql_testing_tools
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Description-Content-Type: text/markdown
|
|
5
5
|
Requires-Dist: sqlparse>=0.5.1
|
|
6
6
|
Requires-Dist: requests>=2.32.3
|
|
7
7
|
|
|
8
8
|
[Beta in Development]
|
|
9
9
|
|
|
10
|
-
A library that normalizes simple SQL queries and compares them first by equality of the normalized string and then using the cosette API.
|
|
10
|
+
A library that normalizes simple SQL queries and compares them first by equality of the normalized string and then using the cosette API.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
sql_testing_tools/BaseAccess.py,sha256=
|
|
1
|
+
sql_testing_tools/BaseAccess.py,sha256=bx9TxrizEEODLNP9KWZZEHCFCdyYyUGYI_o162ODUaU,5222
|
|
2
2
|
sql_testing_tools/Helper.py,sha256=wEun9GAuEP6ibTAHoNnqWqEshWpiT1fJnicVIpwmtJM,16714
|
|
3
3
|
sql_testing_tools/__init__.py,sha256=NYoXmLD8NmuU9TnMS46-gXmMutFHAXxuqaDlITZhRfY,52
|
|
4
4
|
sql_testing_tools/databases/bayern.db,sha256=gREMuoSNYyCeTn2v7e5nPafPKr5IKw5XfYgbn2yxun0,4874240
|
|
5
5
|
sql_testing_tools/databases/ladepunkte.db,sha256=ZR-ibbtdCtovPg6i5eAdKY-E4ahkWkZXha71c1RB6pA,7430144
|
|
6
6
|
sql_testing_tools/databases/straftaten.db,sha256=Z1T5OUI1CTvxNFlFGzyjfesdhK9fivgzHxVW4lyRC2w,50950144
|
|
7
|
-
sql_testing_tools-0.1.
|
|
8
|
-
sql_testing_tools-0.1.
|
|
9
|
-
sql_testing_tools-0.1.
|
|
10
|
-
sql_testing_tools-0.1.
|
|
7
|
+
sql_testing_tools-0.1.3.dist-info/METADATA,sha256=VEM0XmXZeF2c9x-CYDSne5Wms9fVWPCG-P5vv3Fgwho,337
|
|
8
|
+
sql_testing_tools-0.1.3.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
9
|
+
sql_testing_tools-0.1.3.dist-info/top_level.txt,sha256=qwEkmfJ_lYhIwcLXgfU75m0_JavVbOg96fN2zSatN3E,18
|
|
10
|
+
sql_testing_tools-0.1.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|