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:
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.5.tar.gz
(14.5 kB
view details)
File details
Details for the file concentric-1.5.tar.gz.
File metadata
- Download URL: concentric-1.5.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d35e9555c0e3209195d5658416316b0ea43848beeea898361fc78d776401d46
|
|
| MD5 |
c5c151024ae38f4398331052741981f3
|
|
| BLAKE2b-256 |
dd1c29d32b30d187cb853eb7bf14c1a23c5beb4dea51feacae66aa4edb0d69de
|