Skip to main content

Unofficial Cisco Parstream Client with improved cli

Project description

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

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

pscli-1.1.1.tar.gz (9.3 kB view details)

Uploaded Source

File details

Details for the file pscli-1.1.1.tar.gz.

File metadata

  • Download URL: pscli-1.1.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for pscli-1.1.1.tar.gz
Algorithm Hash digest
SHA256 2c4fb4ad1851d2d95be0f598cd7dce95037e4868787de0a8388f11df2d0b24df
MD5 5fcf5dd07d9e82c307af61bf5e385c72
BLAKE2b-256 efd0076329917e34f787ab7619dfb8ead948b5cd5c4d0838906fa3bb82eeb54f

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