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

This version

19.6

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

Uploaded CPython 3.7m

unicon-19.6-cp37-cp37m-macosx_10_10_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-19.6-cp36-cp36m-manylinux1_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.6m

unicon-19.6-cp36-cp36m-macosx_10_10_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.6m macOS 10.10+ x86-64

unicon-19.6-cp35-cp35m-manylinux1_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.10+ x86-64

unicon-19.6-cp34-cp34m-manylinux1_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.4m

unicon-19.6-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.6-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-19.6-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 7.9 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.6-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 39da89547b0bdf6f147a4313d4ad514434817c379f16ff48ab0bbecd652132b0
MD5 9ea1964f6c0fd523a21f3f3306890f46
BLAKE2b-256 6d80912487a4738ff5ee2ef0adfd041b514ffe3a81333ad2720da1562bda856b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.6-cp37-cp37m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.4 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.6-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 411d850d7a4d036cc23c8c34782f89d76d87410269d45eca0efcac4b72cad259
MD5 7dff15868ecb7654e75daf435a1b2fe8
BLAKE2b-256 62a51097fb8100210b8c3a76aa8b9f84befbe0e41e1c5660c596b85a0e0d8a0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.6-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 7.9 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.6-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 613b7b5fa3310abe3e66b9604eedc8834c6f419ecfe3f7e946295a5439bca305
MD5 7684a5cdaba94d7773f765cf93c04f18
BLAKE2b-256 2ea0a7b9c5fb8f382b2313ae76082a6358a6266f0d6b453946a61546e738022b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.6-cp36-cp36m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.5 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.6-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 58af478e31cf91f58e0726f925dfa7193df34cbb9f62f7e7b1d0bc7488182562
MD5 c792c286861831e728fa4077bf1742f7
BLAKE2b-256 14f7928c7cebb3ed37613abd22014e2478d5c4c6cc535d47be9bae6bca7e37e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.6-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 7.6 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.6-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4fac3a8e52f80d30055e464bd4d0bac1530d7ed3651dc153608e1f65b39cf39c
MD5 88e8d10c50ee7d709b470a858be498c9
BLAKE2b-256 83fcc3e8ef80f5a180205cbcc1075c729fede9f385381b3a3cd9ca579c3e8d0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.6-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.6-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 fa9287830102c2d5e7f75764e9bdf9b10cceb9df7c9c5699c14ec3e77dcadf0b
MD5 6a406eb04984b7091470f898240bf873
BLAKE2b-256 e38aba8ba540ad2aa54acb27ca41c3d38c51687479be6b91345c213352fe72fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.6-cp34-cp34m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 7.7 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.6-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a38cfa284f7b73e5b853626304e0b19f5752edb56611c4ba1f4cbff6654ad9b4
MD5 20d91a879701d9a7e8ee40f3fc663a8f
BLAKE2b-256 9c84157ca459eb9e31bdfb905dac535891c6984b28e5ae842fcbb4cf47a01f59

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.6-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.6-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 a2218490df320794238ec93756de07602da114b27c0178600c18ca259061f9a7
MD5 51c1082b9dee7720c83fb8bbd8ccff7a
BLAKE2b-256 b14d942df1423bbdd9e3dde77766176a08396201a1e4117cb95ed102fa5e9847

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