Python interface to Oracle Database
Project description
python-oracledb
python-oracledb is a Python programming language extension module allowing Python programs to connect to Oracle Database. It is the renamed, new major release of the popular cx_Oracle driver.
The module conforms to the Python Database API 2.0 specification with a considerable number of additions and a couple of minor exclusions, see the feature list.
Synchronous and concurrent coding styles are supported.
Installation
Run python -m pip install oracledb
See python-oracledb Installation.
Dependencies and Interoperability
-
Python versions 3.8 through 3.13.
Prebuilt packages are available for these Python versions on Windows, on macOS and on Linux.
Source code is also available.
-
Oracle Client libraries are optional.
Thin mode: By default python-oracledb runs in a 'Thin' mode which connects directly to Oracle Database.
Thick mode: Some advanced Oracle Database functionality is currently only available when optional Oracle Client libraries are loaded by python-oracledb. Libraries are available in the free Oracle Instant Client packages. Python-oracledb can use Oracle Client libraries 11.2 through 21c.
-
Oracle Database
Thin mode: Oracle Database 12.1 (or later) is required.
Thick mode: Oracle Database 11.2 (or later) is required, depending on the Oracle Client library version. Oracle Database's standard client-server version interoperability allows connection to both older and newer databases. For example when python-oracledb uses Oracle Client 19c libraries, then it can connect to Oracle Database 11.2 or later.
Documentation
See the python-oracledb Documentation and Release Notes.
Samples
Examples can be found in the /samples directory and the Python and Oracle Database Tutorial.
Help
Questions can be asked in Github Discussions.
Problem reports can be raised in GitHub Issues.
Tests
See /tests
Contributing
This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide.
Security
Please consult the security guide for our responsible security vulnerability disclosure process.
License
See LICENSE, THIRD_PARTY_LICENSES, and NOTICE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for oracledb-2.4.1-cp313-cp313-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e00b44811b96e0209941939461aa1e119d62fa154f81b487a3c76c85a38eefc7 |
|
MD5 | 23a78871b5b06ba1c856b292820ebaae |
|
BLAKE2b-256 | a9b36c6e1271f8334412765afc4da11942630c39bebc5cb92c8b11e836076d93 |
Hashes for oracledb-2.4.1-cp313-cp313-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb9cc6afe041992fd6fa6a4727b412033cfd6d4a9b372c0e0d54e65c4a6b632f |
|
MD5 | 1650d229051b165a1385700e998f9e9d |
|
BLAKE2b-256 | 6fe8c80166454c7c145dd1f704111949d32650e4f5e3f63f12948f19e954d5e3 |
Hashes for oracledb-2.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62ef605f1e5a62ad99424966dcac94a60e63d7f8a71b613e4253f36c9d021a84 |
|
MD5 | 606b2bb9b84fae9efeec0a5a8149d24d |
|
BLAKE2b-256 | 64613268100ee74817d6d4e4c687f5efa630e33d4fa623485ba54e3bf6d15ccd |
Hashes for oracledb-2.4.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bc848aaa6c8dbefd9c725d320005ba3f2488afb67f1334865e3d133367be591 |
|
MD5 | a77c186209ea3eff32826b58aeaa56f5 |
|
BLAKE2b-256 | 72d7b857b4864b33752044493563d87b8e41817b4175232dc98786331bfa8fe8 |
Hashes for oracledb-2.4.1-cp313-cp313-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 898a60d5841a5cfa251aa38b789f25caa11dcef91802b60e912bf59b78d142f3 |
|
MD5 | c5ab49986cb7544df46da51f7667b0fa |
|
BLAKE2b-256 | 26460fe8b0c948a2fb659133c16a6003e1969596d07727b87df85119f027a913 |
Hashes for oracledb-2.4.1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e9612ec44dfae89bd2ca08b6d655de2f83b274d9732766797fdb4759cfb9952 |
|
MD5 | 4d8b2434e12c01af9a614fd2992afd8b |
|
BLAKE2b-256 | 28ff2e59eb23dec8005d268dd7adec8c307f578358ab616788893ab9a4b969f1 |
Hashes for oracledb-2.4.1-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24c68c030cada6db5611a2d915576741cf34e369d324756fbefcd295ba6a551c |
|
MD5 | 60125c2fce7c1d99bbf6f3943bddf716 |
|
BLAKE2b-256 | adba054048a1709121bf5d48b6320fc98c5a65d403b7373df871bf5d3ea2ea45 |
Hashes for oracledb-2.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 047fa173868fae989150bd8e8fa7d4d28d9228ae0f3367a3c2f662c9202599b1 |
|
MD5 | 1be12e1d2de6b723f64bba2e8df71f11 |
|
BLAKE2b-256 | d46bcb226ccc749270560c6e4210d3f840fef4cab0934a3ee432a5e2db30ee16 |
Hashes for oracledb-2.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cfaab99b2b84318c34a74af18452f59279c520a08a9307f0ec041ab2bf4d9d8 |
|
MD5 | 5b75e0f4416e66dd168ad8e127174994 |
|
BLAKE2b-256 | f71f3e3a86d8b8a3259841b23d9a5b25200a9fc7f9a5baa0e895f86d75c763bd |
Hashes for oracledb-2.4.1-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70efa2f6caf958fb0234fee9514f6de219f71b1b16e69176f09290a33024e553 |
|
MD5 | 2dc7d5f91307355da04f21575c71c880 |
|
BLAKE2b-256 | e13bccd8aef5cacad5272373a6072f9705600811a2dc590801dc3d9ac9b41f5f |
Hashes for oracledb-2.4.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a25f6da4ff0b99ae6a893b6fce5caf3bc036a1d5e912eaf76c6c794a2c3972c |
|
MD5 | 346c1db0de1125084c45eb9dba93b0d7 |
|
BLAKE2b-256 | ff142de70e1d33bbe2743ac1c5672f1a82e861dc8a0efaf2cc4254112982a9d9 |
Hashes for oracledb-2.4.1-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5cb64c0e58b806ada721f50c5eaca9d335f9b1758d3de8990cebbcb2cc63981 |
|
MD5 | 60b72859353d5bc1838bb5efab41b8ae |
|
BLAKE2b-256 | bc534debde05a8ac8fc3a05e4c589d5abdb2f0cd9c15792b5675bfa73c5f14c5 |
Hashes for oracledb-2.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e0e25f60f8faf008f4480eaec88b8e0a13ca552ac46fd018af6d3bf3955eeb4 |
|
MD5 | 87c69a601e9a927c01e887b7dd436f78 |
|
BLAKE2b-256 | fcb96d99acb96d6a8ba04ca9dc7911d9367a8fe832a422d90659968984f3c29b |
Hashes for oracledb-2.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecac3c13e02c84ac09c1491a43423de3075726638919bae45dd5bfa42b241a89 |
|
MD5 | 622e85e4a6d2cafde606bd7b4f0e4027 |
|
BLAKE2b-256 | aa57c727eb55d0d29637ef87d31df869334d36a0c183ef2f2713f8c4ce883b3d |
Hashes for oracledb-2.4.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fc4b426f3d44ee3da81fe1bb328447fbaab005bf028ca2b2179bdd223a2bec4 |
|
MD5 | c271b7dee99a081548d5c912a96b1061 |
|
BLAKE2b-256 | 9f06cf86a202caa6bb82bddc20499084e0571e6afdd5b94457dba12b2e4e3107 |
Hashes for oracledb-2.4.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b751da022c0c85fc3da898c2fcafb1c5cf3c16c80a84a5c0f5a618a445f9d275 |
|
MD5 | dc6312c2d0db300840308399b8e63a87 |
|
BLAKE2b-256 | 6f86b63c010a86093af9ea6ab5f6eb285a2299a77352f4ae89ec04191e3df637 |
Hashes for oracledb-2.4.1-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65dd659f0187c3915d61714ef4510f64a52f6fb84a67c5a0672afa8365a9d1c1 |
|
MD5 | e78c84ae195690836df274e1c5190bf2 |
|
BLAKE2b-256 | 0c54af5fba925024eb3132dc162e75415a136b8310b3c471ae743c7b2f4c9676 |
Hashes for oracledb-2.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc56f1880c754e84e182dcd8428d192601976fad72c96cd92629468755159b70 |
|
MD5 | b09d8d296e029bea6e0768d0b8bbb08e |
|
BLAKE2b-256 | 340d943a7494256ce07ebd16251fa0f66ee94138ad82beaaf2fa4da3af0b6e44 |
Hashes for oracledb-2.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b3940be302b15e86f54f7072ee596cfcacf656df904f662efcb8ebbb713fbf8 |
|
MD5 | f525522be18627bfdb34680655da6529 |
|
BLAKE2b-256 | 4e764cb8b225e648fa04ee4298214be1fbeac915cf5fefe1483e95e19c2f9a8c |
Hashes for oracledb-2.4.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8064f272515f841f5f48159eb209ed8f798901af73f64ef9ec87ae124d16c33 |
|
MD5 | 0c49fbfea7f577c6902b8f1901289509 |
|
BLAKE2b-256 | b8890c62a3d51803ed8df440247e0d7d905366c1c8440c46ffb11c9ce63cd393 |
Hashes for oracledb-2.4.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c119c285b0f2274c6fe9eafee89207d1672a1288f6105f5aa3f9a0c771e85ec3 |
|
MD5 | 3c9130269e553d93c7862d0f8399e526 |
|
BLAKE2b-256 | cb1b2c03ffc363d3f832f4a6d2a79e347744c2cf56db5bfa02bc0bdef6661a52 |
Hashes for oracledb-2.4.1-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 673b0018f8044447802f4327e19f43aa971edf9fc94221988629a0e9495c9969 |
|
MD5 | 3655be108e1f31042f2c459fa7f59dea |
|
BLAKE2b-256 | 3887d80d7af1960ef870f9a18a2158e9c7d367a1d94cec11594010a16ea36054 |
Hashes for oracledb-2.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bbdd76da2506b5a533c684e120ed943dcb168d4b6312211ba0218e376d3683b |
|
MD5 | d7e9e167329bde3052ea0a86591f00e2 |
|
BLAKE2b-256 | bd68babff9138b1b9ced06d765622db754cfb7f4f082326010f76efe23f5e6db |
Hashes for oracledb-2.4.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d12161243e888b54baaed607d9c14a679412cca8ee1a7f2548c9c0944f357df |
|
MD5 | c2ddcc550f1b9adcf510d7c3efb4179f |
|
BLAKE2b-256 | b00a58adc5167d7d4458d27a36d684c15ef6fce9903a15b6e32d3f2c8fb7c9f3 |
Hashes for oracledb-2.4.1-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc0730317184a1fef7046ee5a87c9b2c1e18693018058994b3f0c0a8d4d1c28a |
|
MD5 | 5cc46e2dedd47fac2bc326ab644945d4 |
|
BLAKE2b-256 | d184a74c480e6bd17f1312c589ae91163d0f8fca30f30bf0e4e0a311937aa30c |
Hashes for oracledb-2.4.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38e10bef4f4b797647696706ecb1472cf7c1e31e0ab475fc2192cf6237a215b6 |
|
MD5 | e6bbfe949069b317708b4e09405dc9d1 |
|
BLAKE2b-256 | 51bc0a74c0b10c9c443a5620343149a48feb9415655aeea05bed8d1527a43f41 |
Hashes for oracledb-2.4.1-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78b02640b16931d1557b9b7fa9f6cb81bc061ede8dc3c4d38805be1074f0f7e0 |
|
MD5 | 4a885e4bf695fc94b41a977b789c1291 |
|
BLAKE2b-256 | c176b6f1d21b8ab24a05912c344a0f0b90e54b82543464a43fc1bd8169e3186b |
Hashes for oracledb-2.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06457518cbbba739308cb745142421c413023b553684f16628a8c7fc04ca4d7e |
|
MD5 | 403d4c478992b9816b1389185425de59 |
|
BLAKE2b-256 | 20084fc45f360ac2238ea6b6e3d9700eb755b71a8fcb4c73a4b591b8d4307fed |
Hashes for oracledb-2.4.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7df5a8c94f47e6a7805e9626a1d42564733678fd0f1dc9ff6e21ede2b782717 |
|
MD5 | 1255cca754825cdcc0b467c061f821dc |
|
BLAKE2b-256 | 23028609669907f0f2166558c93421d0c78d323688d2d63ac256a81527caa41f |
Hashes for oracledb-2.4.1-cp38-cp38-macosx_11_0_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98c9b42a1996a70ff9aec8ce3c1761fd4c635c046f36444c8c17a729c3516e52 |
|
MD5 | e0af1eee0ca91078b5df66d0f1cbbcc9 |
|
BLAKE2b-256 | a68c29c7f972f8acf4a8e7f12a78669bc303630161d147a17a45fc7808762ca3 |