mysqlx-connector-python 8.4.0__tar.gz → 9.0.0__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.
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/CONTRIBUTING.rst +2 -2
- mysqlx-connector-python-9.0.0/INFO_BIN +2 -0
- mysqlx-connector-python-9.0.0/INFO_SRC +4 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/LICENSE.txt +5 -5
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/README.rst +71 -20
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/version.py +1 -1
- {mysqlx-connector-python-8.4.0/mysqlx_connector_python-8.4.0-py3.8.egg-info → mysqlx-connector-python-9.0.0/mysqlx_connector_python-9.0.0-py3.8.egg-info}/PKG-INFO +1 -1
- {mysqlx-connector-python-8.4.0/mysqlx_connector_python-8.4.0-py3.8.egg-info → mysqlx-connector-python-9.0.0/mysqlx_connector_python-9.0.0-py3.8.egg-info}/requires.txt +2 -2
- mysqlx-connector-python-8.4.0/INFO_BIN +0 -2
- mysqlx-connector-python-8.4.0/INFO_SRC +0 -4
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/README.txt +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/__init__.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/authentication.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/charsets.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/connection.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/constants.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/crud.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/dbdoc.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/errorcode.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/errors.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/expr.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/helpers.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/locales/__init__.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/locales/eng/__init__.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/locales/eng/client_error.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/logger.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/__init__.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_connection_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_crud_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_cursor_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_datatypes_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_expect_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_expr_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_notice_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_prepare_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_resultset_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_session_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_sql_pb2.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protocol.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/py.typed +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/result.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/statement.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/tls_ciphers.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/types.py +0 -0
- {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/utils.py +0 -0
- {mysqlx-connector-python-8.4.0/mysqlx_connector_python-8.4.0-py3.8.egg-info → mysqlx-connector-python-9.0.0/mysqlx_connector_python-9.0.0-py3.8.egg-info}/SOURCES.txt +0 -0
- {mysqlx-connector-python-8.4.0/mysqlx_connector_python-8.4.0-py3.8.egg-info → mysqlx-connector-python-9.0.0/mysqlx_connector_python-9.0.0-py3.8.egg-info}/dependency_links.txt +0 -0
- {mysqlx-connector-python-8.4.0/mysqlx_connector_python-8.4.0-py3.8.egg-info → mysqlx-connector-python-9.0.0/mysqlx_connector_python-9.0.0-py3.8.egg-info}/top_level.txt +0 -0
|
@@ -23,7 +23,7 @@ Contributing to this project is easy. You just need to follow these steps.
|
|
|
23
23
|
|
|
24
24
|
- Make sure you have a user account at `bugs.mysql.com <https://bugs.mysql.com>`_. You will need to reference this user account when you submit your Oracle Contributor Agreement (a.k.a. OCA).
|
|
25
25
|
- Sign the Oracle Contributor Agreement. You can find instructions for doing that at the `OCA Page <https://oca.opensource.oracle.com/>`_.
|
|
26
|
-
- Develop your pull request. Make sure you are aware of the `requirements <https://dev.mysql.com/doc/dev/connector-python/
|
|
26
|
+
- Develop your pull request. Make sure you are aware of the `requirements <https://dev.mysql.com/doc/dev/connector-python/requirements.html>`_ for the project.
|
|
27
27
|
- Validate your pull request by including tests that sufficiently cover the functionality you are adding.
|
|
28
28
|
- Verify that the entire test suite passes with your code applied.
|
|
29
29
|
- Submit your pull request. While you can submit the pull request via `GitHub <https://github.com/mysql/mysql-connector-python/pulls>`_, you can also submit it directly via `bugs.mysql.com <https://bugs.mysql.com>`_.
|
|
@@ -35,7 +35,7 @@ Setting Up a Development Environment
|
|
|
35
35
|
|
|
36
36
|
The following tips provide all the technical directions you should follow when writing code and before actually submitting your contribution.
|
|
37
37
|
|
|
38
|
-
1) Make sure you have the necessary `prerequisites <https://dev.mysql.com/doc/dev/connector-python/
|
|
38
|
+
1) Make sure you have the necessary `prerequisites <https://dev.mysql.com/doc/dev/connector-python/installation.html#prerequisites>`_ for building the project and `Pylint <https://www.pylint.org/>`_ for static code analysis
|
|
39
39
|
|
|
40
40
|
2) Clone MySQL Connector/Python
|
|
41
41
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Licensing Information User Manual
|
|
2
2
|
|
|
3
|
-
MySQL Connector/Python
|
|
3
|
+
MySQL Connector/Python 9.0.0 Community
|
|
4
4
|
__________________________________________________________________
|
|
5
5
|
|
|
6
6
|
Introduction
|
|
@@ -8,18 +8,18 @@ Introduction
|
|
|
8
8
|
This License Information User Manual contains Oracle's product license
|
|
9
9
|
and other licensing information, including licensing information for
|
|
10
10
|
third-party software which may be included in this distribution of
|
|
11
|
-
MySQL Connector/Python
|
|
11
|
+
MySQL Connector/Python 9.0.0 Community.
|
|
12
12
|
|
|
13
|
-
Last updated:
|
|
13
|
+
Last updated: May 2024
|
|
14
14
|
|
|
15
15
|
Licensing Information
|
|
16
16
|
|
|
17
|
-
This release of MySQL Connector/Python
|
|
17
|
+
This release of MySQL Connector/Python 9.0.0 Community is brought to
|
|
18
18
|
you by the MySQL team at Oracle. This software is released under
|
|
19
19
|
version 2 of the GNU General Public License (GPLv2), as set forth
|
|
20
20
|
below, with the following additional permissions:
|
|
21
21
|
|
|
22
|
-
This distribution of MySQL Connector/Python
|
|
22
|
+
This distribution of MySQL Connector/Python 9.0.0 Community is designed
|
|
23
23
|
to work with certain software (including but not limited to OpenSSL)
|
|
24
24
|
that is licensed under separate terms, as designated in a particular
|
|
25
25
|
file or component or in the license documentation. Without limiting
|
|
@@ -8,39 +8,86 @@ MySQL Connector/Python
|
|
|
8
8
|
.. image:: https://img.shields.io/pypi/l/mysql-connector-python.svg
|
|
9
9
|
:target: https://pypi.org/project/mysql-connector-python/
|
|
10
10
|
|
|
11
|
-
MySQL Connector/Python enables Python programs to access MySQL databases, using
|
|
11
|
+
MySQL Connector/Python enables Python programs to access MySQL databases, using
|
|
12
|
+
an API that is compliant with the `Python Database API Specification v2.0
|
|
13
|
+
(PEP 249) <https://www.python.org/dev/peps/pep-0249/>`_ - We refer to it as the
|
|
14
|
+
`Classic API <https://dev.mysql.com/doc/connector-python/en/connector-python-reference.html>`_.
|
|
15
|
+
|
|
16
|
+
It also contains an implementation of the `XDevAPI <https://dev.mysql.com/doc/x-devapi-userguide/en>`_
|
|
17
|
+
- An Application Programming Interface for working with the `MySQL Document Store
|
|
18
|
+
<https://dev.mysql.com/doc/refman/en/document-store.html>`_.
|
|
19
|
+
|
|
20
|
+
Features
|
|
21
|
+
--------
|
|
22
|
+
|
|
23
|
+
* `Asynchronous Connectivity <https://dev.mysql.com/doc/connector-python/en/connector-python-asyncio.html>`_
|
|
24
|
+
* `C-extension <https://dev.mysql.com/doc/connector-python/en/connector-python-cext.html>`_
|
|
25
|
+
* `Telemetry <https://dev.mysql.com/doc/connector-python/en/connector-python-opentelemetry.html>`_
|
|
26
|
+
* `XDevAPI <https://dev.mysql.com/doc/x-devapi-userguide/en>`_
|
|
27
|
+
|
|
12
28
|
|
|
13
29
|
Installation
|
|
14
30
|
------------
|
|
31
|
+
|
|
15
32
|
The recommended way to install Connector/Python is via `pip <https://pip.pypa.io/>`_.
|
|
16
33
|
|
|
17
|
-
Make sure you have a recent `pip <https://pip.pypa.io/>`_ version installed
|
|
34
|
+
Make sure you have a recent `pip <https://pip.pypa.io/>`_ version installed
|
|
35
|
+
on your system. If your system already has ``pip`` installed, you might need
|
|
36
|
+
to update it. Or you can use the `standalone pip installer <https://pip.pypa.io/en/latest/installation/>`_.
|
|
18
37
|
|
|
19
|
-
|
|
20
|
-
Classic
|
|
21
|
-
+++++++
|
|
38
|
+
The *classic API* can be installed via pip as follows:
|
|
22
39
|
|
|
23
40
|
.. code-block:: bash
|
|
24
41
|
|
|
25
|
-
|
|
42
|
+
$ pip install mysql-connector-python
|
|
26
43
|
|
|
44
|
+
, similarly, the *XDevAPI* can be installed with:
|
|
27
45
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
46
|
+
.. code-block:: bash
|
|
47
|
+
|
|
48
|
+
$ pip install mysqlx-connector-python
|
|
49
|
+
|
|
50
|
+
Please refer to the `installation tutorial <https://dev.mysql.com/doc/dev/connector-python/installation.html>`_
|
|
51
|
+
for installation alternatives of the XDevAPI.
|
|
52
|
+
|
|
53
|
+
++++++++++++++++++++
|
|
54
|
+
Installation Options
|
|
55
|
+
++++++++++++++++++++
|
|
56
|
+
|
|
57
|
+
Connector packages included in MySQL Connector/Python allow you to install
|
|
58
|
+
optional dependencies to unleash certain functionalities.
|
|
59
|
+
|
|
60
|
+
.. code-block:: bash
|
|
61
|
+
|
|
62
|
+
# 3rd party packages to unleash the telemetry functionality are installed
|
|
63
|
+
$ pip install mysql-connector-python[telemetry]
|
|
64
|
+
|
|
65
|
+
similarly, for the XDevAPI:
|
|
31
66
|
|
|
32
67
|
.. code-block:: bash
|
|
33
68
|
|
|
34
|
-
|
|
69
|
+
# 3rd party packages to unleash the compression functionality are installed
|
|
70
|
+
$ pip install mysqlx-connector-python[compression]
|
|
71
|
+
|
|
72
|
+
This installation option can be seen as a shortcut to install all the
|
|
73
|
+
dependencies needed by a particular feature. Mind that this is optional
|
|
74
|
+
and you are free to install the required dependencies by yourself.
|
|
35
75
|
|
|
76
|
+
Options for the Classic connector:
|
|
36
77
|
|
|
37
|
-
|
|
78
|
+
* dns-srv
|
|
79
|
+
* gssapi
|
|
80
|
+
* fido2
|
|
81
|
+
* telemetry
|
|
38
82
|
|
|
83
|
+
Options for the XDevAPI connector:
|
|
39
84
|
|
|
40
|
-
|
|
41
|
-
|
|
85
|
+
* dns-srv
|
|
86
|
+
* compression
|
|
42
87
|
|
|
43
|
-
|
|
88
|
+
|
|
89
|
+
Classic
|
|
90
|
+
-------
|
|
44
91
|
|
|
45
92
|
.. code:: python
|
|
46
93
|
|
|
@@ -66,7 +113,9 @@ Using the MySQL classic protocol:
|
|
|
66
113
|
# Close connection
|
|
67
114
|
cnx.close()
|
|
68
115
|
|
|
69
|
-
|
|
116
|
+
|
|
117
|
+
XDevAPI
|
|
118
|
+
-------
|
|
70
119
|
|
|
71
120
|
.. code:: python
|
|
72
121
|
|
|
@@ -97,8 +146,6 @@ Using the MySQL X DevAPI:
|
|
|
97
146
|
session.close()
|
|
98
147
|
|
|
99
148
|
|
|
100
|
-
Please refer to the `MySQL Connector/Python Developer Guide <https://dev.mysql.com/doc/connector-python/en/>`_ and the `MySQL Connector/Python X DevAPI Reference <https://dev.mysql.com/doc/dev/connector-python/>`_ for a complete usage guide.
|
|
101
|
-
|
|
102
149
|
Additional Resources
|
|
103
150
|
--------------------
|
|
104
151
|
|
|
@@ -108,14 +155,18 @@ Additional Resources
|
|
|
108
155
|
- `MySQL Public Bug Tracker <https://bugs.mysql.com>`_
|
|
109
156
|
- `Slack <https://mysqlcommunity.slack.com>`_ (`Sign-up <https://lefred.be/mysql-community-on-slack/>`_ required if you do not have an Oracle account)
|
|
110
157
|
- `Stack Overflow <https://stackoverflow.com/questions/tagged/mysql-connector-python>`_
|
|
111
|
-
- `
|
|
158
|
+
- `Oracle Blogs <https://blogs.oracle.com/search.html?q=connector-python>`_
|
|
159
|
+
|
|
112
160
|
|
|
113
161
|
Contributing
|
|
114
162
|
------------
|
|
115
163
|
|
|
116
|
-
There are a few ways to contribute to the Connector/Python code. Please refer
|
|
164
|
+
There are a few ways to contribute to the Connector/Python code. Please refer
|
|
165
|
+
to the `contributing guidelines <CONTRIBUTING.rst>`_ for additional information.
|
|
166
|
+
|
|
117
167
|
|
|
118
168
|
License
|
|
119
169
|
-------
|
|
120
170
|
|
|
121
|
-
Please refer to the `README.txt <README.txt>`_ and `LICENSE.txt <LICENSE.txt>`_
|
|
171
|
+
Please refer to the `README.txt <README.txt>`_ and `LICENSE.txt <LICENSE.txt>`_
|
|
172
|
+
files, available in this repository, for further details.
|
|
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
|
{mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/locales/eng/__init__.py
RENAMED
|
File without changes
|
{mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/locales/eng/client_error.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_crud_pb2.py
RENAMED
|
File without changes
|
{mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_cursor_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
{mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_expect_pb2.py
RENAMED
|
File without changes
|
{mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_expr_pb2.py
RENAMED
|
File without changes
|
{mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_notice_pb2.py
RENAMED
|
File without changes
|
{mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_sql_pb2.py
RENAMED
|
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
|