Giter Site home page Giter Site logo

vcli's Introduction

vcli: A REPL for Vertica

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.

vcli's People

Contributors

amjith avatar cagatay avatar cwalv avatar darikg avatar davidcelis avatar drocco007 avatar droustchev avatar eliangcs avatar erethon avatar ericworkman avatar fixe avatar fpietka avatar guewen avatar itruong-cars avatar j-bennet avatar jacobsvante avatar jayzeng avatar jonathanslenders avatar ludovic-gasc avatar macobo avatar msabramo avatar nathanjhaveri avatar qwesda avatar rrampage avatar sancopanco avatar snahor avatar stuartquin avatar svenstaro avatar vegetableman avatar while0pass avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.