chcli
A Terminal Client for ClickHouse with AutoCompletion and Syntax Highlighting.
This project is inspired by mycli.
Features
chcli is written using prompt_toolkit and antlr4 with grammar.
- Auto-completion as you type for SQL keywords as well as tables, views and columns in the database.
- Syntax highlighting using
Pygments. - Pretty prints tabular data.
Install
You can install just by pip.
> pip install chcli
Usage
> chcli --help
Usage: chcli [OPTIONS]
A Terminal Client for ClickHouse with AutoCompletion and Syntax
Highlighting.
Options:
-v, --version Show the version and exit.
-h, --host TEXT ClickHouse server host. [default: 127.0.0.1]
-p, --port INTEGER ClickHouse server port. [default: 9000]
-u, --user TEXT ClickHouse server user. [default: default]
--password TEXT ClickHouse server password. [default: ]
--help Show this message and exit.
License
This project is licensed under the Apache-2.0 License.
Release files for chcli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chcli-0.1.0.tar.gz | 103.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chcli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 215.8 kB
Release files / chcli-0.1.0.tar.gz
| Download URL | chcli-0.1.0.tar.gz |
|---|---|
| Size | 103.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
543f665a91a7a3b95fbda6f187f9bd5ae73b9844dfeb3b896792b40a3ed5e60c
|
|
BLAKE2b-256 checksum How to use checksums |
9bd9bc80c61fbf6656c06c9806f3792a66b6c6e73b78c401c2f855e90d296935
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6
|
Release files / chcli-0.1.0-py3-none-any.whl
| Download URL | chcli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 112.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a271496ac522522cf3af27f88b450e82078db71505b707a6f5570705637b510
|
|
BLAKE2b-256 checksum How to use checksums |
28094d9ba7208aa3c80569746b9a14b8efd93f6af60636de74d87289e14c4218
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6
|