Skip to main content
https://img.shields.io/pypi/v/mysqlx-connector-python.svg https://img.shields.io/pypi/pyversions/mysqlx-connector-python.svg https://img.shields.io/pypi/l/mysqlx-connector-python.svg

MySQL Connector/Python contains an implementation of the X DevAPI - An Application Programming Interface for working with the MySQL Document Store.

Licensing

Please refer to the README.txt and LICENSE.txt files, available in this repository, for further details.

Contributing

We greatly appreciate feedback from our users, including bug reports and code contributions. Your input helps us improve, and we thank you for any issues you report or code you contribute. Please refer to the CONTRIBUTING.md document for additional information.

Installation

Connector/Python contains the Classic and X DevAPI connector APIs, which are installed separately. Any of these can be installed from a binary or source distribution.

Binaries are distributed in the following package formats:

On the other hand, the source code is distributed as a compressed file from which a wheel package can be built.

The recommended way to install Connector/Python is via pip, which relies on WHEEL packages. For such a reason, it is the installation procedure that is going to be described moving forward.

Please, refer to the official MySQL documentation Connector/Python Installation to know more about installing from an RPM, or building and installing a WHEEL package from a source distribution.

Before installing a package with pip, it is strongly suggested to have the most recent pip 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.

$ pip install mysqlx-connector-python

Please refer to the installation tutorial for installation alternatives of the X DevAPI.

Installation Options

Connector packages included in MySQL Connector/Python allow you to install optional dependencies to unleash certain functionalities.

# 3rd party packages to unleash the compression functionality are installed
$ pip install mysqlx-connector-python[compression]

This installation option can be seen as a shortcut to install all the dependencies needed by a particular feature. Mind that this is optional and you are free to install the required dependencies by yourself.

Available options:

  • dns-srv

  • compression

Sample Code

import mysqlx

# Connect to server
session = mysqlx.get_session(
   host="127.0.0.1",
   port=33060,
   user="mike",
   password="s3cr3t!")
schema = session.get_schema("test")

# Use the collection "my_collection"
collection = schema.get_collection("my_collection")

# Specify which document to find with Collection.find()
result = collection.find("name like :param") \
                   .bind("param", "S%") \
                   .limit(1) \
                   .execute()

# Print document
docs = result.fetch_all()
print(r"Name: {0}".format(docs[0]["name"]))

# Close session
session.close()

