You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update dependency declaration to `pyexasol`
* Set websocket_sslopt={"cert_reqs": ssl.CERT_NONE} in tests
* Add option to pass on fingerprint in websocket connection
* Reorganize documentation & add part about fingerprint to websocket-based dialect
* Prepare release 5.2.0
* Simplify test as always args = []
* Add unit test for websocket fingerprint usage
* Simplify tests to highlight difference between use cases
@@ -45,141 +45,40 @@ SQLAlchemy Dialect for EXASOL DB
45
45
46
46
Getting Started with SQLAlchemy-Exasol
47
47
--------------------------------------
48
-
SQLAlchemy-Exasol supports multiple dialects, primarily differentiated by whether they are ODBC or Websocketbased.
48
+
SQLAlchemy-Exasol supports multiple dialects, primarily differentiated by whether they are ODBC or Websocket-based.
49
49
50
50
Choosing a Dialect
51
51
++++++++++++++++++
52
52
53
-
We recommend using the Websocket-based dialect due to its simplicity. ODBC-based dialects demand a thorough understanding of (Unix)ODBC, and the setup is considerably more complex.
53
+
We recommend using the Websocket-based dialect due to its simplicity.
54
+
ODBC-based dialects demand a thorough understanding of (Unix)ODBC, and the setup is considerably more complex.
54
55
55
56
.. warning::
56
57
57
-
The maintenance of Turbodbc support is currently paused, and it may be phased out in future versions.
58
-
We are also planning to phase out the pyodbc support in the future.
59
-
58
+
The maintenance of Turbodbc & pyodbc support is currently paused, and it is planned to be phased out in future versions.
60
59
61
60
62
61
System Requirements
63
62
-------------------
64
-
- Python
65
-
- An Exasol DB (e.g. `docker-db <test_docker_image_>`_ or a `cloud instance <test_drive_>`_)
63
+
- Exasol >= 7.1 (e.g. `docker-db <test_docker_image_>`_ or a `cloud instance <test_drive_>`_)
64
+
- Python >= 3.10
66
65
67
66
.. note::
68
67
69
68
For ODBC-Based Dialects, additional libraries required for ODBC are necessary
70
69
(for further details, checkout the `developer guide`_).
71
70
72
-
Setting Up Your Python Project
73
-
------------------------------
74
-
75
-
Install SQLAlchemy-Exasol:
76
-
77
-
.. code-block:: shell
78
-
79
-
$ pip install sqlalchemy-exasol
80
-
81
-
.. note::
82
-
83
-
To use an ODBC-based dialect, you must specify it as an extra during installation.
- Schema name and parameters are optional for the host url
169
-
- At least on Linux/Unix systems it has proven valuable to pass 'CONNECTIONLCALL=en_US.UTF-8' as a url parameter. This will make sure that the client process (Python) and the EXASOL driver (UTF-8 internal) know how to interpret code pages correctly.
170
-
- Always use all lower-case identifiers for schema, table and column names. SQLAlchemy treats all lower-case identifiers as case-insensitive, the dialect takes care of transforming the identifier into a case-insensitive representation of the specific database (in case of EXASol this is upper-case as for Oracle)
171
-
- As of Exasol client driver version 4.1.2 you can pass the flag 'INTTYPESINRESULTSIFPOSSIBLE=y' in the connection string (or configure it in your DSN). This will convert DECIMAL data types to Integer-like data types. Creating integers is a factor three faster in Python than creating Decimals.
79
+
Check out sqlalchemy-exasols's [User Guide(https://exasol.github.io/sqlalchemy-exasol/master/user_guide.html) page for your first steps.
This release drops the support for Python 3.9 as this Python version has reached its [end-of-life](https://devguide.python.org/versions/) in 2025-10. In consequence, the release also fixes security vulnerabilities by updating the dependencies.
4
+
5
+
With this release, in the Websocket-based dialect, it is possible for users to pass `FINGERPRINT` into
6
+
the connection URL to take advantage of an additional security feature in PyExasol version
0 commit comments