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.1.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for usql_conf-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1969d2696f281a00c397904d239d40795b3bf86406cebf6f4dab6603a4dcbd9a |
|
MD5 | d12c917ec8fb71b57e448713739d2e8d |
|
BLAKE2b-256 | 241054553ad662ac1d56e47e94704e6dd319f90e6209b0d5b0955ed9f280bc6c |