Skip to main content

Zookeeper CLI with autocomplete, syntax highlighting and pretty printing

Project description

IZK: interactive zookeeper

Build Status Coverage Status

izk is a modern and simple zookeeper shell, with autocompletion, history search, vi bindings, syntax highlighting and pretty-printing.

asciicast

Installation

To install izk, simply run

$ pip install izk

izk is Python 3 only. I do not plan to support Python 2, but it that's important to you, feel free to contribute!

Docker

izk is also available as a docker image. To run it, execute

$ docker run -it brouberol/izk

Note that to ease usage woith docker, all command-line arguments can be passed as environment variables, prefixed with IZK_.

Example: here is how to run izk --write in docker

$ docker run -it -e IZK_WRITE=1 brouberol/izk

Usage

$ izk --help
usage: izk [-h] [--write WRITE]
           [--style {default,emacs, ...}]
           [--version]
           [zk_url]

CLI for zookeeper with syntax-highlighting and auto-completion.

positional arguments:
  zk_url                URL of the zookeeper node. Default: localhost:2181.
                        Override via the IZK_ZK_URL environment variable.

optional arguments:
  -h, --help            show this help message and exit
  --write WRITE         Authorize write operations (update/insert/remove).
                        Override via the IZK_WRITE environment variable.
  --style {default,emacs, ...}
                        The color style to adopt. Default: monokai. Override
                        via the IZK_STYLE environment variable.
  --input-mode {vi,emacs}
                        The input mode to adopt. Default: vi. Override via the
                        IZK_INPUT_MODE environment variable.
  --version             Display izk version number and exit

Version: 0.4.0

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

izk-0.4.2.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

izk-0.4.2-py2.py3-none-any.whl (11.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file izk-0.4.2.tar.gz.

File metadata

  • Download URL: izk-0.4.2.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for izk-0.4.2.tar.gz
Algorithm Hash digest
SHA256 570137672cccdccde9645d5458bd16cc2db8ef149e2d289e78f740b22bd7be65
MD5 f57c6ac397c75e061221ea7519d04559
BLAKE2b-256 27f62fc0094b55cc9e11ce72ff7a62d22f4fbddd238af035a545db94fac604da

See more details on using hashes here.

File details

Details for the file izk-0.4.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for izk-0.4.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3a69faf3a1760882440779097ff9cbb37531fca5940488dd798fa18894cd5190
MD5 6253415e257ed5a300badfe96bdf6462
BLAKE2b-256 8bd8ba06e3acf0165829a3bdac491f7ab78b8e6a5e08ebf393d4ed0814883819

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