Skip to main content

Vertica CLI with auto-completion and syntax highlighting

Project description

Build Status Latest Version

A Vertica client that does auto-completion and syntax highlighting, based on pgcli.

screenshots/vcli.gif

Installation

Just install it like a regular Python package:

pip install vcli

Usage

Usage: vcli [OPTIONS] [DATABASE]

Options:
  -h, --host TEXT        Database server host address  [default: localhost]
  -p, --port INTEGER     Database server port  [default: 5433]
  -U, --user TEXT        Database username  [default: eliang]
  -W, --prompt-password  Prompt for password  [default: False]
  -w, --password TEXT    Database password  [default: ]
  -v, --version          Print version and exit
  --vclirc TEXT          Location of .vclirc file  [default: ~/.vclirc]
  --help                 Show this message and exit.

Examples:

# Use URL to connect
vcli vertica://dbadmin:pass@localhost:5433/mydb

# Prompt for password
vcli -h localhost -U dbadmin -W -p 5433 mydb

# Don't prompt for password
vcli -h localhost -U dbadmin -w pass -p 5433 mydb

# Use VERTICA_URL environment variable
VERTICA_URL=vertica://dbadmin:pass@localhost:5433/mydb vcli

Thanks

Thanks to pgcli. Most of the hard work, especially the auto-completion part, were already done well by the pgcli core team. vcli wouldn’t be possible if it weren’t for them.

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

vcli-0.1.0.tar.gz (51.5 kB view details)

Uploaded Source

Built Distribution

vcli-0.1.0-py2-none-any.whl (59.6 kB view details)

Uploaded Python 2

File details

Details for the file vcli-0.1.0.tar.gz.

File metadata

  • Download URL: vcli-0.1.0.tar.gz
  • Upload date:
  • Size: 51.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for vcli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d04ad0bc484ab11d83db23c35091920503783d936ff9965eb80c6159b6842c0
MD5 2a6a12137afaa1b3416ec9ba353c7151
BLAKE2b-256 e5b32761289ec10ac66bb58031decfb0f680e5c76334dc20b81f80e0e90addbc

See more details on using hashes here.

File details

Details for the file vcli-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for vcli-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 6944e10d0c509793242ca629bde68e5895bed5e1dabb2d34d8388d34f2149cfb
MD5 2ef8d6c89a13291d654e96abea1cea45
BLAKE2b-256 ae3c4888d4b052b243b4f1891499c9c95f5f8c892c67ec9c121c22d2720a82c5

See more details on using hashes here.

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