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

This version

3.1.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-3.1.2-cp36-cp36m-manylinux1_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.10+ x86-64

unicon-3.1.2-cp35-cp35m-manylinux1_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.5m

unicon-3.1.2-cp35-cp35m-macosx_10_10_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

unicon-3.1.2-cp34-cp34m-manylinux1_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.4m

unicon-3.1.2-cp34-cp34m-macosx_10_10_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.4m macOS 10.10+ x86-64

File details

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

File metadata

File hashes

Hashes for unicon-3.1.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a18e8a1f544b93f918ce9a06c06fb7019d9aabcce12d1f4d32135e9f48ce41e5
MD5 4d8f9aefc672fa838f03182f48cb1fa9
BLAKE2b-256 ca879c5765e7428671ae84e047645de82ae7f8de2abc15f3de7d35831c50ce20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-3.1.2-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 5c138e75d7105deff78ddc9fdd3be6b2d05d9816f85832efd2aca5ce802aaab5
MD5 7c7539b42349c51e6f9844412f90b6da
BLAKE2b-256 d2dd39d6ecb4c8f3fa01a47581b6795042e2a803edae020a1168a98852d043c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-3.1.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 36483cd8fd06ddb2b84113b3bb3156540effcd86502df7d16ca6b213a5a94ce9
MD5 e58a8aaca33be88f8898ef1245de6fd0
BLAKE2b-256 9eb9257d6ecb0b041da949723e9324949fa455b9203f1768f7f9316bb17e78ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-3.1.2-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 600976e8a1db52f7064b7f8526d7f03eeedd0500a3162d019b701a71079d120e
MD5 4752a18c4d4220d9a5aebd83756e7de8
BLAKE2b-256 eced57868741555f3e82c044c822b8aa7d4930621a5f44dc854cf183eb6b019c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-3.1.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cdb7229d336bc206f607cb40a5553bb5a633410983aeb02305c6b01c8fee4122
MD5 547f4cba93a90dc9faabbd078daa86f9
BLAKE2b-256 c1a9dbd25b0cb85a32ddbb14f2e0132ffc36190b507c0494e013831ded9de156

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-3.1.2-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 b48be315a9d82084761d9f8703c12686b08e5d3ec32d78026631dd0f5a84bb1d
MD5 f3cf4e9761a01dc3a2ec1ede4bf0609b
BLAKE2b-256 8b6e1f6fa0d7eb70769f278cb67eeb254aa64399091b2ff43d09bf8886789944

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