Additional Resources

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mysqlx_connector_python-26.7.0.tar.gz (374.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mysqlx_connector_python-26.7.0-py2.py3-none-any.whl (224.5 kB view details)

Uploaded Python 2Python 3

mysqlx_connector_python-26.7.0-cp314-cp314-win_amd64.whl (851.4 kB view details)

Uploaded CPython 3.14Windows x86-64

mysqlx_connector_python-26.7.0-cp314-cp314-manylinux_2_28_x86_64.whl (21.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

mysqlx_connector_python-26.7.0-cp314-cp314-manylinux_2_28_aarch64.whl (20.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

mysqlx_connector_python-26.7.0-cp314-cp314-macosx_14_0_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.14macOS 14.0+ x86-64

mysqlx_connector_python-26.7.0-cp314-cp314-macosx_14_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

mysqlx_connector_python-26.7.0-cp313-cp313-win_amd64.whl (834.0 kB view details)

Uploaded CPython 3.13Windows x86-64

mysqlx_connector_python-26.7.0-cp313-cp313-manylinux_2_28_x86_64.whl (21.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

mysqlx_connector_python-26.7.0-cp313-cp313-manylinux_2_28_aarch64.whl (20.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

mysqlx_connector_python-26.7.0-cp313-cp313-macosx_14_0_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 14.0+ x86-64

mysqlx_connector_python-26.7.0-cp313-cp313-macosx_14_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

mysqlx_connector_python-26.7.0-cp312-cp312-manylinux_2_28_x86_64.whl (21.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

mysqlx_connector_python-26.7.0-cp312-cp312-manylinux_2_28_aarch64.whl (20.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

mysqlx_connector_python-26.7.0-cp312-cp312-macosx_14_0_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

mysqlx_connector_python-26.7.0-cp312-cp312-macosx_14_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

mysqlx_connector_python-26.7.0-cp311-cp311-win_amd64.whl (834.0 kB view details)

Uploaded CPython 3.11Windows x86-64

mysqlx_connector_python-26.7.0-cp311-cp311-manylinux_2_28_x86_64.whl (21.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

mysqlx_connector_python-26.7.0-cp311-cp311-manylinux_2_28_aarch64.whl (20.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

mysqlx_connector_python-26.7.0-cp311-cp311-macosx_14_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 14.0+ x86-64

mysqlx_connector_python-26.7.0-cp311-cp311-macosx_14_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

mysqlx_connector_python-26.7.0-cp310-cp310-win_amd64.whl (845.0 kB view details)

Uploaded CPython 3.10Windows x86-64

mysqlx_connector_python-26.7.0-cp310-cp310-manylinux_2_28_x86_64.whl (21.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

mysqlx_connector_python-26.7.0-cp310-cp310-manylinux_2_28_aarch64.whl (20.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

mysqlx_connector_python-26.7.0-cp310-cp310-macosx_14_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10macOS 14.0+ x86-64

mysqlx_connector_python-26.7.0-cp310-cp310-macosx_14_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file mysqlx_connector_python-26.7.0.tar.gz.

File metadata

  • Download URL: mysqlx_connector_python-26.7.0.tar.gz
  • Upload date:
  • Size: 374.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for mysqlx_connector_python-26.7.0.tar.gz
Algorithm Hash digest
SHA256 76c8aebe47c55b88a74012a715c063153c36a239c0a47dac29cc01caa9323137
MD5 498b37c9ea1d89c3e1a66038f9b5e3c2
BLAKE2b-256 e7865859d319799e0ba60071f91822076aa693f8704b179744b16b398eea7b57

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 838d58d86247a30174dffafacb10c17b6abbef5486fd8afb031f92308c0cabae
MD5 40093016e8f2b208f62ee87652dc310c
BLAKE2b-256 3c13dc0badcd0eb3679d2094c2b9b6eacdc50317dbfd0a88cd8816b481a4f0ca

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 cb94d27970fcef728c314649a1445f9f3e9e942de2a64bac63fe75bad7951545
MD5 307cd6525c508e8732a0b3c9a75cfb5f
BLAKE2b-256 6ecab6a23702e91f7bce7ddaef6450121cbe7bd5ca60c1bc458005e916c41068

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dc4454ac52ea294e66b062a8e5be1c5ee57fe259ce50aca2c1db8221b404a33c
MD5 470e7869860b4f4759c7f2b020320f87
BLAKE2b-256 93cfcbaea4081c5e21965bca1688356ca187862a5b8b07f2b4b566e53a8df963

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dcc591c483ab47dec53123b747ace89afe2456a866fb72e5ff9e4bdb003bc640
MD5 6871692331327a04f3197f58c48d1990
BLAKE2b-256 79968a07296de33441f06f123ac46d54bc3b8e93393db32e78c7900c5012a666

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp314-cp314-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp314-cp314-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 821ab7707505798957c03e71628c58e97173992ac47bcd6a4b666eb484c950ed
MD5 f17301c848385d2031a6e652d8aa4602
BLAKE2b-256 27f8ea706cc4ae33aae0c09eefd637b032d206c9194f961035ebb3953e9892f9

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b2da9369c758a3fc37611d8a4762fa3061d6df2046414fed34d07b7245e327b7
MD5 362516bbfd5903f8049ebe2834202aca
BLAKE2b-256 919651323555eeda8b472568b30e0b41e8735399c5da124f41e228f7ec2eec14

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 415b461e24dbdee29806aad97c01f54379c1e9b98db42d5f50d2372107007989
MD5 2acf0d9ee98b183591bb4a0d11e661e6
BLAKE2b-256 c4badfbc1a9eed65b8a35042b759f9a5548ae22d23215c0b519ab024a8dbc88d

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c9db0dd158e9f4434c5a48ca28dd3b675d95fe27744d90f2050bd086c8930c1
MD5 d453041c1e39227823ea7b3f1322f376
BLAKE2b-256 2bb06f607e490f09dd091ac47ebfc7a62e2414a63f81715a43498f2e3385274a

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2a5f2cc989d27e53c779dfe435974fb7467870fe9a44efdd6b6eac61890ebed1
MD5 0f71298ec02e08dc09b468f1c5550c6c
BLAKE2b-256 5640fc7130debef9779b1081fb6ce70ef90eaeef76821cfe4ef36e2b6e4d66a2

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp313-cp313-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 5ca897cf65a9c84365a276e26e5af8f654cec3af07428602fda325ce46ba0412
MD5 c6aa11f3eee4cb39d0ef20c85b902409
BLAKE2b-256 f9f4f3e2383324827e2f888512512038894cb1473b0752ea7154d51ebb13c0b8

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f8e810dab80838218925a70b5a96bb4c6991c5c934fd24a8cebe9c0b12e9ccc0
MD5 5e8c10479c359467b280dcc164064c92
BLAKE2b-256 ecc8f1f0589e5e912966b357f7d2050a46126c59d6560dc82e560dad3ed53cc6

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b1ad35cc551c0a157705616032edb363f3eb80b32a067ea1b0d519e43d33c679
MD5 a2433adeec5bd1485eea074b9b26dfd1
BLAKE2b-256 378717e57343f83188b85f1d7bdc90d88695535001fff1ca84171c541f8b8f11

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a14f1e83f3ec413a7adbcf680769e97f54bc1196bb850d22ede95cdf71d25de9
MD5 5660386604ce19340340a143e6a3a8d7
BLAKE2b-256 e9f496c149ee0d9d695907f158cd7a9a5013f8e3a713b7663013ccc222d62e02

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp312-cp312-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 3b098b9935c50e8bb78b774848bfe3c7d05822829e2a3b39ddb872630b057eda
MD5 63ee08932c8b8c57b12d2cbdfe820bfd
BLAKE2b-256 1a8f870cb499654031e63f2564955b31e1dd45e7511821c71ddc06ad2196abf5

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ed66e2ca4fd1a79dd4079a35f675ce970c0600777e348778e5f4adb0e5ab4ef5
MD5 3f301caa5bf35335df05d496bd1d697e
BLAKE2b-256 0f0483d9e427c91f7c5931824027c23003018e4b537f384986dcd7419f76bf33

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 eafde9199fac5d07733c781b8b0fcdc37bf4013d6691e3bd6d7452e20fc31ee9
MD5 8c6417ff5f810db4352bbb0d09d9679c
BLAKE2b-256 a80ce74b7796820abb4ac04ba4c00c000ce34a374064a91ed2d263c5fdf55a1d

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 33239cbe94805312357d6d584dd26437f5f68032aae64919232307ee8bb41c77
MD5 071c5ce01858dca8b840caf7d3244fb3
BLAKE2b-256 342e1d6b5b986e6494156ea10996cb794f06e4d0ff3fce19771a219259075d65

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 36f67f32915d3d4d90c5ae347936cdfd0b1f2ee61b1afeb9638e720cfe82bb35
MD5 67b105f0e99d17e63b5cf55e501c597b
BLAKE2b-256 82a53f74dd757974d600bf9aea9c78a46d9f4ba656e9fd9d148225ac0306c2d1

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp311-cp311-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 6b6b653b415f2936e7591fa6e5bb12b2115e4d7bad198d5c4ffbbf7f4cf225da
MD5 d0ff6b32ddc5aad70388d24a9f57b9ec
BLAKE2b-256 3fc2497b46897d7b0417738d9c70775a3a1f4d42b84fe18c70bb34e65b6e8e8c

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d64a455448b9357bb8df0e25326b4207e99e1c67a32643040240e3f86d509a97
MD5 f8e02b4bce152fa76f9415dcd2e205e3
BLAKE2b-256 727a859845ae15d206b85525fdaeffede83fc83e7988210f4014956ca33ca9db

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f1c1e42c0c95738e4fc94aeb1599b594f065ab3dd3a4410531a504d05b61afa8
MD5 fd19482dbfe5e277c587d178f8cacba3
BLAKE2b-256 d1e10583c9a37e9054850ff91690aba377539ee1ab2db670c22b49ae618e731c

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eb6b6e3341d325f89758ab82337718086617d9d0d9c7f7678dfd2fab059d232a
MD5 c581731439d065dc8cc02d17c17c5ae0
BLAKE2b-256 a0785e48458f80df61545d489a8073737794edfec12dcd89e58e6aa693039c6d

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 724ec8958401aa9b5236857a1ce7adefffe51969958db22bfea800652b113775
MD5 5555f7e585242410789dbec6edb8eceb
BLAKE2b-256 abd17fe8320b64052d953b12191f4e13c76dfa1b7fb0e6e5aaa3765573a1ceec

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp310-cp310-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp310-cp310-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 39134a32ae012195eb125c766ca29ed970757e2ed94c8eff2879c63687c1d006
MD5 00ef8e0dcbf59a4920582b451e3a3ece
BLAKE2b-256 78b4b6dd45f90bfbb1f76cabc1d5a326c4249201203cb0d6726a2d8a9b4544cf

See more details on using hashes here.

File details

Details for the file mysqlx_connector_python-26.7.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for mysqlx_connector_python-26.7.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c616b93bc8e503ecc9894f7d752fa920ee1e6858ece6f81271cec9128f57a06a
MD5 97413d319f7767911ad52abc08651639
BLAKE2b-256 287cc3d81274d9b3e6a98504afa1fcd3697254885117d2649499f1429d146d17

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

26.7.0 This release

26 files

9.7.0

26 files

9.6.0

27 files

9.5.0

27 files

9.4.0

27 files

9.3.0

27 files

9.2.0

26 files

9.1.0

27 files

9.0.0

26 files

8.4.0

26 files

8.3.0

26 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page