Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMySQL/PyMySQL
/ functions
Functions
364 in github.com/PyMySQL/PyMySQL
⨍
Functions
364
◇
Types & classes
57
↳
Endpoints
2
Function
escape_sequence
(val, charset=None, mapping=None)
pymysql/converters.py:34
Function
escape_set
(val, charset=None, mapping=None)
pymysql/converters.py:42
Function
escape_str
(value, mapping=None)
pymysql/converters.py:86
Function
escape_struct_time
(obj, mapping=None)
pymysql/converters.py:138
Function
escape_time
(obj, mapping=None)
pymysql/converters.py:114
Function
escape_timedelta
(obj, mapping=None)
pymysql/converters.py:94
Method
fetchall
Fetch all, as per MySQLdb. Pretty useless for large queries, as it is buffered. See fetchall_unbuffered(), if you want an unbuffered
pymysql/cursors.py:456
Method
fetchmany
Fetch many.
pymysql/cursors.py:472
Method
fetchone
Fetch next row.
pymysql/cursors.py:446
Method
get_bytes
Get 'length' bytes starting at 'position'. Position is start of payload (first four packet header bytes are not included) starting at
pymysql/protocol.py:100
Function
get_client_info
()
pymysql/__init__.py:61
Method
get_host_info
(self)
pymysql/connections.py:1176
Method
get_proto_info
(self)
pymysql/connections.py:1179
Function
install_as_MySQLdb
After this function is called, any application that imports MySQLdb will unwittingly actually use pymysql.
pymysql/__init__.py:65
Method
is_binary
(self)
pymysql/charset.py:30
Method
is_resultset_packet
(self)
pymysql/protocol.py:199
Method
literal
Alias for escape(). Non-standard, for internal use; do not use this in your applications.
pymysql/connections.py:545
Method
mogrify
Returns the exact string that would be sent to the database by calling the execute() method. :param query: Query to mogrify.
pymysql/cursors.py:128
Method
open
Return True if the connection is open.
pymysql/connections.py:444
Method
optionxform
(self, key)
pymysql/optionfile.py:16
Function
raise_mysql_exception
(data)
pymysql/err.py:141
Method
read_uint32
(self)
pymysql/protocol.py:126
Method
rollback
Roll back the current transaction. See `Connection.rollback() <https://www.python.org/dev/peps/pep-0249/#rollback>`_ in the
pymysql/connections.py:504
Function
scramble_native_password
Scramble used for mysql_native_password
pymysql/_auth.py:28
Method
scroll
(self, value, mode="relative")
pymysql/cursors.py:318
Method
scroll
(self, value, mode="relative")
pymysql/cursors.py:492
Method
setUp
(self)
pymysql/tests/test_basic.py:334
Method
setUp
(self)
pymysql/tests/test_cursor.py:34
Method
setUp
(self)
pymysql/tests/test_DictCursor.py:15
Method
setinputsizes
Does nothing, required by DB API.
pymysql/cursors.py:84
Method
setoutputsizes
Does nothing, required by DB API.
pymysql/cursors.py:87
Function
sha256_password_auth
(conn, pkt)
pymysql/_auth.py:158
Method
show_warnings
Send the "SHOW WARNINGS" SQL command.
pymysql/connections.py:514
Method
tearDown
(self)
pymysql/tests/test_DictCursor.py:36
Method
teardown
()
pymysql/tests/base.py:76
Method
testAuthEd25519
(self)
pymysql/tests/test_connection.py:411
Method
testAuthSHA256
(self)
pymysql/tests/test_connection.py:392
Method
testDialogAuthThreeAttempts
(self)
pymysql/tests/test_connection.py:250
Method
testDialogAuthThreeAttemptsQuestionsInstallPlugin
(self)
pymysql/tests/test_connection.py:235
Method
testDialogAuthTwoQuestions
(self)
pymysql/tests/test_connection.py:207
Method
testDialogAuthTwoQuestionsInstallPlugin
(self)
pymysql/tests/test_connection.py:192
Method
testPamAuth
(self)
pymysql/tests/test_connection.py:336
Method
testPamAuthInstallPlugin
(self)
pymysql/tests/test_connection.py:315
Method
testSocketAuth
(self)
pymysql/tests/test_connection.py:139
Method
testSocketAuthInstallPlugin
(self)
pymysql/tests/test_connection.py:116
Method
test_DictCursor
(self)
pymysql/tests/test_DictCursor.py:44
Method
test_SSCursor
(self)
pymysql/tests/test_SSCursor.py:9
Method
test_aggregates
test aggregate functions
pymysql/tests/test_basic.py:271
Method
test_authentication_packet_transitions
Exercise multi-step authentication without a MySQL server or Router.
pymysql/tests/test_auth_state_machine.py:57
Method
test_autocommit
(self)
pymysql/tests/test_connection.py:472
Method
test_binary
test binary data
pymysql/tests/test_basic.py:136
Method
test_blob
test blob data
pymysql/tests/test_basic.py:149
Method
test_bulk_insert
(self)
pymysql/tests/test_basic.py:361
Method
test_bulk_insert_multiline_statement
(self)
pymysql/tests/test_basic.py:380
Method
test_bulk_insert_single_record
(self)
pymysql/tests/test_basic.py:412
Function
test_caching_sha2_no_password
()
tests/test_auth.py:44
Function
test_caching_sha2_no_password_ssl
()
tests/test_auth.py:49
Function
test_caching_sha2_password
()
tests/test_auth.py:54
Function
test_caching_sha2_password_ssl
()
tests/test_auth.py:89
Function
test_case_sensitivity
()
pymysql/tests/test_charset.py:34
Method
test_cleanup_rows_buffered
(self)
pymysql/tests/test_cursor.py:77
Method
test_cleanup_rows_unbuffered
(self)
pymysql/tests/test_cursor.py:60
Method
test_commit_during_multi_result
(self)
pymysql/tests/test_connection.py:972
Method
test_connection_gone_away
http://dev.mysql.com/doc/refman/5.0/en/gone-away.html http://dev.mysql.com/doc/refman/5.0/en/error-messages-client.html#error_cr_serv
pymysql/tests/test_connection.py:498
Method
test_convert_datetime
(self)
pymysql/tests/test_converters.py:15
Method
test_convert_datetime_with_fsp
(self)
pymysql/tests/test_converters.py:20
Method
test_convert_time
(self)
pymysql/tests/test_converters.py:72
Method
test_convert_time_with_fsp
(self)
pymysql/tests/test_converters.py:77
Method
test_convert_timedelta
(self)
pymysql/tests/test_converters.py:40
Method
test_convert_timedelta_with_fsp
(self)
pymysql/tests/test_converters.py:44
Method
test_cursor_is_iterator
Test that the cursor is an iterator
pymysql/tests/test_cursor.py:52
Method
test_custom_dict
(self)
pymysql/tests/test_DictCursor.py:85
Method
test_custom_handler_may_consume_exchange_without_returning_packet
(self)
pymysql/tests/test_auth_state_machine.py:153
Method
test_custom_handler_overrides_initial_plugin
An initial plugin override handles extra data without an auth switch.
pymysql/tests/test_auth_state_machine.py:127
Method
test_custom_handler_processes_follow_up_packet
The same configured handler processes every packet in its exchange.
pymysql/tests/test_auth_state_machine.py:94
Method
test_datatypes
test every data type
pymysql/tests/test_basic.py:14
Method
test_datetime_microseconds
test datetime conversion w microseconds
pymysql/tests/test_basic.py:190
Method
test_decimal_special_values
(self)
pymysql/tests/test_converters.py:82
Method
test_defer_connect
(self)
pymysql/tests/test_connection.py:536
Method
test_dict
test dict escaping
pymysql/tests/test_basic.py:97
Function
test_error_init_sqlstate
()
pymysql/tests/test_err.py:9
Method
test_escape_builtin_encoders
(self)
pymysql/tests/test_connection.py:918
Method
test_escape_custom_object
(self)
pymysql/tests/test_connection.py:924
Method
test_escape_dict_raise_typeerror
con.escape(dict) should raise TypeError
pymysql/tests/test_connection.py:944
Method
test_escape_fallback_encoder
(self)
pymysql/tests/test_connection.py:930
Method
test_escape_list_item
(self)
pymysql/tests/test_connection.py:954
Method
test_escape_no_default
(self)
pymysql/tests/test_connection.py:939
Method
test_escape_string
(self)
pymysql/tests/test_connection.py:905
Method
test_escape_string
(self)
pymysql/tests/test_converters.py:12
Method
test_escape_timedelta
(self)
pymysql/tests/test_converters.py:48
Method
test_executemany
(self)
pymysql/tests/test_cursor.py:94
Method
test_execution_time_limit
(self)
pymysql/tests/test_cursor.py:168
Method
test_execution_time_limit
(self)
pymysql/tests/test_SSCursor.py:115
Method
test_fetch_no_result
test a fetchone() with no rows
pymysql/tests/test_basic.py:259
Method
test_force_close_closes_socketio
(self)
pymysql/tests/test_connection.py:980
Method
test_init_command
(self)
pymysql/tests/test_connection.py:513
Method
test_integer
(self)
pymysql/tests/test_basic.py:124
Method
test_issue_114
autocommit is not set after reconnecting with ping()
pymysql/tests/test_issues.py:350
Method
test_issue_1206
(self)
pymysql/tests/test_issues.py:502
Method
test_issue_13
can't handle large result fields
pymysql/tests/test_issues.py:94
← previous
next →
201–300 of 364, ranked by callers