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

If you're not sure about the file name format, learn more about wheel file names.

unicon-19.7.5-cp37-cp37m-manylinux1_x86_64.whl (8.0 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7mmacOS 10.10+ x86-64

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6mmacOS 10.10+ x86-64

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5mmacOS 10.10+ x86-64

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4mmacOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 35ed80fac93fed7abf2647fe6f7523ec594a6cdc7037b22bef47d11d83ebbef2
MD5 80acec7095f157bfa97bdc11a0d3d062
BLAKE2b-256 27c7ff56592ccf4a902c5c412d02dba72fbc0b17639088834259d0a9f47fa0ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 22205d70d545b3c1987571e73dcef0abdb5bb96dc619a172186835f47d5b4c43
MD5 d8b1dbaee0cc6cb403809b44473b15b3
BLAKE2b-256 43f3b7df1cf668592b12411f910a64e9eefa0b12672ff5384f963540f1d56eaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 ed4a6465b671a3049921b1adb201e811603f58313645d3b1a61eed5719264adb
MD5 f483bf1883a10eba45ac2cb7d8f73d94
BLAKE2b-256 a79af636c47f8b2a8452810ec1b858eecbed6b2e0133b0f2f5143d868928b8f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c67bbeb953a24f03c77ad29818161ada8829b237bc00851df51f0347c3a34937
MD5 1b5d2b404b24fb557457c17c42708afa
BLAKE2b-256 2c5edc7a29d72bd6bc84721f86e02a8ce925caa2147499aa5b35846e1d2552a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2b3daf5bef7421eaf6aa16d64f1687f928b546a4c897d1484f982306cd236033
MD5 1c4862c9c05a523977ae9bdbb87ab8b7
BLAKE2b-256 1e813bf7f570cb24b4ad1031e7955f0b0441ece278a38722c93986ba7d35d27f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 9d165b7e8790ceaa9a45a3f4b5449d24dbe5d073d2d2f6c1ee9268c80a33e310
MD5 4b26305ecbaa2d0da3686a2503420606
BLAKE2b-256 13110b498322363d16f2367501937115d1ff58519bdae7cb9c4ee70779710692

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 610961c428ced86d9f04fb4680e00549f8ffa3f37827faaa02d625d0f212f153
MD5 de8dc04892d066ca0acfe58bfb24f28c
BLAKE2b-256 1195d17fc9c76a13fbc69b3f09f2a6b25830b4f70d32709fdfdd4845a2281d27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f43a7d93fb66c7f6c86492b55d5f9925c1609eb850f8fa3cda44cc8bc390ed6d
MD5 196e8c99ddfd7b596ea2288be562f4a2
BLAKE2b-256 f4a901e47a855bc5c3daf1abebfe2049caca4a1a77d269f006188ad70eb2cdd5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 9fa8729fdc607e9d828a7cbb0f1674c28bc038475a4c9f96f558a86c8e5acb1c
MD5 5a8f9d173b54364a5f00c4a4c21c394c
BLAKE2b-256 0af92bf3bc282e9e7c5d40df71cf03a6a784399f9fe79172454e353bee2b0b65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b1c0aca7279491c71cfee5e264ac43179b4868f53a73803548c920a19d3877dd
MD5 aa973c063349b34a1cb9ad0238c8b63f
BLAKE2b-256 5f0e26150a7a10a564a359166891efa8c6584a6b7cbf856018dfbef52c739860

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0e8f566a6fa43811ff99da57aaa41bd209a8d992f9a5252cff4db2bdaf311269
MD5 bf4329bada04c1edd877d9ded2c7aafc
BLAKE2b-256 c701ca5cf305f2a1542af74137e4688684efd3482290d691ee18997240574cdd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7.5-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/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

File hashes

Hashes for unicon-19.7.5-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 b3a8616163476c38b2f1076a38aa65ff80de6a17fc7921602fc3d1ac41493010
MD5 105668026fa7b94b55be6418ae84f7c0
BLAKE2b-256 1e356bd71cae7f3f369a8e0e6d90c7710cb5da22158c928a30855726209130b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page