quarrel makes it easy to query legacy rdbmses
Project description
querulous_quarrel
Named for a lovely groups of sparrows that happened to be flying by. A library that makes writing and executing queries a little easier for data scientists.
quarrel
uses concentric
and waddle
and is proudly sponsored by the m&a
team at cscgh.
installation
cd /path/to/repo
pip install quarrel
usage
-
create a config file
oracle: host: oracle.example.com user: scott password: tiger sid: xe
-
prepare a connection manager
from concentric.managers import CachingConnectionManager as ccm ccm.get_instance('/path/to/oracle.yml')
-
query the database
from quarrel.raw import query results = query('oracle', 'select sysdate from dual')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quarrel-0.4.tar.gz
(6.0 kB
view hashes)