Skip to main content

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

  1. create a waddle configuration file

oracle:
  host: localhost
  user: scott
  password: tiger
  sid: xe
  1. waddle in the password for security

waddle add-secret -f /path/to/config.yml oracle.password
  1. 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:

  1. db2

  2. hp3000

  3. mysql

  4. netsuite

  5. oracle

  6. postgres

  7. redshift

  8. snowflake

  9. sql server

  10. vertica

Metadata

Release files for concentric 1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for concentric 1.5
File Size Uploaded Provenance Actions
concentric-1.5.tar.gz 14.5 kB Without provenance Details for concentric-1.5.tar.gz

Release files / concentric-1.5.tar.gz

Download URL concentric-1.5.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8d35e9555c0e3209195d5658416316b0ea43848beeea898361fc78d776401d46
BLAKE2b-256 checksum
How to use checksums
dd1c29d32b30d187cb853eb7bf14c1a23c5beb4dea51feacae66aa4edb0d69de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.14

Security for concentric 1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page