Skip to main content

Unicon Connection Library

Project description

Unicon is a package aiming to provide a unified connection experience to network devices through typical command-line management interface. By wrapping the underlying session (eg, telnet, ssh), Unicon provides:

  • direct and proxied connections through any common CLI interface (telnet, ssh, serial etc)

  • power of expect-like programming without having to deal with low-level logic

  • multi-vendor support through an agnostic API interface

  • seamless handling of CLI modes (eg, enable, configure, admin-configure mode)

  • rejected commands, command error detections

  • value-add statful services (specific to the platform)

and is extensible: platform supports and services are implemented via open-source plugins.

Unicon is the standard, go-to CLI connection implementation for Cisco pyATS framework.

This package was initially developed internally in Cisco, and is now release to the general public starting late 2017 through Cisco DevNet.

https://developer.cisco.com/pyats/

Requirements

  • Linux/macOS/WSL

  • Python 3.4+

Quick Start

bash$ pip install unicon

For more information on setting up your Python development environment, such as creating virtual environment and installing pip on your system, please refer to Virtual Environment and Packages in Python tutorials.

Examples

See example of a Unicon connection usage with Cisco IOS devices at:

https://github.com/CiscoDevNet/pyats-ios-sample

In addition, there is a sample plugin package you can follow to develop Unicon plugins for new platforms on top of Unicon:

https://github.com/CiscoDevNet/pyats-plugin-examples/tree/master/unicon_plugin_example

Support & Community

See https://developer.cisco.com/docs/pyats/#!license-support page for 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

unicon-21.12-cp39-cp39-manylinux1_x86_64.whl (11.6 MB view details)

Uploaded CPython 3.9

unicon-21.12-cp39-cp39-macosx_10_16_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9macOS 10.16+ x86-64

unicon-21.12-cp39-cp39-macosx_10_10_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9macOS 10.10+ x86-64

unicon-21.12-cp38-cp38-manylinux1_x86_64.whl (13.0 MB view details)

Uploaded CPython 3.8

unicon-21.12-cp38-cp38-macosx_10_16_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.8macOS 10.16+ x86-64

unicon-21.12-cp38-cp38-macosx_10_10_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8macOS 10.10+ x86-64

unicon-21.12-cp37-cp37m-manylinux1_x86_64.whl (10.3 MB view details)

Uploaded CPython 3.7m

unicon-21.12-cp37-cp37m-macosx_10_16_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.7mmacOS 10.16+ x86-64

unicon-21.12-cp37-cp37m-macosx_10_10_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.7mmacOS 10.10+ x86-64

unicon-21.12-cp36-cp36m-manylinux1_x86_64.whl (10.3 MB view details)

Uploaded CPython 3.6m

unicon-21.12-cp36-cp36m-macosx_10_16_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.6mmacOS 10.16+ x86-64

unicon-21.12-cp36-cp36m-macosx_10_10_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.6mmacOS 10.10+ x86-64

File details

Details for the file unicon-21.12-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 11.6 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b037fd432b6dd3163af77f487088a17682b1994d724810d2c6c9ac705173b1d0
MD5 045b8b137b2ab040b5cbaab93114c6eb
BLAKE2b-256 7bf6985819505de9b3e3b0eedc77cc3843a7192ea0267512caed91fd2d7acb64

See more details on using hashes here.

File details

Details for the file unicon-21.12-cp39-cp39-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp39-cp39-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.9, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp39-cp39-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 c8b0f3fb44080db3f3a28ae6871de4c209f59f01d3db7d0ac8dd5c0645b6f92c
MD5 7fefce3a0bc045d13729e628c2725a94
BLAKE2b-256 21726a07e2861739af49cd010c5bd2661a153a6a9483c3e5fbf8bf8bc34d7d23

See more details on using hashes here.

File details

Details for the file unicon-21.12-cp39-cp39-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp39-cp39-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.9, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp39-cp39-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 d71579d955b87d1bc16040a7e65bbb62e6fe35b92f98c8be9057a2ace18d3a5f
MD5 9d0b27bf8e4fbcf0fb31a39fa0152139
BLAKE2b-256 acecf6d0d9acf228bac592a092873cff3485d91c2df4b5bfaa5005abd8650f33

