SQLPyHelper 0.1.6__tar.gz → 0.1.8__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.
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/PKG-INFO +19 -2
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/README.md +1 -1
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/SQLPyHelper.egg-info/PKG-INFO +19 -2
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/SQLPyHelper.egg-info/SOURCES.txt +4 -0
- sqlpyhelper-0.1.8/SQLPyHelper.egg-info/requires.txt +42 -0
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/pyproject.toml +3 -0
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/setup.py +8 -5
- sqlpyhelper-0.1.8/sqlpyhelper/__init__.py +15 -0
- sqlpyhelper-0.1.8/sqlpyhelper/async_helper.py +599 -0
- sqlpyhelper-0.1.8/sqlpyhelper/migration.py +382 -0
- sqlpyhelper-0.1.8/test/test_async_helper.py +478 -0
- sqlpyhelper-0.1.8/test/test_migration.py +317 -0
- sqlpyhelper-0.1.6/SQLPyHelper.egg-info/requires.txt +0 -20
- sqlpyhelper-0.1.6/sqlpyhelper/__init__.py +0 -9
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/LICENSE +0 -0
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/SQLPyHelper.egg-info/dependency_links.txt +0 -0
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/SQLPyHelper.egg-info/entry_points.txt +0 -0
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/SQLPyHelper.egg-info/top_level.txt +0 -0
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/setup.cfg +0 -0
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/sqlpyhelper/automation_utils.py +0 -0
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/sqlpyhelper/cli.py +0 -0
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/sqlpyhelper/db_helper.py +0 -0
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/sqlpyhelper/py.typed +0 -0
- {sqlpyhelper-0.1.6 → sqlpyhelper-0.1.8}/test/test_sqlpyhelper.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: SQLPyHelper
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.8
|
|
4
4
|
Summary: A simple SQL database helper package for Python.
|
|
5
5
|
Home-page: https://github.com/adebayopeter/sqlpyhelper
|
|
6
6
|
Author: Adebayo Olaonipekun
|
|
@@ -34,11 +34,28 @@ Provides-Extra: sqlserver
|
|
|
34
34
|
Requires-Dist: pyodbc; extra == "sqlserver"
|
|
35
35
|
Provides-Extra: oracle
|
|
36
36
|
Requires-Dist: oracledb; extra == "oracle"
|
|
37
|
+
Provides-Extra: async-postgres
|
|
38
|
+
Requires-Dist: asyncpg; extra == "async-postgres"
|
|
39
|
+
Provides-Extra: async-mysql
|
|
40
|
+
Requires-Dist: aiomysql; extra == "async-mysql"
|
|
41
|
+
Provides-Extra: async-sqlite
|
|
42
|
+
Requires-Dist: aiosqlite; extra == "async-sqlite"
|
|
43
|
+
Provides-Extra: async-sqlserver
|
|
44
|
+
Requires-Dist: aioodbc; extra == "async-sqlserver"
|
|
45
|
+
Provides-Extra: async-all
|
|
46
|
+
Requires-Dist: asyncpg; extra == "async-all"
|
|
47
|
+
Requires-Dist: aiomysql; extra == "async-all"
|
|
48
|
+
Requires-Dist: aiosqlite; extra == "async-all"
|
|
49
|
+
Requires-Dist: aioodbc; extra == "async-all"
|
|
37
50
|
Provides-Extra: all
|
|
38
51
|
Requires-Dist: psycopg2; extra == "all"
|
|
39
52
|
Requires-Dist: mysql-connector-python; extra == "all"
|
|
40
53
|
Requires-Dist: pyodbc; extra == "all"
|
|
41
54
|
Requires-Dist: oracledb; extra == "all"
|
|
55
|
+
Requires-Dist: asyncpg; extra == "all"
|
|
56
|
+
Requires-Dist: aiomysql; extra == "all"
|
|
57
|
+
Requires-Dist: aiosqlite; extra == "all"
|
|
58
|
+
Requires-Dist: aioodbc; extra == "all"
|
|
42
59
|
Dynamic: author
|
|
43
60
|
Dynamic: author-email
|
|
44
61
|
Dynamic: classifier
|
|
@@ -56,11 +73,11 @@ Dynamic: summary
|
|
|
56
73
|
# SQLPyHelper
|
|
57
74
|
|
|
58
75
|
[](https://pypi.org/project/sqlpyhelper/)
|
|
76
|
+
[](https://sqlpyhelper.readthedocs.io/en/latest/)
|
|
59
77
|
[](https://pypi.org/project/sqlpyhelper/)
|
|
60
78
|
[](https://pypi.org/project/sqlpyhelper/)
|
|
61
79
|
[](https://github.com/adebayopeter/sqlpyhelper/blob/main/LICENSE)
|
|
62
80
|
[](https://github.com/adebayopeter/sqlpyhelper)
|
|
63
|
-
[](https://sqlpyhelper.readthedocs.io/en/latest/)
|
|
64
81
|
|
|
65
82
|
SQLPyHelper is a lightweight Python library that gives you a single, consistent API across **SQLite, PostgreSQL, MySQL, SQL Server, and Oracle** — without the overhead of an ORM.
|
|
66
83
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# SQLPyHelper
|
|
2
2
|
|
|
3
3
|
[](https://pypi.org/project/sqlpyhelper/)
|
|
4
|
+
[](https://sqlpyhelper.readthedocs.io/en/latest/)
|
|
4
5
|
[](https://pypi.org/project/sqlpyhelper/)
|
|
5
6
|
[](https://pypi.org/project/sqlpyhelper/)
|
|
6
7
|
[](https://github.com/adebayopeter/sqlpyhelper/blob/main/LICENSE)
|
|
7
8
|
[](https://github.com/adebayopeter/sqlpyhelper)
|
|
8
|
-
[](https://sqlpyhelper.readthedocs.io/en/latest/)
|
|
9
9
|
|
|
10
10
|
SQLPyHelper is a lightweight Python library that gives you a single, consistent API across **SQLite, PostgreSQL, MySQL, SQL Server, and Oracle** — without the overhead of an ORM.
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: SQLPyHelper
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.8
|
|
4
4
|
Summary: A simple SQL database helper package for Python.
|
|
5
5
|
Home-page: https://github.com/adebayopeter/sqlpyhelper
|
|
6
6
|
Author: Adebayo Olaonipekun
|
|
@@ -34,11 +34,28 @@ Provides-Extra: sqlserver
|
|
|
34
34
|
Requires-Dist: pyodbc; extra == "sqlserver"
|
|
35
35
|
Provides-Extra: oracle
|
|
36
36
|
Requires-Dist: oracledb; extra == "oracle"
|
|
37
|
+
Provides-Extra: async-postgres
|
|
38
|
+
Requires-Dist: asyncpg; extra == "async-postgres"
|
|
39
|
+
Provides-Extra: async-mysql
|
|
40
|
+
Requires-Dist: aiomysql; extra == "async-mysql"
|
|
41
|
+
Provides-Extra: async-sqlite
|
|
42
|
+
Requires-Dist: aiosqlite; extra == "async-sqlite"
|
|
43
|
+
Provides-Extra: async-sqlserver
|
|
44
|
+
Requires-Dist: aioodbc; extra == "async-sqlserver"
|
|
45
|
+
Provides-Extra: async-all
|
|
46
|
+
Requires-Dist: asyncpg; extra == "async-all"
|
|
47
|
+
Requires-Dist: aiomysql; extra == "async-all"
|
|
48
|
+
Requires-Dist: aiosqlite; extra == "async-all"
|
|
49
|
+
Requires-Dist: aioodbc; extra == "async-all"
|
|
37
50
|
Provides-Extra: all
|
|
38
51
|
Requires-Dist: psycopg2; extra == "all"
|
|
39
52
|
Requires-Dist: mysql-connector-python; extra == "all"
|
|
40
53
|
Requires-Dist: pyodbc; extra == "all"
|
|
41
54
|
Requires-Dist: oracledb; extra == "all"
|
|
55
|
+
Requires-Dist: asyncpg; extra == "all"
|
|
56
|
+
Requires-Dist: aiomysql; extra == "all"
|
|
57
|
+
Requires-Dist: aiosqlite; extra == "all"
|
|
58
|
+
Requires-Dist: aioodbc; extra == "all"
|
|
42
59
|
Dynamic: author
|
|
43
60
|
Dynamic: author-email
|
|
44
61
|
Dynamic: classifier
|
|
@@ -56,11 +73,11 @@ Dynamic: summary
|
|
|
56
73
|
# SQLPyHelper
|
|
57
74
|
|
|
58
75
|
[](https://pypi.org/project/sqlpyhelper/)
|
|
76
|
+
[](https://sqlpyhelper.readthedocs.io/en/latest/)
|
|
59
77
|
[](https://pypi.org/project/sqlpyhelper/)
|
|
60
78
|
[](https://pypi.org/project/sqlpyhelper/)
|
|
61
79
|
[](https://github.com/adebayopeter/sqlpyhelper/blob/main/LICENSE)
|
|
62
80
|
[](https://github.com/adebayopeter/sqlpyhelper)
|
|
63
|
-
[](https://sqlpyhelper.readthedocs.io/en/latest/)
|
|
64
81
|
|
|
65
82
|
SQLPyHelper is a lightweight Python library that gives you a single, consistent API across **SQLite, PostgreSQL, MySQL, SQL Server, and Oracle** — without the overhead of an ORM.
|
|
66
83
|
|
|
@@ -10,8 +10,12 @@ SQLPyHelper.egg-info/entry_points.txt
|
|
|
10
10
|
SQLPyHelper.egg-info/requires.txt
|
|
11
11
|
SQLPyHelper.egg-info/top_level.txt
|
|
12
12
|
sqlpyhelper/__init__.py
|
|
13
|
+
sqlpyhelper/async_helper.py
|
|
13
14
|
sqlpyhelper/automation_utils.py
|
|
14
15
|
sqlpyhelper/cli.py
|
|
15
16
|
sqlpyhelper/db_helper.py
|
|
17
|
+
sqlpyhelper/migration.py
|
|
16
18
|
sqlpyhelper/py.typed
|
|
19
|
+
test/test_async_helper.py
|
|
20
|
+
test/test_migration.py
|
|
17
21
|
test/test_sqlpyhelper.py
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
python-dotenv
|
|
2
|
+
click
|
|
3
|
+
|
|
4
|
+
[all]
|
|
5
|
+
psycopg2
|
|
6
|
+
mysql-connector-python
|
|
7
|
+
pyodbc
|
|
8
|
+
oracledb
|
|
9
|
+
asyncpg
|
|
10
|
+
aiomysql
|
|
11
|
+
aiosqlite
|
|
12
|
+
aioodbc
|
|
13
|
+
|
|
14
|
+
[async-all]
|
|
15
|
+
asyncpg
|
|
16
|
+
aiomysql
|
|
17
|
+
aiosqlite
|
|
18
|
+
aioodbc
|
|
19
|
+
|
|
20
|
+
[async-mysql]
|
|
21
|
+
aiomysql
|
|
22
|
+
|
|
23
|
+
[async-postgres]
|
|
24
|
+
asyncpg
|
|
25
|
+
|
|
26
|
+
[async-sqlite]
|
|
27
|
+
aiosqlite
|
|
28
|
+
|
|
29
|
+
[async-sqlserver]
|
|
30
|
+
aioodbc
|
|
31
|
+
|
|
32
|
+
[mysql]
|
|
33
|
+
mysql-connector-python
|
|
34
|
+
|
|
35
|
+
[oracle]
|
|
36
|
+
oracledb
|
|
37
|
+
|
|
38
|
+
[postgres]
|
|
39
|
+
psycopg2
|
|
40
|
+
|
|
41
|
+
[sqlserver]
|
|
42
|
+
pyodbc
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as f:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name='SQLPyHelper',
|
|
8
|
-
version='0.1.
|
|
8
|
+
version='0.1.8',
|
|
9
9
|
description='A simple SQL database helper package for Python.',
|
|
10
10
|
long_description=long_description,
|
|
11
11
|
long_description_content_type="text/markdown",
|
|
@@ -26,11 +26,14 @@ setup(
|
|
|
26
26
|
"mysql": ["mysql-connector-python"],
|
|
27
27
|
"sqlserver": ["pyodbc"],
|
|
28
28
|
"oracle": ["oracledb"],
|
|
29
|
+
"async-postgres": ["asyncpg"],
|
|
30
|
+
"async-mysql": ["aiomysql"],
|
|
31
|
+
"async-sqlite": ["aiosqlite"],
|
|
32
|
+
"async-sqlserver": ["aioodbc"],
|
|
33
|
+
"async-all": ["asyncpg", "aiomysql", "aiosqlite", "aioodbc"],
|
|
29
34
|
"all": [
|
|
30
|
-
"psycopg2",
|
|
31
|
-
"
|
|
32
|
-
"pyodbc",
|
|
33
|
-
"oracledb",
|
|
35
|
+
"psycopg2", "mysql-connector-python", "pyodbc", "oracledb",
|
|
36
|
+
"asyncpg", "aiomysql", "aiosqlite", "aioodbc",
|
|
34
37
|
],
|
|
35
38
|
},
|
|
36
39
|
keywords=[
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Match the version in setup.py
|
|
2
|
+
__version__ = "0.1.8"
|
|
3
|
+
|
|
4
|
+
from sqlpyhelper.async_helper import ( # noqa: F401
|
|
5
|
+
AsyncConnectionError,
|
|
6
|
+
AsyncQueryError,
|
|
7
|
+
AsyncSQLPyHelper,
|
|
8
|
+
)
|
|
9
|
+
from sqlpyhelper.db_helper import ( # noqa: F401
|
|
10
|
+
BackupError,
|
|
11
|
+
ConnectionError,
|
|
12
|
+
QueryError,
|
|
13
|
+
SQLPyHelperError,
|
|
14
|
+
)
|
|
15
|
+
from sqlpyhelper.migration import MigrationError # noqa: F401
|