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
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
usql_conf-0.0.3.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for usql_conf-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff53bf7aafeef13cf78e473f4ef355231a8c2844a6024c5fa8ca0639fef79412 |
|
MD5 | 6cc7d5ca5549469a7b906ed0f86ee1e9 |
|
BLAKE2b-256 | fa501eb7f0f2e37ac5944e7229c880cd60bf210910f8c7ff2ec675b7e77d73b3 |