Skip to main content

XAPI ssh command parser to convert cli commands to xml for use in the Cisco XAPI REST API

Project description

XAPI ssh command parser to convert cli commands to xml for use in the Cisco XAPI REST API

  • Free software: MIT license

Installation

pip install xapiparser

You can also install the in-development version with:

pip install https://github.com/jonathanelscpt/xapiparser/archive/master.zip

Documentation

To use the project:

import xapiparser

xapi = 'xConfiguration Conference Encryption Mode'
xapiparser.parse(xapi)

Development

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows
set PYTEST_ADDOPTS=--cov-append
tox
Other
PYTEST_ADDOPTS=--cov-append tox

Changelog

0.0.14 (2020-09-28)

  • fixed build token encryption issues with travis-ci.com

0.0.11 (2020-09-28)

  • updated build auto-deploy settings

0.0.10 (2020-09-28)

  • fixed exception raising behaviour
  • added unit tests
  • renamed references to refer to ‘cmd’
  • updated travis-ci settings to use .com instead of .org site

0.0.9 (2020-09-28)

  • added typing support
  • build bug fixes.

0.0.8 (2020-09-26)

  • build and deployment automation with travis.

0.0.7 (2020-09-26)

  • trivial bug fixes

0.0.6 (2020-09-26)

  • fixed basic case defect and added unit testing

0.0.5 (2020-09-26)

  • fixed bugs in cli tool

0.0.4 (2020-09-26)

  • updated supported, ssh-only and currently supported ssh cmds

0.0.3 (2020-09-25)

  • fixed metavar issue with cli tool and added test coverage

0.0.2 (2020-09-25)

  • first release on PyPI.

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

xapiparser-0.0.15.tar.gz (12.6 kB view hashes)

Uploaded source

Built Distribution

xapiparser-0.0.15-py2.py3-none-any.whl (5.8 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page