pyexasol 2.2.1__tar.gz → 2.2.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.
- {pyexasol-2.2.1 → pyexasol-2.2.3}/PKG-INFO +3 -3
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/__init__.py +1 -1
- pyexasol-2.2.3/pyexasol/_metadata.py +3 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/connection.py +3 -3
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyproject.toml +13 -8
- pyexasol-2.2.1/pyexasol/version.py +0 -15
- {pyexasol-2.2.1 → pyexasol-2.2.3}/LICENSE.txt +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/README.md +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/exasol/driver/__init__.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/exasol/driver/websocket/__init__.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/exasol/driver/websocket/_connection.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/exasol/driver/websocket/_cursor.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/exasol/driver/websocket/_errors.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/exasol/driver/websocket/_protocols.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/exasol/driver/websocket/_types.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/exasol/driver/websocket/dbapi2.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/__main__.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/callback.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/constant.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/db2/__init__.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/exceptions.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/ext.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/formatter.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/http_transport.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/local_config.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/logger.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/mapper.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/meta.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/py.typed +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/script_output.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/statement.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol/warnings.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol_utils/__init__.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol_utils/bench.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol_utils/bench_sql/prepare.sql +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol_utils/bench_sql/t1_group_by.sql +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol_utils/bench_sql/t2_local_join.sql +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol_utils/bench_sql/t3_global_join.sql +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol_utils/bench_sql/t4_sort.sql +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol_utils/docker_util.py +0 -0
- {pyexasol-2.2.1 → pyexasol-2.2.3}/pyexasol_utils/script_output.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyexasol
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.3
|
|
4
4
|
Summary: Exasol python driver with extra features
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE.txt
|
|
@@ -29,7 +29,7 @@ Provides-Extra: ujson
|
|
|
29
29
|
Requires-Dist: cryptography (>=45.0.7)
|
|
30
30
|
Requires-Dist: orjson (>=3.6,<4.0) ; extra == "all"
|
|
31
31
|
Requires-Dist: orjson (>=3.6,<4.0) ; extra == "orjson"
|
|
32
|
-
Requires-Dist: packaging (>=24.1.0
|
|
32
|
+
Requires-Dist: packaging (>=24.1.0)
|
|
33
33
|
Requires-Dist: pandas (>=2.0.0,<3.0.0) ; extra == "all"
|
|
34
34
|
Requires-Dist: pandas (>=2.0.0,<3.0.0) ; extra == "pandas"
|
|
35
35
|
Requires-Dist: polars (>=1.10.0,<2.0.0) ; extra == "all"
|
|
@@ -43,7 +43,7 @@ Requires-Dist: python-rapidjson (>=1.21.0,<2.0.0) ; extra == "all"
|
|
|
43
43
|
Requires-Dist: python-rapidjson (>=1.21.0,<2.0.0) ; extra == "rapidjson"
|
|
44
44
|
Requires-Dist: ujson (>=5.10.0,<6.0.0) ; extra == "all"
|
|
45
45
|
Requires-Dist: ujson (>=5.10.0,<6.0.0) ; extra == "ujson"
|
|
46
|
-
Requires-Dist: websocket-client (>=1.0.1,<
|
|
46
|
+
Requires-Dist: websocket-client (>=1.0.1,<2)
|
|
47
47
|
Project-URL: Changelog, https://github.com/exasol/pyexasol/blob/master/CHANGELOG.md
|
|
48
48
|
Project-URL: Documentation, https://github.com/exasol/pyexasol/
|
|
49
49
|
Project-URL: Homepage, https://www.exasol.com/
|
|
@@ -30,6 +30,7 @@ __all__ = [
|
|
|
30
30
|
"PROTOCOL_V3",
|
|
31
31
|
]
|
|
32
32
|
|
|
33
|
+
from ._metadata import __version__
|
|
33
34
|
from .connection import ExaConnection
|
|
34
35
|
from .constant import (
|
|
35
36
|
PROTOCOL_V1,
|
|
@@ -61,7 +62,6 @@ from .mapper import (
|
|
|
61
62
|
)
|
|
62
63
|
from .meta import ExaMetaData
|
|
63
64
|
from .statement import ExaStatement
|
|
64
|
-
from .version import __version__
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
def connect(**kwargs) -> ExaConnection:
|
|
@@ -35,6 +35,7 @@ from packaging.version import Version
|
|
|
35
35
|
|
|
36
36
|
from . import callback as cb
|
|
37
37
|
from . import constant
|
|
38
|
+
from ._metadata import __version__
|
|
38
39
|
from .exceptions import (
|
|
39
40
|
ExaAuthError,
|
|
40
41
|
ExaCommunicationError,
|
|
@@ -60,7 +61,6 @@ from .logger import ExaLogger
|
|
|
60
61
|
from .meta import ExaMetaData
|
|
61
62
|
from .script_output import ExaScriptOutputProcess
|
|
62
63
|
from .statement import ExaStatement
|
|
63
|
-
from .version import __version__
|
|
64
64
|
from .warnings import PyexasolWarning
|
|
65
65
|
|
|
66
66
|
if TYPE_CHECKING:
|
|
@@ -121,7 +121,7 @@ class ExaConnection:
|
|
|
121
121
|
user: str | None = None,
|
|
122
122
|
password: str | None = None,
|
|
123
123
|
schema: str = "",
|
|
124
|
-
autocommit=constant.DEFAULT_AUTOCOMMIT,
|
|
124
|
+
autocommit: bool = constant.DEFAULT_AUTOCOMMIT,
|
|
125
125
|
snapshot_transactions=None,
|
|
126
126
|
connection_timeout=constant.DEFAULT_CONNECTION_TIMEOUT,
|
|
127
127
|
socket_timeout=constant.DEFAULT_SOCKET_TIMEOUT,
|
|
@@ -417,7 +417,7 @@ class ExaConnection:
|
|
|
417
417
|
"""Wrapper for query 'ROLLBACK'"""
|
|
418
418
|
return self.execute("ROLLBACK")
|
|
419
419
|
|
|
420
|
-
def set_autocommit(self, val:
|
|
420
|
+
def set_autocommit(self, val: bool) -> None:
|
|
421
421
|
"""
|
|
422
422
|
Set autocommit mode.
|
|
423
423
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pyexasol"
|
|
3
|
-
version = "2.2.
|
|
3
|
+
version = "2.2.3"
|
|
4
4
|
description = "Exasol python driver with extra features"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Vitaly Markov", email = "wild.desu@gmail.com" },
|
|
@@ -30,15 +30,17 @@ classifiers = [
|
|
|
30
30
|
"Topic :: Database",
|
|
31
31
|
]
|
|
32
32
|
dependencies = [
|
|
33
|
-
#
|
|
34
|
-
# This will be resolved in https://github.com/exasol/pyexasol/issues/274.
|
|
35
|
-
"websocket-client>=1.0.1,<1.9.0",
|
|
36
|
-
"packaging>=24.1.0,<26.0.0",
|
|
37
|
-
# The cryptography package follow a Firefox-inspired version scheme which increases
|
|
33
|
+
# The cryptography package follow a Firefox-inspired version scheme which increases
|
|
38
34
|
# the major version for all feature-releases independent of breaking changes.
|
|
39
35
|
# We anticipate that the stable API stays stable, and if we encounter a breaking
|
|
40
36
|
# change, upstream projects can narrow the range.
|
|
41
37
|
"cryptography>=45.0.7",
|
|
38
|
+
# The packaging library uses CalVer, so a new year-based major release does not
|
|
39
|
+
# automatically imply a breaking API change.
|
|
40
|
+
# Releases are published as needed for ecosystem interoperability PEP changes.
|
|
41
|
+
# If we encounter a breaking change, upstream projects can narrow the range.
|
|
42
|
+
"packaging>=24.1.0",
|
|
43
|
+
"websocket-client>=1.0.1,<2",
|
|
42
44
|
]
|
|
43
45
|
|
|
44
46
|
[project.optional-dependencies]
|
|
@@ -78,9 +80,9 @@ dev = [
|
|
|
78
80
|
"nox>=2023.4.22,<2024",
|
|
79
81
|
"pytest>=7.0.0,<10",
|
|
80
82
|
"docutils>=0.21.2,<0.22",
|
|
81
|
-
"exasol-integration-test-docker-environment>=5.0.0,<
|
|
83
|
+
"exasol-integration-test-docker-environment>=5.0.0,<7",
|
|
82
84
|
"faker>=24.14.1,<25",
|
|
83
|
-
"exasol-toolbox>=
|
|
85
|
+
"exasol-toolbox>=10.0.0,<11",
|
|
84
86
|
"types-ujson>=5.10.0.20250326,<6",
|
|
85
87
|
"pytest-repeat>=0.9.4, <1.0.0",
|
|
86
88
|
"pandas-stubs>=2.3.3.251219,<3",
|
|
@@ -133,6 +135,9 @@ module = [
|
|
|
133
135
|
ignore_errors = true
|
|
134
136
|
ignore_missing_imports = true
|
|
135
137
|
|
|
138
|
+
[tool.poetry.requires-plugins]
|
|
139
|
+
poetry-plugin-export = ">=1.8"
|
|
140
|
+
|
|
136
141
|
[tool.ruff.lint]
|
|
137
142
|
extend-ignore = [
|
|
138
143
|
"E", # Syntax errors
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
ATTENTION:
|
|
3
|
-
This file is generated by exasol/toolbox/nox/_package_version.py when using:
|
|
4
|
-
* either "poetry run -- nox -s format:fix"
|
|
5
|
-
* or "poetry run -- nox -s version:check -- --fix"
|
|
6
|
-
Do not edit this file manually!
|
|
7
|
-
If you need to change the version, do so in the pyproject.toml, e.g. by using
|
|
8
|
-
`poetry version X.Y.Z`.
|
|
9
|
-
"""
|
|
10
|
-
|
|
11
|
-
MAJOR = 2
|
|
12
|
-
MINOR = 2
|
|
13
|
-
PATCH = 1
|
|
14
|
-
VERSION = f"{MAJOR}.{MINOR}.{PATCH}"
|
|
15
|
-
__version__ = VERSION
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|