Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mysql/mysql-connector-python
/ types & classes
Types & classes
734 in github.com/mysql/mysql-connector-python
⨍
Functions
5,006
◇
Types & classes
734
↳
Endpoints
17
↓ 274 callers
Class
InterfaceError
Exception for errors related to the interface
mysql-connector-python/lib/mysql/connector/errors.py:88
↓ 128 callers
Class
ProgrammingError
Exception for errors programming errors
mysql-connector-python/lib/mysql/connector/errors.py:104
↓ 107 callers
Class
Message
Helper class for interfacing with the MySQL X Protobuf extension. Args: msg_type_name (string): Protobuf type name. **kwargs: Arb
mysqlx-connector-python/lib/mysqlx/protobuf/__init__.py:419
↓ 79 callers
Class
InterfaceError
Exception for errors related to the interface.
mysqlx-connector-python/lib/mysqlx/errors.py:79
↓ 62 callers
Class
ProgrammingError
Exception for errors programming errors.
mysqlx-connector-python/lib/mysqlx/errors.py:95
↓ 46 callers
Class
MySQLConnection
Connection to a MySQL Server
mysql-connector-python/lib/mysql/connector/connection.py:134
↓ 43 callers
Class
Token
Token representation class.
mysqlx-connector-python/lib/mysqlx/expr.py:288
↓ 29 callers
Class
OperationalError
Exception for errors related to the database's operation
mysql-connector-python/lib/mysql/connector/errors.py:100
↓ 28 callers
Class
NotSupportedError
Exception for errors when an unsupported database feature was used
mysql-connector-python/lib/mysql/connector/errors.py:116
↓ 27 callers
Class
CMySQLConnection
Class initiating a MySQL Connection using Connector/C.
mysql-connector-python/lib/mysql/connector/connection_cext.py:111
↓ 19 callers
Class
PoolError
Exception for errors relating to connection pooling
mysql-connector-python/lib/mysql/connector/errors.py:120
↓ 17 callers
Class
AioDummySocket
mysql-connector-python/tests/__init__.py:213
↓ 13 callers
Class
MyModel
Convenience class for managing the ML workflow using pandas DataFrames. Methods convert in-memory DataFrames into temp SQL tables before del
mysql-connector-python/lib/mysql/ai/ml/model.py:544
↓ 12 callers
Class
OperationalError
Exception for errors related to the database's operation.
mysqlx-connector-python/lib/mysqlx/errors.py:91
↓ 12 callers
Class
PoolError
Exception for errors relating to connection pooling.
mysqlx-connector-python/lib/mysqlx/errors.py:111
↓ 11 callers
Class
DatabaseError
Exception for errors related to the database
mysql-connector-python/lib/mysql/connector/errors.py:92
↓ 10 callers
Class
DatabaseWrapper
Represent a database connection.
mysql-connector-python/lib/mysql/connector/django/base.py:222
↓ 9 callers
Class
ExprParser
Expression parser class.
mysqlx-connector-python/lib/mysqlx/expr.py:436
↓ 9 callers
Class
InternalError
Exception for errors internal database errors
mysql-connector-python/lib/mysql/connector/errors.py:96
↓ 8 callers
Class
MyEmbeddings
Embedding generator class that uses a MySQL database to compute embeddings for input text. This class batches input text into temporary SQL
mysql-connector-python/lib/mysql/ai/genai/embedding.py:54
↓ 7 callers
Class
MySQLBootstrapError
Exception for raising errors around bootstrapping a MySQL server
mysqlx-connector-python/tests/mysqld.py:148
↓ 7 callers
Class
MySQLBootstrapError
Exception for raising errors around bootstrapping a MySQL server
mysql-connector-python/tests/mysqld.py:148
↓ 7 callers
Class
MySQLScriptSplitter
Breaks a MySQL script into single statements. It strips custom delimiters and comments along the way, except for comments representing a MySQ
mysql-connector-python/lib/mysql/connector/_scripting.py:69
↓ 7 callers
Class
NotSupportedError
Exception for errors when an unsupported database feature was used.
mysqlx-connector-python/lib/mysqlx/errors.py:107
↓ 7 callers
Class
TestCaseItem
mysql-connector-python/tests/qa/test_qa_multi_statement.py:48
↓ 7 callers
Class
UpdateSpec
Update specification class implementation. Args: update_type (int): The update type. source (str): The source. value (Opt
mysqlx-connector-python/lib/mysqlx/statement.py:767
↓ 6 callers
Class
MyClassifier
MySQL HeatWave scikit-learn compatible classifier estimator. Provides prediction and probability output from a model deployed in MySQL,
mysql-connector-python/lib/mysql/ai/ml/classifier.py:46
↓ 6 callers
Class
MySQLScriptPartition
Represents a partition or sub-script.
mysql-connector-python/lib/mysql/connector/types.py:57
↓ 5 callers
Class
CMySQLCursor
Default cursor for interacting with MySQL using C Extension
mysql-connector-python/lib/mysql/connector/cursor_cext.py:123
↓ 5 callers
Class
DbDoc
Represents a generic document in JSON format. Args: value (object): The value can be a JSON string or a dict. Raises: ValueE
mysqlx-connector-python/lib/mysqlx/dbdoc.py:51
↓ 5 callers
Class
DjangoMySQLConverter
Custom converter for Django.
mysql-connector-python/lib/mysql/connector/django/base.py:613
↓ 5 callers
Class
MySQLOptionsParser
This class implements methods to parse MySQL option files
mysql-connector-python/lib/mysql/connector/optionfiles.py:121
↓ 5 callers
Class
Result
Allows retrieving information about non query operations performed on the database. Args: connection (mysqlx.connection.Connection):
mysqlx-connector-python/lib/mysqlx/result.py:920
↓ 5 callers
Class
_DBAPITypeObject
mysql-connector-python/lib/mysql/connector/dbapi.py:55
↓ 4 callers
Class
Collection
Represents a collection of documents on a schema. Args: schema (mysqlx.Schema): The Schema object. name (str): The collection nam
mysqlx-connector-python/lib/mysqlx/crud.py:466
↓ 4 callers
Class
ConnectionTimeoutError
Exception for errors related to the socket connection timing out while connecting with the server
mysql-connector-python/lib/mysql/connector/errors.py:124
↓ 4 callers
Class
CustomDjangoMySQLConverter
A custom Django MySQL converter.
mysql-connector-python/tests/test_django.py:476
↓ 4 callers
Class
MyAnomalyDetector
MySQL HeatWave scikit-learn compatible anomaly/outlier detector. Flags samples as outliers when the probability of being an anomaly exce
mysql-connector-python/lib/mysql/ai/ml/outlier.py:62
↓ 4 callers
Class
MyLLM
Custom Large Language Model (LLM) interface for MySQL HeatWave. This class wraps the generation functionality provided by HeatWave LLMs,
mysql-connector-python/lib/mysql/ai/genai/generation.py:48
↓ 4 callers
Class
MyRegressor
MySQL HeatWave scikit-learn compatible regressor estimator. Provides prediction output from a regression model deployed in MySQL, and ma
mysql-connector-python/lib/mysql/ai/ml/regressor.py:46
↓ 4 callers
Class
PoolsManager
Manages a pool of connections for a host or hosts in routers. This class handles all the pools of Connections. .. versionadded:: 8.0.13
mysqlx-connector-python/lib/mysqlx/connection.py:1730
↓ 4 callers
Class
_DummyMySQLConnection
mysql-connector-python/tests/test_connection.py:120
↓ 3 callers
Class
FakeSocket
mysql-connector-python/tests/test_connection.py:824
↓ 3 callers
Class
FakeSocket
mysql-connector-python/tests/test_aio_connection.py:771
↓ 3 callers
Class
IntegrityError
Exception for errors regarding relational integrity
mysql-connector-python/lib/mysql/connector/errors.py:108
↓ 3 callers
Class
MyException
mysql-connector-python/tests/ai/utils/test_atomic_cursor.py:36
↓ 3 callers
Class
MyGenericTransformer
MySQL HeatWave scikit-learn compatible generic transformer. Can be used as the transformation step in an sklearn pipeline. Implements fit, t
mysql-connector-python/lib/mysql/ai/ml/transformer.py:45
↓ 3 callers
Class
MySQLInstrumentor
MySQL instrumentation supporting mysql-connector-python.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:569
↓ 3 callers
Class
MySQLServerError
Exception for raising errors when managing a MySQL server
mysqlx-connector-python/tests/mysqld.py:142
↓ 3 callers
Class
MySQLServerError
Exception for raising errors when managing a MySQL server
mysql-connector-python/tests/mysqld.py:142
↓ 3 callers
Class
MyVectorStore
MySQL-backed vector store for handling embeddings and semantic document retrieval. Supports adding, deleting, and searching high-dimensional
mysql-connector-python/lib/mysql/ai/genai/vector_store.py:73
↓ 3 callers
Class
PooledConnection
Class to hold :class:`Connection` instances in a pool. PooledConnection is used by :class:`ConnectionPool` to facilitate the connection to re
mysqlx-connector-python/lib/mysqlx/connection.py:1441
↓ 3 callers
Class
ReadTimeoutError
Exception for errors relating to socket timing out while receiving data from the server
mysql-connector-python/lib/mysql/connector/errors.py:131
↓ 3 callers
Class
Router
Represents a set of connection parameters. Args: settings (dict): Dictionary with connection settings .. versionadded:: 8.0.20
mysqlx-connector-python/lib/mysqlx/connection.py:543
↓ 3 callers
Class
RowResult
Allows traversing the Row objects returned by a Table.select operation. Args: connection (mysqlx.connection.Connection): The Connection o
mysqlx-connector-python/lib/mysqlx/result.py:1096
↓ 3 callers
Class
Schema
A client-side representation of a database schema. Provides access to the schema contents. Args: session (mysqlx.XSession): Session o
mysqlx-connector-python/lib/mysqlx/crud.py:178
↓ 3 callers
Class
Table
Represents a database table on a schema. Provides access to the table through standard INSERT/SELECT/UPDATE/DELETE statements. Args:
mysqlx-connector-python/lib/mysqlx/crud.py:660
↓ 3 callers
Class
WriteTimeoutError
Exception for errors relating to socket timing out while sending data to the server
mysql-connector-python/lib/mysql/connector/errors.py:150
↓ 2 callers
Class
CharacterSet
MySQL supported character sets and collations List of character sets with their collations supported by MySQL. This maps to the character set
mysql-connector-python/lib/mysql/connector/constants.py:961
↓ 2 callers
Class
Compressor
Implements compression/decompression using `zstd_stream`, `lz4_message` and `deflate_stream` algorithms. Args: algorithm (str): Compr
mysqlx-connector-python/lib/mysqlx/protocol.py:99
↓ 2 callers
Class
Connection
Connection to a MySQL Server. Args: settings (dict): Dictionary with connection settings.
mysqlx-connector-python/lib/mysqlx/connection.py:711
↓ 2 callers
Class
CursorWrapper
Wrapper around MySQL Connector/Python's cursor class. The cursor class is defined by the options passed to MySQL Connector/Python. If buffere
mysql-connector-python/lib/mysql/connector/django/base.py:126
↓ 2 callers
Class
CustomType
Example of a custom type.
mysql-connector-python/tests/test_conversion.py:61
↓ 2 callers
Class
DatabaseError
Exception for errors related to the database.
mysqlx-connector-python/lib/mysqlx/errors.py:83
↓ 2 callers
Class
DatabaseOperations
Database Operations class.
mysql-connector-python/lib/mysql/connector/django/operations.py:50
↓ 2 callers
Class
MessageReader
Implements a Message Reader. Args: socket_stream (mysqlx.connection.SocketStream): `SocketStream` object. .. versionadded:: 8.0.21
mysqlx-connector-python/lib/mysqlx/protocol.py:167
↓ 2 callers
Class
MessageWriter
Implements a Message Writer. Args: socket_stream (mysqlx.connection.SocketStream): `SocketStream` object. .. versionadded:: 8.0.21
mysqlx-connector-python/lib/mysqlx/protocol.py:267
↓ 2 callers
Class
MySQLProtocol
Implements MySQL client/server protocol Create and parses MySQL packets.
mysql-connector-python/lib/mysql/connector/protocol.py:88
↓ 2 callers
Class
Session
Enables interaction with a X Protocol enabled MySQL Product. The functionality includes: - Accessing available schemas. - Schema managem
mysqlx-connector-python/lib/mysqlx/connection.py:2122
↓ 2 callers
Class
SqlStatement
A statement for SQL execution. Args: connection (mysqlx.connection.Connection): Connection object. sql (string): The sql statemen
mysqlx-connector-python/lib/mysqlx/statement.py:600
↓ 2 callers
Class
TimeoutError
Exception for errors relating to connection timeout.
mysqlx-connector-python/lib/mysqlx/errors.py:115
↓ 2 callers
Class
TracedMySQLConnection
Wrapper class for a `MySQLConnection` or `CMySQLConnection` object.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:347
↓ 2 callers
Class
UnSupportedObject
mysql-connector-python/tests/test_protocol.py:716
↓ 2 callers
Class
_ParamSubstitutor
Substitutes parameters into SQL statement.
mysql-connector-python/lib/mysql/connector/cursor_cext.py:98
↓ 2 callers
Class
_ParamSubstitutor
Substitutes parameters into SQL statement.
mysql-connector-python/lib/mysql/connector/cursor.py:119
↓ 2 callers
Class
_ParamSubstitutor
Substitute parameters into a SQL statement.
mysql-connector-python/lib/mysql/connector/aio/cursor.py:92
↓ 1 callers
Class
AddStatement
A statement for document addition on a collection. Args: collection (mysqlx.Collection): The Collection object.
mysqlx-connector-python/lib/mysqlx/statement.py:708
↓ 1 callers
Class
Auth
Enum to identify the authentication mechanisms.
mysqlx-connector-python/lib/mysqlx/constants.py:36
↓ 1 callers
Class
BasicTestResult
Basic test result
mysqlx-connector-python/unittests.py:396
↓ 1 callers
Class
BasicTestResult
Basic test result
mysql-connector-python/unittests.py:628
↓ 1 callers
Class
BasicTestRunner
Basic test runner
mysqlx-connector-python/unittests.py:410
↓ 1 callers
Class
BasicTestRunner
Basic test runner
mysql-connector-python/unittests.py:642
↓ 1 callers
Class
BugOra21390859
BUG#21390859: STATEMENTS GET OUT OF SYNCH WITH RESULT SETS When including callproc (calling stored procedures) statements as part of a multi-
mysql-connector-python/tests/test_bugs.py:7907
↓ 1 callers
Class
BugOra36476195
BUG#36476195: Incorrect escaping in pure Python mode if sql_mode includes NO_BACKSLASH_ESCAPES When NO_BACKSLASH_ESCAPES is included with similar
mysql-connector-python/tests/test_bugs.py:8205
↓ 1 callers
Class
BugOra37013057
BUG#37013057: mysql-connector-python Parameterized query SQL injection Malicious strings can be injected when utilizing dictionary-based quer
mysql-connector-python/tests/test_bugs.py:8640
↓ 1 callers
Class
CMySQLCursorBuffered
Cursor using C Extension buffering results
mysql-connector-python/lib/mysql/connector/cursor_cext.py:824
↓ 1 callers
Class
CMySQLCursorRaw
Cursor using C Extension return raw results
mysql-connector-python/lib/mysql/connector/cursor_cext.py:918
↓ 1 callers
Class
CMySQLPrepStmt
Structure to represent a result from `CMySQLConnection.cmd_stmt_prepare`. It can be used consistently as a type hint. `_mysql_connector.MySQL
mysql-connector-python/lib/mysql/connector/abstracts.py:171
↓ 1 callers
Class
Charset
Dataclass representing a character set.
mysql-connector-python/lib/mysql/connector/aio/charsets.py:41
↓ 1 callers
Class
Charsets
MySQL supported character sets and collations class. This class holds the list of character sets with their collations supported by MySQL, ma
mysql-connector-python/lib/mysql/connector/aio/charsets.py:50
↓ 1 callers
Class
Client
Class defining a client, it stores a connection configuration. Args: connection_dict (dict): The connection information to connect to a
mysqlx-connector-python/lib/mysqlx/connection.py:2471
↓ 1 callers
Class
ClientInteraction
Provides user interaction to the Client.
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_webauthn_client.py:64
↓ 1 callers
Class
ClientInteraction
Provides user interaction to the Client.
mysql-connector-python/lib/mysql/connector/plugins/authentication_webauthn_client.py:63
↓ 1 callers
Class
Column
Represents meta data for a table column. Args: col_type (int): The column type. catalog (str): The catalog. schema (str):
mysqlx-connector-python/lib/mysqlx/result.py:442
↓ 1 callers
Class
Compression
Enum to identify the compression options.
mysqlx-connector-python/lib/mysqlx/constants.py:44
↓ 1 callers
Class
ConnectionPool
This class represents a pool of connections. Initializes the Pool with the given name and settings. Args: name (str): The name of th
mysqlx-connector-python/lib/mysqlx/connection.py:1514
↓ 1 callers
Class
CreateCollectionIndexStatement
A statement that creates an index on a collection. Args: collection (mysqlx.Collection): Collection. index_name (string): Index n
mysqlx-connector-python/lib/mysqlx/statement.py:1396
↓ 1 callers
Class
DatabaseIntrospection
Encapsulate backend-specific introspection utilities.
mysql-connector-python/lib/mysql/connector/django/introspection.py:83
↓ 1 callers
Class
DeleteStatement
A statement that drops a table. Args: table (mysqlx.Table): The Table object. .. versionchanged:: 8.0.12 The ``condition`` pa
mysqlx-connector-python/lib/mysqlx/statement.py:1347
↓ 1 callers
Class
DocResult
Allows traversing the DbDoc objects returned by a Collection.find operation. Args: connection (mysqlx.connection.Connection): The Con
mysqlx-connector-python/lib/mysqlx/result.py:1157
next →
1–100 of 734, ranked by callers