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

Join us at our DevNet community for support:

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

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

Uploaded CPython 3.7m

unicon-19.7.2-cp37-cp37m-manylinux1_i686.whl (7.4 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-19.7.2-cp36-cp36m-manylinux1_x86_64.whl (8.0 MB view details)

Uploaded CPython 3.6m

unicon-19.7.2-cp36-cp36m-manylinux1_i686.whl (7.4 MB view details)

Uploaded CPython 3.6m

unicon-19.7.2-cp36-cp36m-macosx_10_10_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.6m macOS 10.10+ x86-64

unicon-19.7.2-cp35-cp35m-manylinux1_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.5m

unicon-19.7.2-cp35-cp35m-manylinux1_i686.whl (7.0 MB view details)

Uploaded CPython 3.5m

unicon-19.7.2-cp35-cp35m-macosx_10_10_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

unicon-19.7.2-cp34-cp34m-manylinux1_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.4m

unicon-19.7.2-cp34-cp34m-manylinux1_i686.whl (7.1 MB view details)

Uploaded CPython 3.4m

unicon-19.7.2-cp34-cp34m-macosx_10_10_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.4m macOS 10.10+ x86-64

File details

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

File metadata

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

File hashes

Hashes for unicon-19.7.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 82c68c697745dcf440f34d2842eef39af753f44fda7c824acb4799c9853779e6
MD5 97de10c2a298b8a933ccfad48dd038be
BLAKE2b-256 6f39cc8167c8f3682e75c1245c68ef1acf240baf7c5f4e3a46d26a80e9b5532c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.7.2-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 93b3a73e282c11d180b16d73c17a58b72c49e37f73d733306d53484b9a34819a
MD5 6660f25e9ff36adaba80ffc95da90e18
BLAKE2b-256 b76476e3d4d946e8e254852a818b0c11d7b594834d95e52f119eff04d0ad9136

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.2-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/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.7.2-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 4b43b16f2acc874c3a4328786573290252975d50261cb60ecea8cb096b1ea7c9
MD5 c394856041b44baee37f77683fb68a0f
BLAKE2b-256 f0b5d4b005325e9ea5108f250e322b63e673d6272dc1d3f27938592ae2c8e6af

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.7.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 602795871b86767d66906dd2054bac14b114bb1142e95ef2a2a9856cf6e6034b
MD5 b030a07d9e7803edf7d10edbb59b18e4
BLAKE2b-256 1bae0a9e8cbf1921ddd270d467498e06eb105a749129661291badd9dd0317031

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.7.2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1e94177d4699a00d4be6bd3c40b38dc0efe8ed27c7d79a9b38781e3b2f488a85
MD5 38951a28330db425c6dd50c3795d4f28
BLAKE2b-256 0a68fcc55d3b578cbe25144ae4538d8c2f290d76c03c5a9806600110052bf956

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.7.2-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 0cfa1b0823dfdf658b11d995fff7bc58f6a11cd772edfbd358dbee944583d0fa
MD5 d45d1e4188f22f1cf13f0af797117103
BLAKE2b-256 f1bfa7799c76870f7f8fa65a82bc9f1ef17b80fbc0aaf9484c1d6e78a53cc1fb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.7.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3a5ccd0dbe2e2c63b99b68ee03f072358efd3fe43b716283c3f5afbc96a24c7d
MD5 3129708e3a20a5f87cc2c56154185159
BLAKE2b-256 fe366faa8b6eabe66e1c07ce16839a84716522d859659eb4a681dfe0b811115a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.7.2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 80ea83aba77a2af30699ac6d6515569eddc3a2e941b8381a4efec7af5daa2cb0
MD5 0564470560d18d375d1ca1d646ee9617
BLAKE2b-256 1c535fce5ba91e34003e63454e2d03cef5073288e46d56ff0b67b87a7fe5ea84

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.7.2-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 64127d694224ea7fab435d458dd384b754337ff4fd5ebdffaeade554802a6e3d
MD5 f90e189440b7b22ffd8a053bc7c01ec3
BLAKE2b-256 ba2970d2a3f3c296e8dbc7285998f0b94b3d688b4fa7efa9d55fa3dd80bfbe1f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.7.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0d432bf0dd75966b006ef40a36005ac5c181cb8b994c273f39274d860051c4ea
MD5 afa8cfd5c7cae96f295aab6808be6b22
BLAKE2b-256 e2b79a424fd1a6ee3894205c279d7b3da6625477ddad676d22952af13a549fe4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.7.2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e9b9e786871af698a983c9fe11433f830e016c215dc35dbb6477387493707693
MD5 f501d25cd715030cf0de753d112d02e1
BLAKE2b-256 d77d27c9e19d0d8fb193d85af4bd7d6cf61230a6b8f0b00678c386154af050e9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.7.2-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 c95408a76cd8cd19ea0d6f1b1ad1082c6322639106449763d3ad143487744e53
MD5 8300ea5147be025f3369d1c11c4b6818
BLAKE2b-256 5096fd362b0c318dc55b85602a9248212cd437a8007140dd1db141f35d01ad8d

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