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.9

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.9-cp39-cp39-manylinux1_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.9

unicon-21.9-cp39-cp39-macosx_10_16_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.9 macOS 10.16+ x86-64

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

Uploaded CPython 3.9 macOS 10.10+ x86-64

unicon-21.9-cp38-cp38-manylinux1_x86_64.whl (12.9 MB view details)

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 10.16+ x86-64

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

Uploaded CPython 3.8 macOS 10.10+ x86-64

unicon-21.9-cp37-cp37m-manylinux1_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.7m

unicon-21.9-cp37-cp37m-macosx_10_16_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.7m macOS 10.16+ x86-64

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

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-21.9-cp36-cp36m-manylinux1_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.16+ x86-64

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

Uploaded CPython 3.6m macOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: unicon-21.9-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 11.4 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.7

File hashes

Hashes for unicon-21.9-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9a1af51cafe44c99a1eea7bd0445ccccb7ffa746d14532dc3422ab373876ccef
MD5 26e15df8960e4120585dd07ebb3ffc48
BLAKE2b-256 6cd5a6fa2d7e88460fae197f535fa12dd68edfa8b7964a07ae20a63f32a03b8a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.9-cp39-cp39-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.5 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.7

File hashes

Hashes for unicon-21.9-cp39-cp39-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 cfe6bc37a1533545387171d2250ee0259fa034136647af36fcd45f612c1d5f6d
MD5 eb0f0cccbc5305e99e1e2019d5b4e746
BLAKE2b-256 f4eb702dae70bb56c05c45504fa930e66003d806ff20259bcc277f72b93d6a3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.9-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.7

File hashes

Hashes for unicon-21.9-cp39-cp39-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 6dd17215cacfb92b1f10fe1b59f809f340192be08233bfc47562271ccf982af8
MD5 c6621bb239a497b6e3392c88d6ba0453
BLAKE2b-256 53380e73d1987f200814724df9fa4f9d61edeac65e786b7880c6eb42de5e6786

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.9-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 12.9 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.7

File hashes

Hashes for unicon-21.9-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a1fa062b3454e37cb37cbf44112f05726dfc5238164375d0ef59376d217ea194
MD5 1d30944b8c8e5b5229673b947118ceda
BLAKE2b-256 012540817c64704e40e2862bf4a1a654d0c12067aa9b1a2f1e8aa9163e3c12cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.9-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.7

File hashes

Hashes for unicon-21.9-cp38-cp38-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 859c8e4631274f4916425ff6d9b1c7b06cd93cfeb0551f9c943b6eae5faaadc3
MD5 70cd764924d5ad8a259ae7eda0af4cce
BLAKE2b-256 b639b881825ae3baa54b9b6bf82707ba7f25b43d8d055a5e9516a23e228cd71b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.9-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.7

File hashes

Hashes for unicon-21.9-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 8548c04454b810e27fa23982fcb62bf9ce36c38bd60d61ba7adbc7156652ad3e
MD5 1601dc9ae385949566113f4f3505b689
BLAKE2b-256 53b51cdadd959d0a3d525e20d5a87269c150bc2e45052d329d63f7add52d6a48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.9-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 10.2 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.7

File hashes

Hashes for unicon-21.9-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 84a5e10cd114e5bafdb1a14180285bb13e56269b2497206ef3b48331f3c55d98
MD5 632256c08b7366dc106589f1078995ec
BLAKE2b-256 7582ee5a550a482ac6c948979b15044e488ab539c3477010113c681d406cadc1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.9-cp37-cp37m-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.4 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.7

File hashes

Hashes for unicon-21.9-cp37-cp37m-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 1e72892d04c1d0b18e016b6f95fc862cd4d12e7c4e4bdf84491cb85296d8980b
MD5 284c8df5e59ac915098491066ce5ebb4
BLAKE2b-256 87ecc886a5f5eed50ff6e76e56b3d88987dfccdfd36de9261a9e7513f0f90add

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.9-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.7

File hashes

Hashes for unicon-21.9-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 704d075206d383926e3a5bc1eeb67079c0f2ad48396207f4243e376f4e55526d
MD5 9c7d2ca9e75e67d53983d316593d21ab
BLAKE2b-256 fe88d17eaf70034900584dc3fede8cf2276adcf7e0500c7713d0ae9085558f00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.9-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 10.2 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.7

File hashes

Hashes for unicon-21.9-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a1ea5848bf7a866abe5ec59e828fb847a6e888bf65e0c1c1baba84781b4e64ed
MD5 bb214aa6c138f4d9dcf6628f5b4dc06b
BLAKE2b-256 789d68d8dd4af4b4ac2e6aabb51777c04086e7f3a238da443da1ae362476f8df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.9-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.7

File hashes

Hashes for unicon-21.9-cp36-cp36m-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 60bf5f7af362ea7faabfaba1eb1fce6a3fbf701402d7de36c6c2beff3d8d827d
MD5 e0003d1e55364fb9cc44e2c37622ae02
BLAKE2b-256 6fb6ba94dd42094d1e35599ec63ce0f870ff3337cddb5b99dc16d2624578b301

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.9-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.7

File hashes

Hashes for unicon-21.9-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 428b5b36a69557d06e3bcd9df81790621fe80e7e6f6659317edd8913c06e170e
MD5 b812de60f9b4c9b9358ce17985495c95
BLAKE2b-256 e61caa9f6febe2390c2c09974d57077119ea71698cd4fb3d0e8f8c2cf3b3c05c

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