Skip to main content

Unicon Connection Library

Project description

Unicon is a framework for developing device control libraries for routers, switches and servers and the likes. It is developed purely in Python, and aims to reduce the amount of boiler-plate coding required to handle device connections in Expect-like progamming. Unicon is designed to integrate as the default device connection class in Cisco pyATS, and as well can be used stand-alone if required.

Unicon is initially developed internally in Cisco, and is now available to the general public starting late 2017 through Cisco DevNet.

As a framework, Unicon provides a set of classes and settings which can be further sub-classed to create platform specific implementations.

One of the main design goals of unicon is DRY (Do Not Repeat Yourself). Hence the base classes handle all the common stuff which are applicable to all the platforms. This makes it very easy for a developer to implement connection library (via plugins) for new platforms, as they only ends up writing the differential code.

Requirements

Unicon currently supports Python 3.4+ on Linux & Mac systems. Windows platforms are not yet supported.

Quick Start

$ pip install --upgrade 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 usag 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

Join us at our DevNet community for support:

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

Project 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

unicon-3.0.3-cp36-cp36m-manylinux1_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.6m

unicon-3.0.3-cp36-cp36m-macosx_10_13_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.6m macOS 10.13+ x86-64

unicon-3.0.3-cp35-cp35m-manylinux1_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.5m

unicon-3.0.3-cp35-cp35m-macosx_10_13_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.5m macOS 10.13+ x86-64

unicon-3.0.3-cp34-cp34m-manylinux1_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.4m

unicon-3.0.3-cp34-cp34m-macosx_10_13_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.4m macOS 10.13+ x86-64

File details

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

File metadata

File hashes

Hashes for unicon-3.0.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c23cff38a22cb2d45c47608a1e445751306c802beba905a2011f97d61e43a648
MD5 a37e822ac631f8237b5013c668deaf24
BLAKE2b-256 adf86773677ae1e6a0777ce9da6603adf92cc2b6fe22e97bcb343094a2840963

See more details on using hashes here.

File details

Details for the file unicon-3.0.3-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for unicon-3.0.3-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 95f93d59773bd53d4e40f7180cfe9e04f5211112767b6261f4256e4afb242eea
MD5 a137f0ed2c12ec1e75829162e0b8d1c4
BLAKE2b-256 c3a87d4f2ef4607cc489de25c24c1de2703fe1536aec1bd1751799986f34fa7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-3.0.3-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 40468802a2d5c6962758eab39924e39057b6079ad52eeb73d0c2b16f9c46e0f6
MD5 0bc8c8121feb6ff09a6ae981e455a9e8
BLAKE2b-256 780cf7ce447e8a60ab6c1ace3dad25f9f5f554292b91f1e6d679a3405e1d902e

See more details on using hashes here.

File details

Details for the file unicon-3.0.3-cp35-cp35m-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for unicon-3.0.3-cp35-cp35m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 527b06b6522f7d102f70ee8e61399451d14b78d2bce95a688cd5d9f45c0ad581
MD5 6fb20bfa65fce2630d4119892d96933b
BLAKE2b-256 ec58b32110de8c951727a2b777fa08e699b2a9f4e2e780975cdb488d1211bd00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-3.0.3-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8c6a838b33c3e29a26b0432875451879a123d53aadde554bc070a193027fd500
MD5 3b422fb7f48062072049ef473cab0904
BLAKE2b-256 e03315f1827c119a6aa1d89fea2876ad327007d244a2c18e407f27cf117374d6

See more details on using hashes here.

File details

Details for the file unicon-3.0.3-cp34-cp34m-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for unicon-3.0.3-cp34-cp34m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 71ff1bd93ec95ac048252b509d60a314e1ed676a9f2bef41cc5afae7e9372c87
MD5 992f50838d61fe6d2acc30f8202fc608
BLAKE2b-256 ba40221b2d7717f20df59455b89b8f90320d32630a8f6a74611a403bcf4e4aef

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