{"id":13534374,"url":"https://github.com/oracle/python-cx_Oracle","last_synced_at":"2025-04-01T22:31:31.059Z","repository":{"id":37580024,"uuid":"84153024","full_name":"oracle/python-cx_Oracle","owner":"oracle","description":"Obsolete Python interface to Oracle Database, now superseded by python-oracledb","archived":false,"fork":false,"pushed_at":"2025-03-27T02:24:28.000Z","size":7679,"stargazers_count":891,"open_issues_count":26,"forks_count":365,"subscribers_count":73,"default_branch":"main","last_synced_at":"2025-03-27T17:11:12.477Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://oracle.github.io/python-oracledb/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-07T04:03:36.000Z","updated_at":"2025-03-27T02:19:58.000Z","dependencies_parsed_at":"2022-07-12T16:24:44.135Z","dependency_job_id":"cb7f1936-9c47-4e90-88cb-345b7a40742a","html_url":"https://github.com/oracle/python-cx_Oracle","commit_stats":{"total_commits":1173,"total_committers":15,"mean_commits":78.2,"dds":0.4970161977834612,"last_synced_commit":"5cfbb7d9e49f23a67332f37983dad249718db3f4"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fpython-cx_Oracle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fpython-cx_Oracle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fpython-cx_Oracle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fpython-cx_Oracle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle","download_url":"https://codeload.github.com/oracle/python-cx_Oracle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246720581,"owners_count":20822919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database-connector","db-connection","odpi","oracle-database","oracle-db","python","python-library","python-module"],"created_at":"2024-08-01T07:01:31.609Z","updated_at":"2025-04-01T22:31:31.053Z","avatar_url":"https://github.com/oracle.png","language":"C","readme":"# Python cx_Oracle\n\n**cx_Oracle was obsoleted by\n[python-oracledb](https://oracle.github.io/python-oracledb/) in 2022.**\n\nPython-oracledb uses the same Python DB API as cx_Oracle, and has many new\nfeatures.\n\nInstall with:\n\n```\npython -m pip install oracledb\n```\n\nUsage is like:\n\n```\nimport getpass\nimport oracledb\n\nun = 'scott'\ncs = 'localhost/orclpdb1'\npw = getpass.getpass(f'Enter password for {un}@{cs}: ')\n\nwith oracledb.connect(user=un, password=pw, dsn=cs) as connection:\n    with connection.cursor() as cursor:\n        sql = 'select systimestamp from dual'\n        for r in cursor.execute(sql):\n            print(r)\n```\n\nThe source code for python-oracledb is at\n[github.com/oracle/python-oracledb](https://github.com/oracle/python-oracledb).\n","funding_links":[],"categories":["Database Clients"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle%2Fpython-cx_Oracle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle%2Fpython-cx_Oracle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle%2Fpython-cx_Oracle/lists"}