python-oracledb 1.1 for Oracle DB supports Azure OAuth 2.0 Tokens
python-oracledb 1.1, the extremely popular Oracle Database interface for Python, is now Production on PyPI.
python-oracledb is an open source package for the Python Database API specification with many additions to support advanced Oracle Database features.
Main Changes
- Support for Azure Active Directory OAuth 2.0 and Oracle Cloud
Infrastructure Identity and Access Management (IAM) token authentication to Oracle Autonomous Database. - Advanced Queueing improvements, including support for JSON payloads.
- Thick mode (which uses Oracle Client libraries) can now be used on systems where Python’s cryptography package isn’t available for Thin mode connectivity. See Installing python-oracledb without the Cryptography Package.
See the Release Notes for more improvements and bug fixes.
Installing or Upgrading python-oracledb
You can install or upgrade python-oracledb by running:
python -m pip install oracledb --upgrade
The pip options --proxy
and --user
may be useful in some environments. See python-oracledb Installation for details.
python-oracledb References
- Home page: oracle.github.io/python-oracledb/index.html
- Installation instructions: python-oracledb.readthedocs.io/en/latest/installation.html
- Documentation: python-oracledb.readthedocs.io/en/latest/index.html
- Release Notes: python-oracledb.readthedocs.io/en/latest/release_notes.html
- Discussions: github.com/oracle/python-oracledb/discussions
- Issues: github.com/oracle/python-oracledb/issues
- Source Code Repository: github.com/oracle/python-oracledb
Want to talk about it? Join our public developer Slack channel here.