Skip to main content

Vertica CLI with auto-completion and syntax highlighting

Project description

Build Status

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

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.0.1.tar.gz (50.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vcli-0.0.1-py2-none-any.whl (58.4 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for vcli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ef982e7c8e20802ab10b34141de7ffc24352d191794c0d9fe993f21a65a46b8b
MD5 b00feb04b84defef8d44f187685294ae
BLAKE2b-256 a65be2bc94fa5f7e9eccda1c1c4da1c7405f49615f038edf988fc2d00df43441

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vcli-0.0.1-py2-none-any.whl
  • Upload date:
  • Size: 58.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for vcli-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 3d2259de571ba32cda8b5ce016ae5b97b3adc54f5985327d9a85472891ef3c7e
MD5 411010f8f9685119c1c969a7fb81bb16
BLAKE2b-256 85f998c09d134998dbd66380ab24303e57a939721cfe521ae1a6bc3e6c537ada

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page