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.
Files changed (49) hide show
  1. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/CONTRIBUTING.rst +2 -2
  2. mysqlx-connector-python-9.0.0/INFO_BIN +2 -0
  3. mysqlx-connector-python-9.0.0/INFO_SRC +4 -0
  4. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/LICENSE.txt +5 -5
  5. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/README.rst +71 -20
  6. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/version.py +1 -1
  7. {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
  8. {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
  9. mysqlx-connector-python-8.4.0/INFO_BIN +0 -2
  10. mysqlx-connector-python-8.4.0/INFO_SRC +0 -4
  11. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/README.txt +0 -0
  12. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/__init__.py +0 -0
  13. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/authentication.py +0 -0
  14. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/charsets.py +0 -0
  15. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/connection.py +0 -0
  16. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/constants.py +0 -0
  17. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/crud.py +0 -0
  18. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/dbdoc.py +0 -0
  19. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/errorcode.py +0 -0
  20. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/errors.py +0 -0
  21. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/expr.py +0 -0
  22. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/helpers.py +0 -0
  23. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/locales/__init__.py +0 -0
  24. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/locales/eng/__init__.py +0 -0
  25. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/locales/eng/client_error.py +0 -0
  26. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/logger.py +0 -0
  27. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/__init__.py +0 -0
  28. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_connection_pb2.py +0 -0
  29. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_crud_pb2.py +0 -0
  30. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_cursor_pb2.py +0 -0
  31. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_datatypes_pb2.py +0 -0
  32. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_expect_pb2.py +0 -0
  33. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_expr_pb2.py +0 -0
  34. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_notice_pb2.py +0 -0
  35. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_pb2.py +0 -0
  36. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_prepare_pb2.py +0 -0
  37. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_resultset_pb2.py +0 -0
  38. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_session_pb2.py +0 -0
  39. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protobuf/mysqlx_sql_pb2.py +0 -0
  40. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/protocol.py +0 -0
  41. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/py.typed +0 -0
  42. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/result.py +0 -0
  43. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/statement.py +0 -0
  44. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/tls_ciphers.py +0 -0
  45. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/types.py +0 -0
  46. {mysqlx-connector-python-8.4.0 → mysqlx-connector-python-9.0.0}/mysqlx/utils.py +0 -0
  47. {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
  48. {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
  49. {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/8.0/requirements.html>`_ for the project.
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/8.0/installation.html#prerequisites>`_ for building the project and `Pylint <https://www.pylint.org/>`_ for static code analysis
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
 
@@ -0,0 +1,2 @@
1
+ build-date: 2024-06-16 09:03:52
2
+ os-info: Linux-5.4.17-2136.328.3.el7uek.x86_64-x86_64-with-glibc2.17
@@ -0,0 +1,4 @@
1
+ version: 9.0.0
2
+ branch: release/9.0.0
3
+ commit: 59817f3de42d98ac2875a14ea265d77bd0ac3805
4
+ short: 59817f3
@@ -1,6 +1,6 @@
1
1
  Licensing Information User Manual
2
2
 
3
- MySQL Connector/Python 8.4.0 Community
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 8.4.0 Community.
11
+ MySQL Connector/Python 9.0.0 Community.
12
12
 
13
- Last updated: March 2024
13
+ Last updated: May 2024
14
14
 
15
15
  Licensing Information
16
16
 
17
- This release of MySQL Connector/Python 8.4.0 Community is brought to
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 8.4.0 Community is designed
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 an API that is compliant with the `Python Database API Specification v2.0 (PEP 249) <https://www.python.org/dev/peps/pep-0249/>`_. It also contains an implementation of the `X DevAPI <https://dev.mysql.com/doc/x-devapi-userguide/en>`_, an Application Programming Interface for working with the `MySQL Document Store <https://dev.mysql.com/doc/refman/8.0/en/document-store.html>`_.
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 on your system. If your system already has ``pip`` installed, you might need to update it. Or you can use the `standalone pip installer <https://pip.pypa.io/en/latest/installing/#installing-with-get-pip-py>`_.
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
- shell> pip install mysql-connector-python
42
+ $ pip install mysql-connector-python
26
43
 
44
+ , similarly, the *XDevAPI* can be installed with:
27
45
 
28
- +++++++
29
- XDevAPI
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
- shell> pip install mysqlx-connector-python
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
- Please refer to the `installation tutorial <https://dev.mysql.com/doc/dev/connector-python/8.0/installation.html>`_ for installation alternatives of the X DevAPI.
78
+ * dns-srv
79
+ * gssapi
80
+ * fido2
81
+ * telemetry
38
82
 
83
+ Options for the XDevAPI connector:
39
84
 
40
- Getting Started
41
- ---------------
85
+ * dns-srv
86
+ * compression
42
87
 
43
- Using the MySQL classic protocol:
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
- Using the MySQL X DevAPI:
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
- - `InsideMySQL.com Connectors Blog <https://insidemysql.com/category/mysql-development/connectors/>`_
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 to the `contributing guidelines <CONTRIBUTING.rst>`_ for additional information.
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>`_ files, available in this repository, for further details.
171
+ Please refer to the `README.txt <README.txt>`_ and `LICENSE.txt <LICENSE.txt>`_
172
+ files, available in this repository, for further details.
@@ -32,7 +32,7 @@ The file version.py gets installed and is available after installation
32
32
  as mysqlx.version.
33
33
  """
34
34
 
35
- VERSION = (8, 4, 0, "", 1)
35
+ VERSION = (9, 0, 0, "", 1)
36
36
 
37
37
  # pylint: disable=consider-using-f-string
38
38
  if VERSION[3] and VERSION[4]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mysqlx-connector-python
3
- Version: 8.4.0
3
+ Version: 9.0.0
4
4
  Summary: XDevAPI MySQL driver written in Python
5
5
  Home-page: http://dev.mysql.com/doc/connector-python/en/index.html
6
6
  Author: Oracle and/or its affiliates
@@ -1,8 +1,8 @@
1
- protobuf<=4.21.12,>=4.21.1
1
+ protobuf==4.25.3
2
2
 
3
3
  [compression]
4
4
  lz4<=4.3.2,>=2.1.6
5
5
  zstandard<=0.19.0,>=0.12.0
6
6
 
7
7
  [dns-srv]
8
- dnspython<=2.3.0,>=1.16.0
8
+ dnspython==2.6.1
@@ -1,2 +0,0 @@
1
- build-date: 2024-03-15 06:21:01
2
- os-info: Linux-5.15.0-1052-oracle-x86_64-with-glibc2.35
@@ -1,4 +0,0 @@
1
- version: 8.4.0
2
- branch: release/8.4.0
3
- commit: dc71cebe53615110ff00dbb8b629f5457ece1ddb
4
- short: dc71ceb