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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file xapiparser-0.0.15.tar.gz.

File metadata

  • Download URL: xapiparser-0.0.15.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.7

File hashes

Hashes for xapiparser-0.0.15.tar.gz
Algorithm Hash digest
SHA256 d03300e74321f96ae63c393be535609144290491f7e08497b9f9f09da57db7b6
MD5 f09c555dc5f3af8e8a8f4e68be52b2c5
BLAKE2b-256 7c11c64cbc2681d490550566516efb1081fd2d86567b917a3a6e8cc6557ce62e

See more details on using hashes here.

File details

Details for the file xapiparser-0.0.15-py2.py3-none-any.whl.

File metadata

  • Download URL: xapiparser-0.0.15-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.7

File hashes

Hashes for xapiparser-0.0.15-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e34784e16b17ecab7a85d8ef8c2cc047f2aa01cf36f17b6d389f2bb41713934f
MD5 002590edc9bd7b8fdfdaf96f69e6e4a8
BLAKE2b-256 b0337dca0e1ea93438c99d0313d0915dded0512664993569210b6ddef5a57f1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page