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

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

Uploaded CPython 3.7m

unicon-19.10-cp37-cp37m-manylinux1_i686.whl (7.5 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-19.10-cp36-cp36m-manylinux1_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.6m

unicon-19.10-cp36-cp36m-manylinux1_i686.whl (7.5 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.10+ x86-64

unicon-19.10-cp35-cp35m-manylinux1_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.5m

unicon-19.10-cp35-cp35m-manylinux1_i686.whl (7.2 MB view details)

Uploaded CPython 3.5m

unicon-19.10-cp35-cp35m-macosx_10_10_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

unicon-19.10-cp34-cp34m-manylinux1_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.4m

unicon-19.10-cp34-cp34m-manylinux1_i686.whl (7.2 MB view details)

Uploaded CPython 3.4m

unicon-19.10-cp34-cp34m-macosx_10_10_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.4m macOS 10.10+ x86-64

File details

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

File metadata

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

File hashes

Hashes for unicon-19.10-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 379709cd67d6abd0cb085bbcccbbf8b436be0af12ea18d1ce667374d336de3e7
MD5 4d34df8af59b515d59731b4f557ae2ab
BLAKE2b-256 fdb9a8b101aedc7466c620b5af9dee77c7b026dc254d2c206a41ba0e94bfce5f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.10-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 911d4745acbc6fac478c13a423d31b1caca8d2fafe53b102b1de29b70c1596c7
MD5 da45e789d693009fd0243a5c6ed53d68
BLAKE2b-256 669965cfeee6704ff7e57785096b6c8489becd28d101f04611df8cc6a345de24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.10-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.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.4

File hashes

Hashes for unicon-19.10-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 ddcbf0e4441b386df21d19bc1535faad551a6f4b2dd73591c04d5c8c723c3310
MD5 5724b764eedaae4b53cbcb4860e29083
BLAKE2b-256 abd0a53d9f20e02abc8a525cdea91b5df4dea804c535257730fd2d03c91b01ce

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.10-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0fa0828ec3bd37f0ef54d5e92594962e924a531f2da95a217a67a6fcb80f6f01
MD5 db071bbbdcc5f805d4c7c858d6f8f011
BLAKE2b-256 01472fb2f30c06e433d04cc23da0c4b4d85f003fe97b6948875697e79b12abc3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.10-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c6bc86afd261a80d8254f31731bec6cf279aaf5720aaa2927f3bba1e26dc4fc0
MD5 8fd1b3bd5532782257b88c22a46fd10e
BLAKE2b-256 90bfa0dab518fd42d1fdcdf6df51d132af10cf8dd2fdfa8dc034a00821a04418

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.10-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.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.4

File hashes

Hashes for unicon-19.10-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 84d9e085b945be3c1a270dc0f23efc9bb1217a65a1bbadf812aa10d6b3c6a03b
MD5 dd5258fa84d44c7e92edc2fd533ce822
BLAKE2b-256 e1d956515b489147fd4291207829f3e7ba91466bdc6287075309fbdda7b071a8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.10-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 11d4c4da21fe26d2e5c0e4dcff67e4dc0e10d4ba6f7b09f6d9e5f681a8b72cd9
MD5 0f7b1e2061a256183485318854dbde89
BLAKE2b-256 1c0866bab1043cd5874c54a9d4334eac6f5286844d9294941f8d28d5da304e1f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.10-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d0f916c6be166c7841ecbbe580f86a886ea5d359ac444a21f197e91e3810c708
MD5 52083057cd672aaa9ae166ca5b5808d2
BLAKE2b-256 62d4d03b239fb7c55f804cefcab4f4b54d6b58d89723933a2af7c0af847b84d7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.10-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e33375010eec4aff1698909ebc3b77565b3c97f333a7eac0d808e9cba3c199fa
MD5 89f3b0aa945a416911858d4cef99f221
BLAKE2b-256 c4fcc231bd05294d588fa53c7e6f1a36292ccc6b1e9dd1f5b75f7e3721b2661e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.10-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 246758111416bdf5b03ae87d32590bb4113c634efa81f6d5d062661441710b93
MD5 6d6ee8a32dc09f9c9b4d6247ff84f835
BLAKE2b-256 07f87a1a5e8a8966707c1d5ad535a1d7ce742fd2b392efc199dfc28583336e16

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.10-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e2f63e2520b54dda6ffd3826eb74b6cc28225d36f08489aaa0cb84816e222e23
MD5 471f86d8a50abcbf027c13dd9162415b
BLAKE2b-256 8f5375cd2dbbe74f4cb59408ee79cdfe90bbccb51805e8fdfcd1358305c6fb2c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-19.10-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e6ef73f90579f8996bda66465c88ad57db689aeeb5ffcad90ae7767f3e9f6221
MD5 7aedbff6525ca7855d31ff44541bf764
BLAKE2b-256 8c724498baa139a6b4e510ed2c2adbd2ba788afad8f990a6aefa2cb408cd51c0

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