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

This version

21.2

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

unicon-21.2-cp38-cp38-manylinux1_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.8

unicon-21.2-cp38-cp38-manylinux1_i686.whl (9.3 MB view details)

Uploaded CPython 3.8

unicon-21.2-cp38-cp38-macosx_10_10_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.8 macOS 10.10+ x86-64

unicon-21.2-cp37-cp37m-manylinux1_x86_64.whl (9.5 MB view details)

Uploaded CPython 3.7m

unicon-21.2-cp37-cp37m-manylinux1_i686.whl (8.7 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-21.2-cp36-cp36m-manylinux1_x86_64.whl (9.6 MB view details)

Uploaded CPython 3.6m

unicon-21.2-cp36-cp36m-manylinux1_i686.whl (8.8 MB view details)

Uploaded CPython 3.6m

unicon-21.2-cp36-cp36m-macosx_10_10_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.6m macOS 10.10+ x86-64

unicon-21.2-cp35-cp35m-manylinux1_x86_64.whl (9.2 MB view details)

Uploaded CPython 3.5m

unicon-21.2-cp35-cp35m-manylinux1_i686.whl (8.3 MB view details)

Uploaded CPython 3.5m

unicon-21.2-cp35-cp35m-macosx_10_10_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: unicon-21.2-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 10.2 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4a2ff17eabbed0925a799aa1eefe84730c020f8d84217bfaed8ca8c053faedb0
MD5 f0589f58b0aca06f9ff47fa6966e2aae
BLAKE2b-256 1cc3b6b73277e3dd60baab22edd443faf3f9c7d9abe55d607ac6640c4e8081b5

See more details on using hashes here.

File details

Details for the file unicon-21.2-cp38-cp38-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-21.2-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 9.3 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 a9b6a7ebc1c11ef3aa119901ef2ad2e88663258a33bf9bde744d0b332550eac8
MD5 7d7b4e11468d5519a5d62682965e8f5d
BLAKE2b-256 4998c1a869382f1e76af6f375e615c65e06b17f2202ceacf5d6b24a2a128d1f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.2-cp38-cp38-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.8, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e0873be485787850d85c6d282604831b86bf052a5fad231353f188136df84bc0
MD5 d1e33af5a09676578467829257103d2f
BLAKE2b-256 04debb1284930617e4326f3c28e45fb1960390f9296c2ea0a0084f8aaef4c917

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.2-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 9.5 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c123d461ffdc4c923091058f04d28e578026c76cbb032904cb744423476fec8b
MD5 b31a733e46e208b20bd173665bd3d21d
BLAKE2b-256 b23485eaf17e0474d5c26ca45e76d294e2b202ec925c8eb2948ffd13df8c90ce

See more details on using hashes here.

File details

Details for the file unicon-21.2-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-21.2-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ede6bd79094454931ce0908f054b10453dddc6a1a7c0d4ad1f110d5841482c25
MD5 ea3707ee36a8c9c81814c507a67230da
BLAKE2b-256 c99e60ae50a132ec951edb75af829325a080b221dbebed97917ef7e9d6448c14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.2-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.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 0e40220190b513c78a7347a8eed63a9ecafe8d15e0a23e60dbcd5e107fc00321
MD5 a329d353e244c19e82e6db2b269d4044
BLAKE2b-256 00b8bf94f686e5a694ce758993eba36f7b1bfc051429af1011e234622db9a92c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.2-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 9.6 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 00feaaa11aa7975ab7109b4a96772cca4cadf4a5fc3b16f335fca6a4d579b36b
MD5 bbe9997b58076b1d8619d45298439820
BLAKE2b-256 552d3899a3fbdf5f368de44f5ac63ca44c1ab5e62842811587b49d0c885e0ade

See more details on using hashes here.

File details

Details for the file unicon-21.2-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-21.2-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 8.8 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 64616d5fbceea35e42cced3954246a0ca55562e6ce16370c89dbb6aba39992e1
MD5 c3447389514d9bf9376df50d994e2a1b
BLAKE2b-256 d93fdbf160b317aaa4c8f92cd6377966f11c6cc1d27ea581701e002d1fcb9663

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.2-cp36-cp36m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.6m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 3bcc5d2d6d929ffeb5a0bbaabc91723c830507feaf02925cb9503cb86f7d517b
MD5 0613f73909a64266de570aa0ef35bd3d
BLAKE2b-256 c3eefe5fbb0a8c1a68052ae16a4442c253fd55b34a31759ce26d8573fdc4016e

See more details on using hashes here.

File details

Details for the file unicon-21.2-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-21.2-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 9.2 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7d4f7961d7d3d4fd16745c7f84be9e1ed65c162298894604aaf06b44a865d90d
MD5 d16baa8b9774642cb93a6feff5153bc4
BLAKE2b-256 5dc48b805fbc5332ce1d0dca72e4003a55f50cd52c437e01c56b3c19931f5044

See more details on using hashes here.

File details

Details for the file unicon-21.2-cp35-cp35m-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-21.2-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 8.3 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 474105083de02705d8be2e8ff6ab2faa24ed1fff1ab13967a27ee90f94172b52
MD5 ea6613014c31eb34f925fded6d3a791d
BLAKE2b-256 af28ba5bc72d580fc330560184c79a81151af149ac137d91ff40ed7dc824f261

See more details on using hashes here.

File details

Details for the file unicon-21.2-cp35-cp35m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-21.2-cp35-cp35m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.5m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.2-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 c1ccf64ee39bf22a34589d3973624fcfd0f56ec09285219532891bb94eeeca2d
MD5 2c9328db26bfbc26368520dcbbfd43fc
BLAKE2b-256 1fadc93f9d0126bd66bdb51609f5ee2786c9a0de628f9a3c9dab90e0c023b33b

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