database-wrapper-mssql 0.1.42__tar.gz → 0.1.44__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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: database_wrapper_mssql
3
- Version: 0.1.42
3
+ Version: 0.1.44
4
4
  Summary: database_wrapper for MSSQL database
5
5
  Author-email: Gints Murans <gm@gm.lv>
6
6
  License: GNU General Public License v3.0 (GPL-3.0)
@@ -32,7 +32,7 @@ Classifier: Topic :: Software Development
32
32
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
33
33
  Requires-Python: >=3.8
34
34
  Description-Content-Type: text/markdown
35
- Requires-Dist: database_wrapper==0.1.42
35
+ Requires-Dist: database_wrapper==0.1.44
36
36
  Requires-Dist: pymssql>=2.2.10
37
37
 
38
38
  # database_wrapper_mssql
@@ -9,7 +9,7 @@ Part of the database_wrapper package
9
9
  import logging
10
10
 
11
11
  from .db_wrapper_mssql import DBWrapperMSSQL
12
- from .connector import MsConfig, MSSQL
12
+ from .connector import MsConfig, MSSQL, MssqlConnection, MssqlCursor
13
13
 
14
14
  # Set the logger to a quiet default, can be enabled if needed
15
15
  logger = logging.getLogger("database_wrapper_mssql")
@@ -18,7 +18,13 @@ if logger.level == logging.NOTSET:
18
18
 
19
19
 
20
20
  __all__ = [
21
+ # Wrappers
21
22
  "DBWrapperMSSQL",
22
- "MsConfig",
23
+ # Connectors
23
24
  "MSSQL",
25
+ # Connection and Cursor types
26
+ "MssqlConnection",
27
+ "MssqlCursor",
28
+ # Helpers
29
+ "MsConfig",
24
30
  ]
@@ -78,7 +78,7 @@ class DBWrapperMSSQL(DBWrapper):
78
78
  emptyDataClass (DBDataModel | None, optional): The data model to use for the cursor. Defaults to None.
79
79
 
80
80
  Returns:
81
- PgAsyncCursorType | AsyncCursor[DBDataModel]: The created cursor object.
81
+ MssqlCursor: The created cursor object.
82
82
  """
83
83
  return self.db.connection.cursor(as_dict=True)
84
84
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: database_wrapper_mssql
3
- Version: 0.1.42
3
+ Version: 0.1.44
4
4
  Summary: database_wrapper for MSSQL database
5
5
  Author-email: Gints Murans <gm@gm.lv>
6
6
  License: GNU General Public License v3.0 (GPL-3.0)
@@ -32,7 +32,7 @@ Classifier: Topic :: Software Development
32
32
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
33
33
  Requires-Python: >=3.8
34
34
  Description-Content-Type: text/markdown
35
- Requires-Dist: database_wrapper==0.1.42
35
+ Requires-Dist: database_wrapper==0.1.44
36
36
  Requires-Dist: pymssql>=2.2.10
37
37
 
38
38
  # database_wrapper_mssql
@@ -0,0 +1,2 @@
1
+ database_wrapper==0.1.44
2
+ pymssql>=2.2.10
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "database_wrapper_mssql"
7
- version = "0.1.42"
7
+ version = "0.1.44"
8
8
  description = "database_wrapper for MSSQL database"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -35,7 +35,7 @@ classifiers = [
35
35
  ]
36
36
  keywords = ["database", "wrapper", "python", "mssql", "sqlserver"]
37
37
  dependencies = [
38
- "database_wrapper == 0.1.42",
38
+ "database_wrapper == 0.1.44",
39
39
  "pymssql >= 2.2.10",
40
40
  ]
41
41
 
@@ -1,2 +0,0 @@
1
- database_wrapper==0.1.42
2
- pymssql>=2.2.10