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.2.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for usql_conf-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 538e4e04d4f0978662ea328fba459a36166a64d0d22f0306f63441db0c6534c4 |
|
MD5 | 3e93883ea53061c1d023a4678f6fd69b |
|
BLAKE2b-256 | a2a891798af487be7776024107014d3fbd9b3a12f2c50955ab9d17d5581fe610 |