1. Oracle Driver For Python
  2. Python Oracle Driver
  3. Python Connect Oracle
  4. Python Oracle Db Driver

Python is an integral part of the Oracle Linux operating system. Oracle Linux 6 has Python 2.6 and Oracle Linux 7 has Python 2.7 already installed and includes Python 3 as of Oracle Linux 7.7. Python is not installed by default on Oracle Linux 8. Instead, different versions of Python. Nevertheless, Python is an excellent language for Oracle development and utilities and the cxoracle driver fully supports best coding practices for Oracle. Bind Variables As with most languages, it's all too easy to concatenate literals - creating a unique SQL which mush be re-parsed - rather than using the more efficient bind variable approach. About cxOracle. CxOracle is a Python extension module that enables access to Oracle Database. It conforms to the Python database API 2.0 specification with a considerable number of additions and a couple of exclusions. CxOracle 8 has been tested with Python versions 3.6 through 3.9. Older versions of cxOracle may be used with previous Python releases. Installing Oracle for Python with Anaconda Python 3.x on Windows. The process of installing Oracle drivers into Python is complex. To use Python with Oracle three components must all be inplace and be of the same version (Python 3.5 suggested) and architecture (64-bit suggested). This tutorial assumes that you desire a Python 3.5. For a list of valid flags please compare the 4.2.3 section of Python Library Reference with a list of valid values for the matchparameter in the Oracle Database SQL Language Reference. Python's re.search function is very flexible due to the fundamental concepts of regular expressions.

This page provides resources for people looking for ODBC drivers which they can then use with one of the available Python ODBC interfaces.

We group drivers by database backend. Where available, please add the database vendor drivers as first entry in each section.

Contents

  1. ODBC Drivers
    1. Drivers by Data Source

Generic Lists

Python Oracle Drivereverdownloads
  • SQL Summit list of ODBC drivers and vendors
    This was once the most comprehensive listing of ODBC drivers. Unfortunately, the site stopped working in 2014, so the above is a link to the last archive.org version. Even though it is not updated anymore, it still provides a good overview of where to look for drivers.

  • ODBC Drivers on databasedrivers.comListing of available ODBC drivers. This is also available as list based on database backend.

ODBC Driver Vendors

There are a couple of companies which focus on creating commercial quality ODBC drivers for various backends:

  • Actual Technologies (specialized on Mac OS X)

  • CData Software ODBC Drivers for more than 60 data sources.

  • Devart (Windows, Linux, Mac OS X)

  • DataDirect

  • EasySoft

  • OpenLink

  • Simba Technologies Drivers and driver development tools for Windows, Linux, Mac OS X: SQL Server, Couchbase, MongoDB, Hive, DynamoDB, Redshift, Cassandra, Spark, Impala, BigQuery, HBase, Salesforce.

Drivers by Data Source

Amazon DynamoDB

  • CData ODBC Driver for Amazon DynamoDB

  • Please add new entries here

Amazon SimpleDB

Python
  • CData ODBC Driver for Amazon SimpleDB

  • Please add new entries here

Apache Cassandra

  • CData ODBC Driver for Apache Cassandra

  • Simba Cassandra ODBC driver with SQL connector

  • Please add new entries here

Apache HBase

  • CData ODBC Driver for Apache HBase

  • Please add new entries here

Apache Hive

  • Simba Hive ODBC driver with SQL connector

  • Please add new entries here

Authorize.Net

  • CData ODBC Driver for Authorize.Net

  • Please add new entries here

Azure Management

  • CData ODBC Driver for Azure Management

  • Please add new entries here

Azure Table

  • CData ODBC Driver for Azure Table

  • Please add new entries here

Couchbase

  • CData ODBC Driver for Couchbase Server

  • Simba Couchbase ODBC driver with SQL connector

  • Please add new entries here

CSV/TSV Files

  • CData ODBC Driver for CSV/TSV Files

  • Please add new entries here

E*TRADE

  • CData ODBC Driver for E*TRADE

  • Please add new entries here

Email

  • CData ODBC Driver for Email

  • Please add new entries here

Exact Online

  • CData ODBC Driver for Exact Online

  • Please add new entries here

Facebook

  • CData ODBC Driver for Facebook

  • Please add new entries here

Python

