Skip to content
Crash is an interactive CrateDB command line interface (CLI) SQL shell with autocompletion.
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
crate
devtools
docs Change directive headings and page titles to sentence case capitaliza… Jul 12, 2019
tests Update error handling + test for newer urllib3 Aug 12, 2019
.coveragerc
.gitignore Remove buildout Aug 12, 2019
.travis.yml Update error handling + test for newer urllib3 Aug 12, 2019
CHANGES.txt
CODE_OF_CONDUCT.md Adding Code of Conduct Jul 9, 2019
CONTRIBUTING.rst
DEVELOP.rst Remove buildout Aug 12, 2019
LICENSE LICENSE docs for docs dir Jan 30, 2019
MANIFEST.in
NOTICE
README.rst improve help section Jan 30, 2019
setup.cfg Resolve warnings from newer flake8 Aug 12, 2019
setup.py Switch from zope.testrunner to stock unittest Aug 2, 2019
tox.ini Switch from zope.testrunner to stock unittest Aug 2, 2019

README.rst

The CrateDB Shell

Travis CI Version Documentation Coverage

The CrashDB Shell (aka Crash) is an interactive command-line interface (CLI) tool for interacting with CrateDB.

Screenshot

A screenshot of Crash

Installation

Python Package

Crash is available as a pip package.

To install, run:

$ pip install crash

Now, run it:

$ crash

To update, run:

$ pip install -U crash

If you are not using Python version 3.4 or above, recent version of pip will only install version 0.23.x. This is because newer versions of this package are not compatible with Python 2.7 or 3.3 and below.

Standalone

Crash is also available as a standalone executable that includes all the necessary dependencies, and can be run as long as Python (>= 3.4) is available on your system.

First, download the executable file:

$ curl -o crash https://cdn.crate.io/downloads/releases/crash_standalone_latest

Then, set the executable bit:

$ chmod +x crash

Now, run it:

$ ./crash

If you would like to run crash from any directory, and without the leading ./, the file has to be in a directory that is on your PATH.

Contributing

This project is primarily maintained by Crate.io, but we welcome community contributions!

See the developer docs and the contribution docs for more information.

Help

Looking for more help?

You can’t perform that action at this time.