Go to file
Anthony Tuininga f743cddeb4 Fix case of environment variable. 2022-10-18 16:33:06 -06:00
.github Improve GitHub issue templates; questions should be discussions, not 2022-06-02 09:44:09 -06:00
doc Fix case of environment variable. 2022-10-18 16:33:06 -06:00
samples Support special characters in demo passwords better 2022-10-18 16:32:36 -06:00
src/oracledb Added test for fetching NULL rowids; simplified handling of getting data 2022-10-18 16:32:05 -06:00
tests Added test for fetching NULL rowids; simplified handling of getting data 2022-10-18 16:32:05 -06:00
utils Ensure templates have bug fixes! 2022-09-28 18:09:04 -06:00
.gitignore Initial commit. 2022-05-20 16:08:18 -06:00
.gitmodules Initial commit. 2022-05-20 16:08:18 -06:00
.readthedocs.yaml Attempt to make ReadTheDocs happy (2). 2022-05-25 10:35:05 -06:00
CONTRIBUTING.md Add CONTRIBUTING file 2022-05-21 09:25:02 +10:00
LICENSE.txt Initial commit. 2022-05-20 16:08:18 -06:00
MANIFEST.in Initial commit. 2022-05-20 16:08:18 -06:00
NOTICE.txt Initial commit. 2022-05-20 16:08:18 -06:00
README.md Bump version in preparation for new changes landing. 2022-09-16 18:31:39 -06:00
README.txt Initial commit. 2022-05-20 16:08:18 -06:00
THIRD_PARTY_LICENSES.txt Initial commit. 2022-05-20 16:08:18 -06:00
pyproject.toml Initial commit. 2022-05-20 16:08:18 -06:00
setup.cfg Reduce minimum version of cryptography package for ease of building on 2022-09-28 18:09:45 -06:00
setup.py Fix compiler warning on macOS 2022-08-27 16:14:09 -06:00
tox.ini Make externalauth a common parameter (which is optional for standalone 2022-06-22 15:31:54 -06:00

README.md

python-oracledb 1.2 (Development)

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.

Installation

Run python -m pip install oracledb

See python-oracledb Installation.

Dependencies and Interoperability

  • Python versions 3.6 through 3.10.

    Prebuilt packages are available on Windows for Python 3.7 or later, on macOS for Python 3.7 or later, and on Linux for Python 3.6 or later.

    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

See CONTRIBUTING

License

See LICENSE, THIRD_PARTY_LICENSES, and NOTICE.