FreshBooks Accounting

  • CData ODBC Driver for FreshBooks Accounting

  • Please add new entries here

Firebird (and Interbase)

  • Devart Firebird ODBC Driver
    Works on Windows, Linux, Mac OS X 32/64 bits.
    Supports Firebird server and client versions 2.x, 1.x.

  • Devart Interbase ODBC Driver
    Works on Windows, Linux, Mac OS X 32/64 bits.
    Supports all the InterBase server and client versions.

  • Please add new entries here

Gmail

  • CData ODBC Driver for Gmail

  • Please add new entries here

Google AdWords

  • CData ODBC Driver for Google AdWords

  • Please add new entries here

Google Analytics

  • CData ODBC Driver for Google Analytics

  • Please add new entries here

Google Apps

  • CData ODBC Driver for Google Apps

  • Please add new entries here

Google BigQuery

  • CData ODBC Driver for Google BigQuery

  • Please add new entries here

Google Sheets

  • CData ODBC Driver for Google Sheets

  • Please add new entries here

HPCC ECL Queries

  • CData ODBC Driver for HPCC ECL Queries

  • Please add new entries here

HubSpot

  • CData ODBC Driver for HubSpot

  • Please add new entries here

IBM DB2

  • IBM DB2 ODBC driver for Windows and Unix
    Come with IBM DB2, but can also be downloaded separately. Supports Windows and Unix.

  • IBM ODBC Driver for Linux on iSeries / AS/400 DB2 servers

  • DataDirect ODBC Driver for IBM DB2

  • OpenLink ODBC Driver for IBM DB2

  • Please add new entries here

IBM Informix

  • Please add new entries here

IBM Netezza

  • Netezza ODBC driver

    Since IBM acquired Netezza, the ODBC drivers are only available to customers with active support contracts. If you have one, you can download the driver as part of the software bundles from IBM FixCentral (search for 'Netezza').

  • Please add new entries here

Ingres

  • Please add new entries here

Intacct

  • CData ODBC Driver for Intacct

  • Please add new entries here

JSON Services

  • CData ODBC Driver for JSON Services

  • Please add new entries here

LDAP Directory Services

  • CData ODBC Driver for LDAP Directory Services

  • Please add new entries here

MailChimp

  • CData ODBC Driver for MailChimp

  • Please add new entries here

MariaDB

MariaDB is a fork of MySQL.

  • MariaDB ODBC Driver

  • Devart MariaDB ODBC Driver
    Works on Windows, Linux, Mac OS X 32/64 bits.
    Supports MariaDB 5.x. LGPLed ODBC driver for Windows.

  • Please add new entries here

Marketo

  • CData ODBC Driver for Marketo

  • Please add new entries here

Microsoft Access

  • Please add new entries here

Microsoft Active Directory

  • CData ODBC Driver for Microsoft Active Directory

  • Please add new entries here

Python

Microsoft Dynamics CRM

  • CData ODBC Driver for Microsoft Dynamics CRM

  • Please add new entries here

Microsoft Dynamics GP

Driver
  • CData ODBC Driver for Microsoft Dynamics GP

  • Please add new entries here

Microsoft Dynamics NAV

  • CData ODBC Driver for Microsoft Dynamics NAV

  • Please add new entries here

Microsoft Exchange

  • CData ODBC Driver for Microsoft Exchange

  • Please add new entries here

Microsoft Project

  • CData ODBC Driver for Microsoft Project

  • Please add new entries here

Microsoft SharePoint

  • CData ODBC Driver for Microsoft SharePoint

  • Please add new entries here

Microsoft SQL Server

  • MS SQL Server Native Client for SQL Server 2005, 2008 and later
    Free, supported by Microsoft and available for Windows and 64-bit Linux.

  • Actual Technologies Mac OS X ODBC Driver for SQL Server

  • DataDirect ODBC Driver for SQL Server

  • Devart SQL Server ODBC Driver
    Works on Windows, Linux, Mac OS X 32/64 bits.
    Compatible with SQL Server 2014, SQL Server 2012, SQL Server 2008 R2, SQL Server 2008, SQL Server 2005, SQL Server 2000 (including MSDE), SQL Server 7, SQL Server Compact 4.0, 3.5, 3.1

  • EasySoft ODBC Driver for SQL Server

  • FreeTDS Unix ODBC Driver for SQL Server
    Open-source TDS protocol client library, which comes with an ODBC driver. The TDS protocol is used by SQL Server and Sybase ASE.

  • OpenLink ODBC Driver for SQL Server

  • Simba SQL Server ODBC drivers Supports Linux, Mac and Windows. Available in client and server (two-tier) versions.

  • Please add new entries here

