项目
在 GitHub 查看
oracle/python-cx_Oracle
oracle/python-cx_Oracle has 885 GitHub stars and 360 forks. GitHot measured -1 stars in 24 hours. Last checked 2026-11-20 15:46 UTC. Last push 2025-05-26.
实测星标增长
- 24小时
- -1
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
Obsolete Python interface to Oracle Database, now superseded by python-oracledb
数据README.md
原文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.