sqlmath 0.0.5__cp310-cp310-win_amd64.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.
- sqlmath/__init__.py +34 -0
- sqlmath/_sqlmath.cp310-win_amd64.pyd +0 -0
- sqlmath/sqlmath_dbapi2.py +3931 -0
- sqlmath-0.0.5.dist-info/LICENSE +19 -0
- sqlmath-0.0.5.dist-info/METADATA +154 -0
- sqlmath-0.0.5.dist-info/RECORD +8 -0
- sqlmath-0.0.5.dist-info/WHEEL +5 -0
- sqlmath-0.0.5.dist-info/top_level.txt +2 -0
sqlmath/__init__.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""sqlmath.py."""
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import sys
|
|
5
|
+
|
|
6
|
+
from .sqlmath_dbapi2 import * # noqa=F403
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def debugInline(*argv): # noqa=N802
|
|
10
|
+
"""This function will print <arg> to stderr and then return <arg0>."""
|
|
11
|
+
arg0 = argv[0] if argv else None
|
|
12
|
+
print("\n\ndebugInline", file=sys.stderr)
|
|
13
|
+
print(*argv, file=sys.stderr)
|
|
14
|
+
print("\n")
|
|
15
|
+
return arg0
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def noop(arg=None):
|
|
19
|
+
"""This function will do nothing."""
|
|
20
|
+
return arg
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def test_python_run():
|
|
24
|
+
"""This function will run python tests."""
|
|
25
|
+
import unittest
|
|
26
|
+
|
|
27
|
+
from .sqlmath_dbapi2 import test_suite_list
|
|
28
|
+
for test_suite in test_suite_list:
|
|
29
|
+
results = unittest.TextTestRunner(
|
|
30
|
+
verbosity=1,
|
|
31
|
+
failfast=False,
|
|
32
|
+
).run(test_suite())
|
|
33
|
+
if results.failures or results.errors:
|
|
34
|
+
sys.exit(1)
|
|
Binary file
|