MongoDB

  • CData ODBC Driver for MongoDB

  • Simba MongoDB ODBC driver with SQL connector

  • Please add new entries here

MySQL

  • MySQL ODBC Driver GPLed ODBC driver for Windows, Linux, Mac OS X, and Unix platforms.

  • Actual Technologies Mac OS X ODBC Driver for MySQL

  • CData ODBC Driver for MySQL

  • DataDirect ODBC Driver for MySQL

  • Devart MySQL ODBC Driver
    Works on Windows, Linux, Mac OS X 32/64 bits.
    Supports MySQL servers: 6.0, 5.6, 5.5, 5.1, 5.0, 4.1, 4.0, and 3.23

  • OpenLink ODBC Driver for MySQL

  • Please add new entries here

NetSuite CRM & ERP

  • CData ODBC Driver for NetSuite CRM & ERP

  • Please add new entries here

OData Services

  • CData ODBC Driver for OData Services

  • Please add new entries here

Office 365

  • CData ODBC Driver for Office 365

  • Please add new entries here

OFX Financial Accounts

  • CData ODBC Driver for OFX Financial Accounts

  • Please add new entries here

Oracle

  • Oracle Instant Client ODBC driver
    Free, supported by Oracle. Works on Windows, Linux, Mac OS X, AIX, z/Linux, Solaris, HP-UX.

  • Actual Technologies Mac OS X ODBC Driver for Oracle

  • DataDirect ODBC Driver for Oracle

  • Devart Oracle ODBC Driver
    Works on Windows, Linux, Mac OS X 32/64 bits.
    Supports Oracle servers: 12c, 11g, 10g, 9i, 8i, 8.0, including Oracle Express Edition 11g and 10g.
    Supports both x86 and x64 versions of the following Oracle Clients: 12c, 11g, 10g, 9i, 8i, 8.0.

  • EasySoft ODBC Driver for Oracle

  • OpenLink ODBC Driver for Oracle

  • Please add new entries here

Oracle Eloqua

  • CData ODBC Driver for Oracle Eloqua

  • Please add new entries here

PayPal

  • CData ODBC Driver for PayPal

  • Please add new entries here

PowerShell

  • CData ODBC Driver for PowerShell

  • Please add new entries here

PreEmptive Analytics

  • CData ODBC Driver for PreEmptive Analytics

  • Please add new entries here

Oracle Driver For Python

PostgreSQL

  • PostgreSQL ODBC Driver]
    Open-source driver developed as part of the PostgreSQL project.

  • Actual Technologies Mac OS X ODBC Driver for PostgreSQL

  • DataDirect ODBC Driver for PostgreSQL

  • Devart PostgreSQL ODBC Driver
    Works on Windows, Linux, Mac OS X 32/64 bits.
    Supports PostgreSQL server versions since 7.1 up to 9.4.

  • EasySoft ODBC Driver for PostgreSQL

  • OpenLink ODBC Driver for PostgreSQL

  • Please add new entries here

Quandl

  • CData ODBC Driver for Quandl

  • Please add new entries here

Reckon

  • CData ODBC Driver for Reckon

  • Please add new entries here

RSS Feeds

  • CData ODBC Driver for RSS Feeds

  • Please add new entries here

SAP ASE / Sybase ASE

  • SAP/Sybase ASE ODBC driver
    The ASE ODBC driver comes as part of the ASE installer. Simply select the ODBC driver when running the installer on a client.

  • Actual Technologies Mac OS X ODBC Driver for SQL Server

  • DataDirect ODBC Driver for SQL Server

  • EasySoft ODBC Driver for SQL Server

  • FreeTDS Unix ODBC Driver for SQL Server
    Open-source TDS protocol client library, which comes with an ODBC driver. ASE talks TDS on the wire and the FreeTDS driver also supports ASE.

  • OpenLink ODBC Driver for SQL Server

  • Please add new entries here

