python-oracledb 2.3 is even smaller on Linux
python-oracledb 2.3 has been released. My colleague @Veronica Dumitriu has posted the release announcement. There are lots of good improvements, such as support for the new VECTOR binary format that is available in Oracle Database 23.5.
One of the smaller (excuse the pun) enhancements is that the binary packages we put on PyPI for Linux are now stripped.
With the previous python-oracledb 2.2 release the install footprint was:
$ du -sh /home/cjones/.local/lib/python3.11/site-packages/oracledb/
49M /home/cjones/.local/lib/python3.11/site-packages/oracledb/
Now with python-oracledb 2.3 :
$ du -sh /home/cjones/.local/lib/python3.11/site-packages/oracledb/
7.2M /home/cjones/.local/lib/python3.11/site-packages/oracledb/
For you micro-optimizers, we know every byte counts!
This small change brings Linux into parity with macOS, where the install footprint remains around the 11M mark.
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