Release Candidate 1 of Python cx_Oracle 6.0 in now on PyPI. Test now and report any feedback.
Python cx_Oracle is the Python Instant for Oracle Database. Version 6 is based on the new ODPI-C abstraction layer, which is now also in Release Candidate phase. This layer has allowed cx_Oracle code itself to be greatly simplified.
There are a few small tweaks in cx_Oracle RC1 since the final Beta. Read about them in the Release Notes. A couple of the changes are that the method Cursor.setoutputsize() is now a no-op, since ODPI-C automatically manages buffer sizes of LONG and LONG RAW columns. Also unicode can be used (in addition to string) for creating session pools and for changing passwords in Python 2.7.
The use of ODPI-C has allowed Python Wheels to be created, making installation easier.
Install cx_Oracle 6.0 RC 1 from PyPI with:
python -m pip install cx_Oracle --pre
All you then need are Oracle client 12.2, 12.1 or 11.2 libraries (e.g. the Oracle Instant Client 'Basic' package) in your path at runtime.
cx_Oracle Documentation is here.