sql-testing-tools 0.1.0__py3-none-any.whl → 0.1.2__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 +4 -3
- sql_testing_tools-0.1.2.dist-info/METADATA +10 -0
- {sql_testing_tools-0.1.0.dist-info → sql_testing_tools-0.1.2.dist-info}/RECORD +5 -5
- sql_testing_tools-0.1.0.dist-info/METADATA +0 -6
- {sql_testing_tools-0.1.0.dist-info → sql_testing_tools-0.1.2.dist-info}/WHEEL +0 -0
- {sql_testing_tools-0.1.0.dist-info → sql_testing_tools-0.1.2.dist-info}/top_level.txt +0 -0
sql_testing_tools/BaseAccess.py
CHANGED
|
@@ -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")
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: sql_testing_tools
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Description-Content-Type: text/markdown
|
|
5
|
+
Requires-Dist: sqlparse>=0.5.1
|
|
6
|
+
Requires-Dist: requests>=2.32.3
|
|
7
|
+
|
|
8
|
+
[Beta in Development]
|
|
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.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
sql_testing_tools/BaseAccess.py,sha256=
|
|
1
|
+
sql_testing_tools/BaseAccess.py,sha256=IVS6bULAtMJoDUSI1x-lOxqtn6B1Km6sM-srr4MDx7I,5221
|
|
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.2.dist-info/METADATA,sha256=Em8f3G4k9B9vw77DGb51FBB9ccGahUA92APqZ8dgS_8,337
|
|
8
|
+
sql_testing_tools-0.1.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
9
|
+
sql_testing_tools-0.1.2.dist-info/top_level.txt,sha256=qwEkmfJ_lYhIwcLXgfU75m0_JavVbOg96fN2zSatN3E,18
|
|
10
|
+
sql_testing_tools-0.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|