Skip to main content

CLI for Managing SQL Connection Strings used in usql CLI

Project description

usql_conf

Command-Line Tool for Managing SQL Connection Strings.

Install

pip install git+https://github.com/jpy-git/usql_conf.git

Usage

Create .usql_conf file in home directory and add config names with associated connection strings in .ini format. e.g.

[pg_test]
connection_string = pg://test_user:password123@localhost/test_database?sslmode=disable

Then obtain connection string from .usql_conf by running:

usql_conf pg_test

The intended usage is to be passed to usql to connect to the desired database:

usql $(usql_conf pg_test)

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

usql_conf-0.0.3.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

usql_conf-0.0.3-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page