Project
  • Github
  • Github
  • LinkedIn
  • 500px
  • Stack-overflow

ConnectionVault

๐Ÿ”— Unified DB Connection Manager for Python Data Engineering Projects

This Python package provides a centralized YAML-driven interface for managing database connection metadataโ€”across Oracle, MySQL, SQL Server, and PostgreSQL. Define your credentials and settings once, and seamlessly:

  • ๐Ÿ”„ Add, update, remove, or test connections via an intuitive CLI
  • โš™๏ธ Retrieve ready-to-use connectors in your data pipelines with just one line of code
  • ๐Ÿ“ Simplify credentials management in teams and projects
  • โœ… Validate database access interactively before running pipelines

Whether you're automating ingestion scripts, deploying DAGs, or prototyping SQL workflows, this tool abstracts away the boilerplate and gives you production-ready DB handles instantly.

๐Ÿ†˜ Part 1: Getting Help via CLI

View available commands, syntax, and usage examples instantly with the built-in --help flag. The CLI interface is intuitive and beginner-friendly.

CLI Help Screenshot

๐Ÿ”ง Part 2: Managing Connections

Add, update, or remove database connections directly from the terminal or Python code. All configuration is stored centrally in a YAML file for simplicity and portability.

Manage Connection Screenshot

โœ… Part 3: Testing Database Connections

Test your configured connections before executing a pipeline. Instantly confirm database availability and credentials using the test command.

Test Connection Screenshot

๐Ÿ Part 4: Running Query from CLI

Directly from CLI, retrieve a live database connection and get output for your SQL query.

Python Usage Screenshot

๐Ÿ“ฆ Part 5: Versioning, Templates, and Config Paths

The utility also includes several other commands to streamline your experience:

  • ๐Ÿ†” Check Current Version: Use connectionvault --version to confirm which version you're usingโ€”great for CI logs or debugging.
  • ๐Ÿ“„ Show Example Templates: Run connectionvault --example to view a sample python usage code.
  • ๐Ÿ“ Locate Config File: Use connectionvault --yamldir to quickly print the absolute path of the active YAML file.
Miscellaneous utility demo
  • Back Portfolio