sql-testing-tools 0.1.1__tar.gz → 0.1.3__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,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sql_testing_tools
3
- Version: 0.1.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. Additionally SQLite sample databases based on dbiu.de are contained.
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,3 +1,3 @@
1
1
  [Beta in Development]
2
2
 
3
- A library that normalizes simple SQL queries and compares them first by equality of the normalized string and then using the cosette API. Additionally SQLite sample databases based on dbiu.de are contained.
3
+ A library that normalizes simple SQL queries and compares them first by equality of the normalized string and then using the cosette API.
@@ -4,19 +4,14 @@ with open("README.md", "r") as fh:
4
4
  description = fh.read()
5
5
 
6
6
 
7
-
8
7
  setup(
9
8
  name='sql_testing_tools',
10
- version='0.1.1',
9
+ version='0.1.3',
11
10
  packages=find_packages(),
12
11
  install_requires=[
13
12
  'sqlparse>=0.5.1',
14
13
  'requests>=2.32.3'
15
14
  ],
16
- package_data={
17
- 'sql_testing_tools': ['databases/*.db'],
18
- },
19
- include_package_data=True,
20
15
  long_description=description,
21
16
  long_description_content_type="text/markdown"
22
17
  )
@@ -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
- with resources.path('sql_testing_tools', name) as db_path:
12
- __db = str(db_path)
13
- print(__db)
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.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. Additionally SQLite sample databases based on dbiu.de are contained.
10
+ A library that normalizes simple SQL queries and compares them first by equality of the normalized string and then using the cosette API.
@@ -7,7 +7,4 @@ sql_testing_tools.egg-info/PKG-INFO
7
7
  sql_testing_tools.egg-info/SOURCES.txt
8
8
  sql_testing_tools.egg-info/dependency_links.txt
9
9
  sql_testing_tools.egg-info/requires.txt
10
- sql_testing_tools.egg-info/top_level.txt
11
- sql_testing_tools/databases/bayern.db
12
- sql_testing_tools/databases/ladepunkte.db
13
- sql_testing_tools/databases/straftaten.db
10
+ sql_testing_tools.egg-info/top_level.txt