Unofficial Cisco Parstream Client with improved cli
Project description
Unofficial Cisco Parstream Client with improved cli.
Still in Beta, well tested with Parstream 4.x on ubuntu and windows 10.
Install it using pip:
$ pip install psclient
NOTE: python 3.5 or above required
You can use it from cli or use its client class (PSClient) in your python code. There is also a class (AIOPSClient) that supports async paradigm. Use batch function to execute parallel statements.
The execution of a statement returns 2 value:
raw output string from parstream server
a dict that contains timing info: start time, first packet time and final time (useful for performance test)
Features
commands history (file: $HOME/.psclient_history)
autocomplete from history, sql sintax and cli commands
sql sintax highlight
cli commands
query output as table instead of csv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pscli-1.0.0.tar.gz
.
File metadata
- Download URL: pscli-1.0.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 161378d950103c22b329a084c9a2186e92d9cfb808bec29bffb93cc42575a698 |
|
MD5 | 3cdd680977cfb06545af894f893816eb |
|
BLAKE2b-256 | 3d01989d32e196fac7123c256fbdd87334c9e652bf619c3678fd1fa9c98496e1 |