- Notifications
You must be signed in to change notification settings - Fork366
Obsolete Python interface to Oracle Database, now superseded by python-oracledb
License
NotificationsYou must be signed in to change notification settings
oracle/python-cx_Oracle
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
cx_Oracle was obsoleted bypython-oracledb in 2022.
Python-oracledb uses the same Python DB API as cx_Oracle, and has many newfeatures.
Install with:
python -m pip install oracledb
Usage is like:
import getpassimport oracledbun = '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 atgithub.com/oracle/python-oracledb.
About
Obsolete Python interface to Oracle Database, now superseded by python-oracledb
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors13
Uh oh!
There was an error while loading.Please reload this page.