cx-Oracle

Obsolete Python interface to Oracle Database, now superseded by python-oracledb

Latest version: 8.3.0 registry icon
Maintenance score
37
Safety score
100
Popularity score
67
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
8.3.0 0 0 0 0 0
8.2.1 0 0 0 0 0
8.2.0 0 0 0 0 0
8.1.0 0 0 0 0 0
8.0.1 0 0 0 0 0
8.0.0 0 0 0 0 0
7.3.0 0 0 0 0 0
7.2.3 0 0 0 0 0
7.2.2 0 0 0 0 0
7.2.1 0 0 0 0 0
7.2.0 0 0 0 0 0
7.1.3 0 0 0 0 0
7.1.2 0 0 0 0 0
7.1.1 0 0 0 0 0
7.1.0 0 0 0 0 0
7.0.0 0 0 0 0 0
6.4.1 0 0 0 0 0
6.4 0 0 0 0 0
6.3.1 0 0 0 0 0
6.3 0 0 0 0 0
6.2.1 0 0 0 0 0
6.2 0 0 0 0 0
6.1 0 0 0 0 0
6.0.3 0 0 0 0 0
6.0.2 0 0 0 0 0
6.0.1 0 0 0 0 0
6.0rc2 0 0 0 0 0
6.0rc1 0 0 0 0 0
6.0b2 0 0 0 0 0
6.0b1 0 0 0 0 0
6.0 0 0 0 0 0
5.3 0 0 0 0 0
5.2.1 0 0 0 0 0
5.2 0 0 0 0 0
5.1.3 0 0 0 0 0
5.1.2 0 0 0 0 0
5.1.1 0 0 0 0 0
5.1 0 0 0 0 0
5.0.4 0 0 0 0 0
5.0.3 0 0 0 0 0
5.0.2 0 0 0 0 0
5.0.1 0 0 0 0 0
5.0 0 0 0 0 0
4.4.1 0 0 0 0 0
4.4 0 0 0 0 0
4.3.3 0 0 0 0 0
4.3.2 0 0 0 0 0
4.3.1 0 0 0 0 0
4.3 0 0 0 0 0
4.2.1 0 0 0 0 0
4.2 0 0 0 0 0
4.1.2 0 0 0 0 0
4.1 0 0 0 0 0
4.0 0 0 0 0 0
3.1 0 0 0 0 0

Stability
Latest release:

8.3.0 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

BSD   -   BSD License (Generic)

Is a wildcard

Not proprietary

OSI Compliant



Python cx_Oracle

cx_Oracle was obsoleted by python-oracledb in 2022.

Python-oracledb uses the same Python DB API as cx_Oracle, and has many new features.

Install with:

python -m pip install oracledb

Usage is like:

import getpass
import oracledb

un = 'scott'
cs = 'localhost/orclpdb1'
pw = getpass.getpass(f'Enter password for {un}@{cs}: ')

with oracledb.connect(user=un, password=pw, dsn=cs) as connection:
    with connection.cursor() as cursor:
        sql = 'select systimestamp from dual'
        for r in cursor.execute(sql):
            print(r)

The source code for python-oracledb is at github.com/oracle/python-oracledb.