ODPI-C version 2.0.0-rc.1

Oracle Database Programming Interface for C (ODPI-C) is an open source library of C code that simplifies the use of common Oracle Call Interface (OCI) features for Oracle Database drivers and user applications.

Features

Install

Download source from GitHub.

A sample Makefile is provided if you wish to build ODPI-C as a shared library. Otherwise, include the ODPI-C source code in your project. ODPI-C uses the shared library loading mechanism available on each supported platform to load the Oracle Client library at runtime. This allows code using ODPI-C to be built only once, and then run using Oracle Client 11.2, 12.1 or 12.2 libraries. See Installation for more information.

Oracle client libraries are available in the free Oracle Instant Client. The "Basic" or "Basic Light" package is required at runtime. Client libraries are also available in any Oracle Database installation or full Oracle Client installation.

ODPI-C has been tested on Linux, Windows and macOS. Other platforms should also work but have not been tested. On Windows, Visual Studio 2008 or higher is required. On macOS, Xcode 6 or higher is required. On Linux, GCC 4.4 or higher is required.

Drivers Using ODPI-C

cx_Oracle driver for Python.

Documentation

See ODPI-C Documentation.

Help

Please report bugs and ask questions using GitHub issues.

License

Copyright (c) 2016, 2017 Oracle and/or its affiliates. All rights reserved.

This program is free software: you can modify it and/or redistribute it under the terms of:

(i) the Universal Permissive License v 1.0 or at your option, any later version (http://oss.oracle.com/licenses/upl); and/or

(ii) the Apache License v 2.0. (http://www.apache.org/licenses/LICENSE-2.0)