SAP DB / MaxDB

  • MaxDB ODBC Driver
    The driver comes as part of the MaxDB downloads.

  • Please add new entries here

SAP NetWeaver

  • CData ODBC Driver for SAP NetWeaver

  • Please add new entries here

Sage 50 UK

  • CData ODBC Driver for Sage 50 UK

  • Please add new entries here

Salesforce & Force.com

  • CData ODBC Driver for Salesforce & Force.com

  • Please add new entries here

SharePoint Excel Services

  • CData ODBC Driver for SharePoint Excel Services

  • Please add new entries here

Smartsheet.com

  • CData ODBC Driver for Smartsheet.com

  • Please add new entries here

Spark

  • Simba Spark ODBC driver with SQL connector

  • Please add new entries here

Square

  • CData ODBC Driver for Square

  • Please add new entries here

Sugar

  • CData ODBC Driver for Sugar

  • Please add new entries here

Teradata

  • Teradata ODBC Driver
    ODBC driver is available for Windows, Linux, Solaris, AIX, HP-UX and Mac.

  • DataDirect ODBC Driver for Teradata

  • Please add new entries here

Twilio

  • CData ODBC Driver for Twilio

  • Please add new entries here

Twitter

  • CData ODBC Driver for Twitter

  • Please add new entries here

xBase

  • CData ODBC Driver for xBase

  • Please add new entries here

XML Files

  • CData ODBC Driver for XML Files

  • Please add new entries here

Xero Accounting

  • CData ODBC Driver for Xero Accounting

  • Please add new entries here

YouTube

  • CData ODBC Driver for YouTube

  • Please add new entries here

YouTube Analytics

  • CData ODBC Driver for YouTube Analytics

  • Please add new entries here

Zoho CRM

Python Oracle Driver

  • CData ODBC Driver for Zoho CRM

  • Please add new entries here

Features

Python Connect Oracle

  • Easily installed from PyPI.

  • Support for Python 3.6 and higher. Older versions of cx_Oracle may be used with previous Python releases.

  • Support for Oracle Client 11.2, 12, 18, 19 and 21. Oracle's standard cross-version interoperability, allows easy upgrades and connectivity to different Oracle Database versions.

  • Connect to Oracle Database 9.2, 10, 11, 12, 18, 19 or 21 (depending on the Oracle Client version used).

  • SQL and PL/SQL Execution. The underlying Oracle Client libraries have significant optimizations including compressed fetch, pre-fetching, client and server result set caching, and statement caching with auto-tuning.

  • Full use of Oracle Network Service infrastructure, including encrypted network traffic and security features.

  • Extensive Oracle data type support, including large object support (CLOB and BLOB).

  • Direct binding to SQL objects. One great use case is binding Python objects to Oracle Spatial SDO objects.

  • SODA (Simple Oracle Document Access)

  • Array operations for efficient INSERT and UPDATEs.

  • Array row counts and batch error handling for array operations.

  • Fetching of large result sets.

  • REF CURSOR support.

  • Support for scrollable cursors. Go back and forth through your query results.

  • Fetch PL/SQL Implicit Results. Easily return query results from PL/SQL.

  • Row Prefetching. Efficient use of the network.

  • Client Result Caching. Improve performance of frequently executed look-up statements.

  • Support for Advanced Queuing. Use database notifications to build micro-service applications.

  • Continuous Query Notification (CQN). Get notified when data changes.

  • Support for Edition Based Redefinition. Easily switch applications to use updated PL/SQL logic.

  • Support for setting application context during the creation of a connection, making application metadata more accessible to the database, including in LOGON triggers.

  • End-to-end monitoring and tracing.

  • Transaction Management.

  • Session Pooling, with tagging and session state fix-up callback.

  • Database Resident Connection Pooling (DRCP).

  • Privileged Connections.

  • External Authentication.

  • Database startup and shutdown.

  • Sharded Databases.

  • Oracle Database High Availability Features, such as FAN notifications and Transaction Guard support.

Python Oracle Db Driver

DB API specification exclusions: The time data type is not supported by Oracle and is therefore not implemented. The method cursor.nextset() is not implemented either as the DB API specification assumes an implementation of cursors that does not fit well with Oracle's implementation of cursors and implicit results. See the method cursor.getimplicitresults() for more information.