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.4.4-cp36-cp36m-manylinux1_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.10+ x86-64

unicon-3.4.4-cp35-cp35m-manylinux1_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.5m

unicon-3.4.4-cp35-cp35m-macosx_10_10_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

unicon-3.4.4-cp34-cp34m-manylinux1_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.4m

unicon-3.4.4-cp34-cp34m-macosx_10_10_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.4m macOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: unicon-3.4.4-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 7.6 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.1

File hashes

Hashes for unicon-3.4.4-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d961251373602607137f23b86da4420a052ffd9de61aa8473dc09a36edc08d69
MD5 c848a5a5e13082ea727b6e1adf2a374e
BLAKE2b-256 3149f53a0d70e80a7a4d7219fdec57000590a663492d5c1c21ddfa8130f33ec3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-3.4.4-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/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.1

File hashes

Hashes for unicon-3.4.4-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e8a3e3757bff772918e5ebdfdf8f0328f18d14032f43a9ba2ca1bf5bab6a6463
MD5 b37a705b4d83545dd2969d060d97ece8
BLAKE2b-256 84b1b772daee5215e67725a020044b10b7fe31286290a27365d2eee1800c44fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-3.4.4-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 7.3 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.1

File hashes

Hashes for unicon-3.4.4-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4dde5b361b5d70653a82ba68447cc3f968ecfe4c134550e20361118bc742df63
MD5 6955b5b9a7fb2a4aa269ae7a8c0cb83c
BLAKE2b-256 b649c06a91505d04d21af2b753580dcb7e45daf9c80d92e5d5b72a39b07f59ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-3.4.4-cp35-cp35m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.5m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.1

File hashes

Hashes for unicon-3.4.4-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 43737772a221e9dca24938c9384975b255e9a1029d8b4badba4aa8575675445c
MD5 877cf3f2718415a660d6fe33636eb9cd
BLAKE2b-256 a61e4c35ebb065c122188ea10b5255b522322edf961f5abd42702af6145c8ab3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-3.4.4-cp34-cp34m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 7.4 MB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.1

File hashes

Hashes for unicon-3.4.4-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 38d30636f48a38d684d1b68f6fe956498ac763ff177c68da3320cc1ecc94ab5c
MD5 19ec00637e01ce9723d73977ade7e1ca
BLAKE2b-256 6284bcb8ae6347ca83f0e35f465cdc21c1539ec6ef6642e2f0bc60b6ad83bb1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-3.4.4-cp34-cp34m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.4m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.1

File hashes

Hashes for unicon-3.4.4-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 6589bdcc205403aca8858db126e2ae66a41d011fceeb137e2b9f0a3068a00fa5
MD5 c79fa1590d2479492c579844d054ca71
BLAKE2b-256 5db3e0202f88f679ee3d7c905295d8de3cc6f385db31a90f4029ce2fc8e13ca2

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