Connector/Python 2.1 with C Extension using Connector/C

In time for Oracle OpenWorld 2014, we released Connector/Python 2.0. We also released a labs release Connector/Python 2.1 and we have a new feature: a C Extension which uses Connector/C. This C Extension is an optional, an alternative to the pure Python MySQL Client protocol implementation. One of the reasons to implement it was to improve performance in some situations, for example, when huge result sets are returned. Pure Python is still default, if C Extension is not available.

MySQL Connector/Python 2.0.1 an 1.2.3 on PyPI

Both MySQL Connector/Python 2.0.1 and 1.2.3 are now available through the Python Package Index or PyPI. Leaving the previous version available is probably a good idea as you can always go back if needed. Note that we still have no files hosted at PyPI.

Relocated Connector/Python on GitHub

We have relocated the MySQL Connector/Python repository on GitHub to the following location: https://github.com/mysql/mysql-connector-python The old location will redirect to the above URL. No, we have not updated the README.txt or made something special for GitHub. I personally don’t mind what is currently showing on GitHub: it is readable, and it is correct. I still hope GitHub will make it easier to show something else, like asking which document to display and as what format.

MySQL Connector/Python 2.0.1 GA

MySQL Connector/Python v2.0 goes GA with version 2.0.1 GA. It is available for download from the MySQL Developer Zone! The previous post about 2.0 described what changed and what was added, here’s an overview: Incompatibilities Supported Python: 2.6 and 2.7 and 3.3 and 3.4 Raw Cursors Return bytearray Objects LOAD LOCAL DATA INFILE On by Default New features New Cursors return dictionaries and named tuples Options Files Support Added Packaging and support files removed We are on GitHub!

MySQL Connector/Python on GitHub

Last week we released Connector/Python v2.0 (alpha); today we publish the source on GitHub. Yes, we are using Git internally and are now able to push it out on each release. Previous versions are still available through LaunchPad. Here is the full process to get Connector/Python installed in a virtual environment. You’ll need Git installed of course. $ git clone https://github.com/oracle/mysql-connector-python.git cpy $ virtualenv ENVCPY $ source ENVCPY/bin/activate (ENVCPY)$ cd cpy (ENVCPY)$ python setup.