a simple connection manager for connecting to various rdbms (mostly legacy)
Project description
a connection manager for python for connecting to various databases.
supported databases:
oracle
netsuite
mssql
mysql
vertica
redshift
postgres
db2 i-series
overview
concentric is based off of waddle for secrets management, which means it is strongly coupled to aws kms for its key management.
quick start
create a waddle configuration file
oracle: host: localhost user: scott password: tiger sid: xe
waddle in the password for security
waddle add-secret -f /path/to/config.yml oracle.password
use it
from concentric.managers import setup_concentric from concentric.managers import CachingConnectionManager as ccm setup_concentric('/path/to/waddle_config.yml', '/path/to/another_config.yml') conn = ccm.connect('oracle') with conn.cursor() as cursor: cursor.execute('select sysdate as dt from dual') results = cursor.fetchall()
contributing
Sample configuration files:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
concentric-1.3.tar.gz
(14.3 kB
view details)
File details
Details for the file concentric-1.3.tar.gz
.
File metadata
- Download URL: concentric-1.3.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
584a0f5e3ae8a5a43b3072db5c6bf36f75168a4fa51b747a8cf5887f78f36d85
|
|
MD5 |
739e7bf42a81d61869bce4e0fe66e5f0
|
|
BLAKE2b-256 |
e0c79182bf5738b6b9dab929b36688c660c14746bc530c6e2653c6b6b9652bb2
|