See more details on using hashes here.

File details

Details for the file unicon-21.12-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 13.0 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 11b6be3b5a42ed798f2e8a0521f2be7ea75ed1e7187018168aac5a81f89f898d
MD5 b4f96b29d1fcca5854e1cc97c8ee93e8
BLAKE2b-256 d966ee52e2ce85538bcdbb2cedba962d1944617a5ac63b1f76cdc83dcbf94dc0

See more details on using hashes here.

File details

Details for the file unicon-21.12-cp38-cp38-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp38-cp38-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.8, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp38-cp38-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 24278201677391c9d4ca4f15a7246f0f7c6b4a34252c2adf1f1891b4419070cc
MD5 146df89a29d0b3f6231bbca6d1cd5cf4
BLAKE2b-256 24a9cabbdbb3e03705cd7d75ab5a69db67405352dbfbe4af163c60e52146c787

See more details on using hashes here.

File details

Details for the file unicon-21.12-cp38-cp38-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp38-cp38-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.8, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 c8a52233ae52fa518ced04aad13738e7562579f3bfa3bfd14a4b4bb378916826
MD5 87111a14e92daecc52005066db017b30
BLAKE2b-256 caaca677b4c9155301b70530eb9fe7a2c84e52ccdc48b7a7a4179ea18b63615d

See more details on using hashes here.

File details

Details for the file unicon-21.12-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 10.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 295a2f77cb1b36188681046511b97c711eabc51e2bd9c8cb065deb0fad235182
MD5 a77eac98d75fd09752953875f594055c
BLAKE2b-256 7a8e34bd3fb844ef7ae8ee1df247c75345f8f23d6f07f10f303970b29861938e

See more details on using hashes here.

File details

Details for the file unicon-21.12-cp37-cp37m-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp37-cp37m-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.7m, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp37-cp37m-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 f0852b09d90b3d075da2ca03d0c12ebf745884c3eec96c0223348898955ae0f6
MD5 b8032cf78123b9afd77c7c9ec485ca60
BLAKE2b-256 c87ee3e2befaa47837d5a4a26ac9537b313d6f2888f873fb78feed1aee58f732

See more details on using hashes here.

File details

Details for the file unicon-21.12-cp37-cp37m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp37-cp37m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.7m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 4feac888dbc26e17b047f64db498eacae28058327253abb8db77686cd8cd8b53
MD5 f9a9cf941f050c6038ae85809201d440
BLAKE2b-256 9a64de82bd0fde701a6783e46f2b12d1c41050f333c30b4cc4f3e6bc3a37f4bf

See more details on using hashes here.

File details

Details for the file unicon-21.12-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 10.3 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8ba6814f4c37112b465ea10db6a12d1318a7ef77c7948404a2499a95d5b96132
MD5 0ebd211542020fd8df186c7b35762b0e
BLAKE2b-256 336679e2eb5e72064d500d3ca714c504edc198f47caca86a7300564210752bee

See more details on using hashes here.

File details

Details for the file unicon-21.12-cp36-cp36m-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp36-cp36m-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.6m, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp36-cp36m-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 1d2d0e7b508098328b9e2f53b21fbbbc959a24f0de4fd3a9edf18ce054e1c963
MD5 48c4e4446345904d25c0627684550d3d
BLAKE2b-256 460a78f7e16bc262406faefb794ccc21dd24d1f683843d558ba3cae945707094

See more details on using hashes here.

File details

Details for the file unicon-21.12-cp36-cp36m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-21.12-cp36-cp36m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.6m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for unicon-21.12-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 8c3406a8f3326ff3e4264f381dbfe0b82ee5ad69cd62e6f88cd5c916dd51e125
MD5 741603c3e6e8f623b9c7d47c038c5971
BLAKE2b-256 b723756c9c63332a77f2c53d17a285f95245a03f600febfd2492697919eda73c

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