Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cs91chris/parstream-client
Unofficial Cisco Parstream Client with improved cli
https://github.com/cs91chris/parstream-client
bigdata cli client parstream
Last synced: about 5 hours ago
JSON representation
Unofficial Cisco Parstream Client with improved cli
- Host: GitHub
- URL: https://github.com/cs91chris/parstream-client
- Owner: cs91chris
- Created: 2020-05-07T16:48:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-08T17:24:06.000Z (about 4 years ago)
- Last Synced: 2024-10-12T15:46:13.490Z (about 1 month ago)
- Topics: bigdata, cli, client, parstream
- Language: Python
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
PSClient
========Unofficial Cisco Parstream Client with improved cli.
Still in Beta, tested with Parstream 4.4.x on ubuntu and windows 10.
Install it using ``pip``:
::
$ pip install pscli
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:
1. raw output string from parstream server
2. a dict that contains timing info: start time, first packet time and final time (useful for performance test)Features
~~~~~~~~1. commands history (file: ``$HOME/.psclient_history``)
2. autocomplete from history, sql syntax and cli commands
3. sql syntax highlight
4. cli commands
5. query output as table instead of csv