From anthony.tuininga at gmail.com Tue Dec 12 15:22:42 2017 From: anthony.tuininga at gmail.com (Anthony Tuininga) Date: Tue, 12 Dec 2017 13:22:42 -0700 Subject: [DB-SIG] cx_Oracle 6.1 Message-ID: What is cx_Oracle? cx_Oracle is a Python extension module that enables access to Oracle Database for Python 3.x and 2.x and conforms to the Python database API 2.0 specifications with a number of enhancements. Where do I get it? https://oracle.github.io/python-cx_Oracle The easiest method to install/upgrade cx_Oracle is via pip as in python -m pip install cx_Oracle --upgrade What's new? This release has a number of small enhancements intended to build upon the release of 6.0 made a few months ago. Topping the list is support for accessing sharded databases, a new feature in Oracle Database 12.2. Support for creating connections using the SYSBACKUP, SYSDG, SYDKM and SYSRAC roles was also added, as was support for identifying the id of the transaction which spawned a subscription message. For those on Windows, improved error messages were created for when the wrong architecture Oracle Client is in the PATH environment variable. Improvements were also made to the debugging infrastructure and a number of bugs were squashed. The test suite has also been expanded. The full release notes can be read here: http://cx-oracle.readthedocs.io/en/latest/releasenotes.html#version-6-1-december-2017 Please provide any feedback via GitHub issues (https://github.com/oracle/pyt hon-cx_Oracle/issues). -------------- next part -------------- An HTML attachment was scrubbed... URL: From pavel.velikhov at gmail.com Tue Dec 12 08:07:50 2017 From: pavel.velikhov at gmail.com (Pavel Velikhov) Date: Tue, 12 Dec 2017 16:07:50 +0300 Subject: [DB-SIG] Using importlib hooks to implement a preprocessor for Query Language DSL Message-ID: <6EDCEEB6-913F-4920-BDD8-6F0F52B75363@gmail.com> Dear all, We are developing PythonQL (www.pythonql.org ), a DSL for advanced queries (a mix of SQL, OQL and XQuery capabilities) and integration middlewear. Currently the preprocessor is implemented via source encoding mechanism, which is a very brittle solution (in some environments automatic installation fails and requires manual actions). I have heard that importlib hooks can be used to implement such a preprocessor, but I wasn?t able to find examples or a description of how this could be done. Would very much appreciate any help or pointers on how to approach this problem. Thanks in advance, Pavel Velikhov -------------- next part -------------- An HTML attachment was scrubbed... URL: