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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file usql_conf-0.0.3.tar.gz.
File metadata
- Download URL: usql_conf-0.0.3.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ccc96a496484e1f7bb90b9f7c66566311cda75547f7e06ea3a9cbb61bfad78f
|
|
| MD5 |
124df6e1a7982598ba084d19bd219bcb
|
|
| BLAKE2b-256 |
ad72e3c452eafb0a2f284fff42a2e054208027515c4aaff213dccc8bb02381a8
|
File details
Details for the file usql_conf-0.0.3-py3-none-any.whl.
File metadata
- Download URL: usql_conf-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff53bf7aafeef13cf78e473f4ef355231a8c2844a6024c5fa8ca0639fef79412
|
|
| MD5 |
6cc7d5ca5549469a7b906ed0f86ee1e9
|
|
| BLAKE2b-256 |
fa501eb7f0f2e37ac5944e7229c880cd60bf210910f8c7ff2ec675b7e77d73b3
|