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.0-cp313-cp313-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e39779713558bc6f2e1ec78b71378536ec9da05dc5f95fe3ca41bfb6b878e81a |
|
MD5 | 864177be39db7f82d18554b5deeaf6cb |
|
BLAKE2b-256 | ee09bea4244b8e040f9a31178196082ffbde34404f8bb42c780a192b28a113b2 |
Hashes for oracledb-2.4.0-cp313-cp313-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b10998a89fc93a31a968fd34d36547f7878f3efb3491e61493c78ddd5724283f |
|
MD5 | 46168cb9b00ffefa3d7c8bd99c39199b |
|
BLAKE2b-256 | cab0cc05876b2a0b50a528dc5f01a81eb18386beeb0aba8993b796d1d381399e |
Hashes for oracledb-2.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e23661da50934439b88fcedd9be3c8abecb313335abde9cf9faee3162c814744 |
|
MD5 | 3ccfdff42a20fe6d062b02303621385f |
|
BLAKE2b-256 | eb5df1606491f05337d95e92ba8d474852d9616cc43bf24d60a64cc33a5f5517 |
Hashes for oracledb-2.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d721d5fd0d45bd901bc76247172eb2e00f9feb67283dbb38e763e3e50308cb0 |
|
MD5 | a01d3a8c1d66a4ce5b8bce93110fdeb4 |
|
BLAKE2b-256 | af70744ab12e334375808678fbce494be560269f59dbda03613f02d4c22cadeb |
Hashes for oracledb-2.4.0-cp313-cp313-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2933b4fd324da089a15567830d81d4ff1b3e7ecc24a615f9e61b0f7fcacf32d |
|
MD5 | fc2fde92787346dcebb22cc2027c5693 |
|
BLAKE2b-256 | 88ae603c592fc7054ccad523ba06f3d186cae5fb0f18ce477552be2178d6668b |
Hashes for oracledb-2.4.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b81ec1e20d4d20b0f95a673bb73923d24673e8739d3a25a746113519612c057 |
|
MD5 | 356af6cd5a09c2fd5bd365971e9d15c6 |
|
BLAKE2b-256 | a8e91a8afdbe4aaba030476c91284d7599f54fce2879232d28797a4a71d5cfe2 |
Hashes for oracledb-2.4.0-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02e1eea36de371d7719ca02d20a8900fab767e5db71aa59be101405060cf2cfa |
|
MD5 | 385237e7a49185566e8746930a3c679b |
|
BLAKE2b-256 | f5ca4406cfe3400735bf4a1eee951eb174c6cd8573e74d43c1aba9448066a3d2 |
Hashes for oracledb-2.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bed34cdd5037277424bb5a38987e00cbb6eea3670ce9c4fcc3cab5971fab5348 |
|
MD5 | 2bc3e2151ef3e0ae86712248ba763bb4 |
|
BLAKE2b-256 | 6f569cd84f67a573cc6066589d8264ab13f710a128197977205b9c4b177ee85e |
Hashes for oracledb-2.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fda77ace54379ad70187627ed02329f9ef4f35c1cc1052e4d27fe4ec68d38fc |
|
MD5 | 8ff410f59adbdaaf6a7d3cf08036f281 |
|
BLAKE2b-256 | 172281eb81e15a86989acd21220480a87a3891a27b3f2d64b249098e09e002eb |
Hashes for oracledb-2.4.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d1072db83e3f95a8792b8452c78940141902ef97f31223f1d96bfeb8ff830b |
|
MD5 | 2496b0d5da6e97170c614883f3b3e952 |
|
BLAKE2b-256 | 9e5b5125e0a74a58717ac094d953ddaa4c61cfefcd926850c0ecc081e0c209f3 |
Hashes for oracledb-2.4.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df1124917fe8f691f0a4b4346d3215ac16c3be204c54217fdd668605ffa3c8f7 |
|
MD5 | f66384358346734b74641dc04f28e6ba |
|
BLAKE2b-256 | 4509b020656935b7b04633713c335b3692a122fb5dcf331b2eebe93eb81419f0 |
Hashes for oracledb-2.4.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e74ef0cf1b577937439a337c02345f1162eab028376e9145d9dc719d8c1ef48 |
|
MD5 | 03907d912f3b0243f931dd37a256db5a |
|
BLAKE2b-256 | 391d5b2d255f0b77d31f879b5ecf7ef21fccc6af40595548f7e87618ed4c291f |
Hashes for oracledb-2.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10717dbe6e43f1c43979bf27855ed8f157d0b757d1117664a68de3d569cc1d21 |
|
MD5 | 7ab59579820649fd7db72556c74cc5c1 |
|
BLAKE2b-256 | e0183c0dc4b78bf5c3027788a5a2f721ebe7af0e0e7b8308174d552d8ccc573f |
Hashes for oracledb-2.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c529ba9f9993b2c45401df05104975a8c4b5978a9736334a780fa97dce1884ef |
|
MD5 | 186d8bd1091677c6ffa8fca71b18681e |
|
BLAKE2b-256 | c53e25854c1db29771411a9243ec935fc5981331134b310997e5e213772b05e8 |
Hashes for oracledb-2.4.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 753db9b7899e028c0e440634f84668b8ff1fb85cae5c6d87599bb37aad2eed70 |
|
MD5 | bb3ad98c368dd9cf5f7bc6c352c029d2 |
|
BLAKE2b-256 | f7b3df24401aca91660a4114aeefc7e051f5ccf68f23da03394d451aaca8dfe8 |
Hashes for oracledb-2.4.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff81b03d4d273c88eb788c7a513204df850ad45e87d71790649339bb6d810a6e |
|
MD5 | f1499f9a18fc7bf135bfa99501d0e514 |
|
BLAKE2b-256 | 168257c2fe48d858d664b7665a5a53651989077c70860b0eaec8023425a24f06 |
Hashes for oracledb-2.4.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6cfaae6575f220d7c5f5df511e7089bc8b2d3b67ef7c44df67e81e082c605f7 |
|
MD5 | dbc85948a2735862f95a81674b80c9fb |
|
BLAKE2b-256 | f8f60dc6fcec815e59fad2d89882c3962f9b7c6e051ea49dcd36f06103ea5924 |
Hashes for oracledb-2.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeaf0e1cf3a087475e62f4531c7132c57cae1ab79a17a1a4ca27207ce83ea150 |
|
MD5 | 1350b4f7dfafbdf2efd469b0108071c6 |
|
BLAKE2b-256 | 5e4fdbd6b2793f17e2c209b5ce5671331f6690aad8b7807165a6c35967e59c08 |
Hashes for oracledb-2.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9e1a731b0eae5693d15ceb4cc4d79a36dfe0909bb0abc2b4bf12fc8914f2ce4 |
|
MD5 | 1b5f8261470f1e6bebca51888f8ead37 |
|
BLAKE2b-256 | daec1d6fca70e46f2c4aaa6fb5ec49e5628ce8c9ba666e3763c2de3df40ac029 |
Hashes for oracledb-2.4.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e6777dd4abf3c6e905479d930d543e55d84e36552d11621806fb9dda3dd5e6e |
|
MD5 | b44dff2665b3ebd733753e390ab31651 |
|
BLAKE2b-256 | 65382bc96c1490bf54eb8ed5725ed61eb615f2b4d3685309a36e24ee58719872 |
Hashes for oracledb-2.4.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7231a7422f464dd83840133e744cfdf2437c8209945ac4394c4f359196947d4b |
|
MD5 | 38754b1fd45b15f7b81b72d0da29b443 |
|
BLAKE2b-256 | b802a25886412901dd3a3455fa7c057a36ca19c71b02c3146c6dbc3b730f8d8a |
Hashes for oracledb-2.4.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e03ffd0a1c38db34097d5ac9791648c6639b036fa7b5a7d88bb0555354e1ffa6 |
|
MD5 | da816f89a27499401f335167427304a8 |
|
BLAKE2b-256 | 9461ac268d2585f030b6d560eb72c2d5e30d7dababc3fdb5d9172cb4a7c7e949 |
Hashes for oracledb-2.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad1f36c21ef077b5a5ae222914778c51ced565a58055c38704ee07ac1deef114 |
|
MD5 | 653112aa1f0cad1144af6fd74ddea684 |
|
BLAKE2b-256 | 598068712a5d25c8434b7a4f0299dc39fc841058bce2b279d8bd0a5a39cbfecc |
Hashes for oracledb-2.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b7e2ff1d5a0a2bc2d60d1371d4cc3c479ceeaf5e0fe84d4311020b3d332af3a |
|
MD5 | cb14a37324ac62196d9677dc09a7a9e9 |
|
BLAKE2b-256 | 79a4b064b937b10e68d535822ed141357e4e7a84ac9899c775cd854c58bcb3ca |
Hashes for oracledb-2.4.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f35a3529096fecdc70e21d5e28102c36ac4806a16c33b9f8b6125b27273728f |
|
MD5 | 41c8256405761d746fa12313086e7bd0 |
|
BLAKE2b-256 | ce378438f196b12b0913a1e36cf4a72bdcf3de3544d546c642e9b3eee107b999 |
Hashes for oracledb-2.4.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e2d3f45c3c2d68c19e9de00ace0ecd7ceaf82c8db389a83a94c2db69d0ee02f |
|
MD5 | 3812b2e6120c776b2eb8daeb9553fad3 |
|
BLAKE2b-256 | 1cbdc73884f357b829a5a02878ab54c938b8862f6b44fbbeaba3cf8fc208447e |
Hashes for oracledb-2.4.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03f435131f50f92d46f81c561f85999586b71160bb8974c2519814e81fad185f |
|
MD5 | d3876fd368bd7bfcb83097cf855a9d58 |
|
BLAKE2b-256 | 591d0041f4e5ae1d80d63122e472f59a944d62db2dbb7d2f752915d0042cd360 |
Hashes for oracledb-2.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12c3ec9368a16c700b301416a0a495aa72a4f905985804639d858988595d9ee3 |
|
MD5 | 1d6bbfcf44104222afb4bcbd0d598de5 |
|
BLAKE2b-256 | 78cc22615d2c2c875f44294b5815f6777c77d5dc96779e3d9bff117dcf887f61 |
Hashes for oracledb-2.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d796805d5f72c2e972a1d56188559732fe23057ec1c5ffdb3ada2fc9ff9f081e |
|
MD5 | 4d45183ba8528467ad1b4441a8fc9bbf |
|
BLAKE2b-256 | 690e383baec2076cbe15f64f3663aac60997e475f896005a845385b10e8e9fd8 |
Hashes for oracledb-2.4.0-cp38-cp38-macosx_11_0_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d2c21be7be9f927ee5887b7332681bbead38f3c05d75817928f00f970c60680 |
|
MD5 | 7b09abb06efc5fc7b3cb6497db91376e |
|
BLAKE2b-256 | 19a757c084abbf82929159a081f3d66e7d335b3fdc2135a25509cef03781c2fd |