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.

Project details


Release history Release notifications | RSS feed

This version

20.1

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-20.1-cp37-cp37m-manylinux1_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.7m

unicon-20.1-cp37-cp37m-manylinux1_i686.whl (6.3 MB view details)

Uploaded CPython 3.7m

unicon-20.1-cp37-cp37m-macosx_10_10_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-20.1-cp36-cp36m-manylinux1_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.6m

unicon-20.1-cp36-cp36m-manylinux1_i686.whl (6.3 MB view details)

Uploaded CPython 3.6m

unicon-20.1-cp36-cp36m-macosx_10_10_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.6m macOS 10.10+ x86-64

unicon-20.1-cp35-cp35m-manylinux1_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.5m

unicon-20.1-cp35-cp35m-manylinux1_i686.whl (6.0 MB view details)

Uploaded CPython 3.5m

unicon-20.1-cp35-cp35m-macosx_10_10_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

unicon-20.1-cp34-cp34m-manylinux1_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.4m

unicon-20.1-cp34-cp34m-manylinux1_i686.whl (6.1 MB view details)

Uploaded CPython 3.4m

unicon-20.1-cp34-cp34m-macosx_10_10_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.4m macOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: unicon-20.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.9 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 786dcbec5f13b73f99f53428972e4d2a65471d085f9976ceeccd4b191ea3236f
MD5 2be047babf1a595eba7da02c63133a4a
BLAKE2b-256 f081c520b0411907ffb6e5f87055ce8692379784003b897f14a9887316fca3d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.1-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 00f850ee368fdd294baaadcf55ea435b84a91a94071e90cc7401c4735139f713
MD5 f29e065e4800a8b6c0e882f7aea4b681
BLAKE2b-256 1a50bfedfd0c424dd66078fe02f49ddad1d20bd0866aaff9b50d0127103b4f61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.1-cp37-cp37m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.7m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 6e8195e49cec53dba85fbfcb32fdabd14d93ab5e3e8b05c4bb96d0e9795275d5
MD5 32c78cec511a515e196bcaa515826676
BLAKE2b-256 4680325b13e0eb0472295bdcceb9975c94b8a51106fc892c85f1ae581e0760f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.9 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a7534c57466cebd7dc37197d0a918179de2abb7eff6d3183f6ab0000e1ffa132
MD5 85a03312e5aecac5a513886e31264888
BLAKE2b-256 adabdbc8feaf379131a2acae4358ab309594fb00610d76f741df31c26a06fbab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.1-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6aa62a978d9620b73d26207a05ad3cdb208c3c558748aa3ec4244e9a84b61d03
MD5 be3395c07d54dca190c995239ca2f1f4
BLAKE2b-256 c0d2c8356e8c8fb400596635b0dacf556908925d3b84a0d8d50170045fd83ebe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.1-cp36-cp36m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.6m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 fc545a5385d47cdbcafd599ba78bf0a21ca1f9e306a402e4294b12a6ced15950
MD5 14f12efb4df42ff8aa4380c131f2ccbf
BLAKE2b-256 b6673bc7a9f7b5e7ea0a2dbd6a97d83b8b1a1bfa1efb82c6dbc322c78198c0af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.1-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2524f407b9c7f5d90bf8c98fda021995c19ecac7328c015db07fc0a241dc1811
MD5 bc0435f9be67316425a068c7682ba554
BLAKE2b-256 09ba815bc757e51419b6d1c1b5d551eeef0fff040b0f73723c296c3b5a30d374

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.1-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ab8b45b268e164245abbaa4fb33c2e11a5617f840e4e971b0b9ba87c47a33882
MD5 8657f8cfb811bee9b1127828b501db80
BLAKE2b-256 4c55039c725e8a357e17aeacef2f544249000eb4d99d440cc92c33770a0e5393

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.1-cp35-cp35m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.5m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 f880125948de11027e6fc834bb8a54c3a947040b6910a1b18ff0a63eb152f40d
MD5 654f617390a568cd1bdc6dbabe0de661
BLAKE2b-256 24648395416611c59e46bc97adeef58196eb9d71cce082f850f5803bff00a30b

See more details on using hashes here.

File details

Details for the file unicon-20.1-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-20.1-cp34-cp34m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6737edc8ba47c988664056f6bb9f44df356f080f2f8b70ff07e2f63102a83f36
MD5 17242eacd9d3a79d78a50c314f06c8bc
BLAKE2b-256 ee6269a7a1a97c60f936845e2f349b8dcc7fa412505a1c98e04e786b7c82a5ab

See more details on using hashes here.

File details

Details for the file unicon-20.1-cp34-cp34m-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-20.1-cp34-cp34m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.1 MB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 62ee677b89042f636961471ae145e728e45ac02c9f804f1d770b82f6f5a596dc
MD5 24d7ddcba7f64b997ab131d7dfca2739
BLAKE2b-256 ec896dbc09f0d5e8b377382b0a8ad437ecae291f21076028f1c9acdd5280a686

See more details on using hashes here.

File details

Details for the file unicon-20.1-cp34-cp34m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-20.1-cp34-cp34m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.4m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.4

File hashes

Hashes for unicon-20.1-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 46ce1bd84951ea7746d2132f7083202f8e85823a158d05c11e1fdd047dfaeb97
MD5 f3d019597978a415187958619f6b446d
BLAKE2b-256 5480da62d623c460a4fa6f2837a42d0cf642b300c803498a0e7da5eeb155a982

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