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

This version

19.7

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

unicon-19.7-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-cp36-cp36m-manylinux1_x86_64.whl (8.0 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

unicon-19.7-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-cp35-cp35m-manylinux1_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

unicon-19.7-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-cp34-cp34m-manylinux1_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

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

File metadata

  • Download URL: unicon-19.7-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-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 153fd1363d486ae23596211d391f26f69245b054c65536b776093745476f3594
MD5 6f9390ae3e0a74bc8d661d5e296f0681
BLAKE2b-256 e0af6f64a8a1b98805ef69e259111d972df9f6d3fadb1ce07e1535be6a199a8e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7-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-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 87ed181ab1e2e7359b85b2a5a6e69b583b43e8c2ef8beb0ba73f33634b71fd34
MD5 532775b8a54c47ce4096586c04911beb
BLAKE2b-256 63ccfa410a4536376ccc8b54ec01fa28b5f270da49106bd58a2ccf93d7d6c98c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7-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-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 66ebec1bc187e3f6e8cde113131a32808d9367e1e6e02596d15670dac3c624a7
MD5 f7f89219d7f3be5dfefbe316e163185f
BLAKE2b-256 21e4fe047ad9462f39f2d039a2414cd7bd8ce948b84af0794b1a0c409c754660

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7-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-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 78fad028ad4c7c4eeb7fb4619bb71f3ad762f7af15f975b064af7d9a48ae0c37
MD5 fffe0d582713e9abdc0fce404dd6b726
BLAKE2b-256 a9575c2d805e6a4e7153f4a451f594dd215821681ec022e8a09fd51f14fcf84c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7-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-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e4021e63d38dc133e3018d4db907735a37541a4fe005af44f37e690ce2ca0c64
MD5 b3e15a78370d48599d22fe537758be4e
BLAKE2b-256 1f25223f5a76abd187a91cb335816f0e058aec796cfb6b48567784e65bde6c30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7-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-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 2599cb8f139b4b04a33659a249f4de60fdb1d1c2e66d39b5ffbcbaea828e6aea
MD5 d0425e17e0a6ff7dcae916b5166869c2
BLAKE2b-256 6149da4ffe3dfad55f08b0ca42e7fea7e58814a8c0435df97dc62412314de6b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7-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-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8b670691fdfd8471a4cc17a13604c6332a95b4bd4c783d8e8a47987ba4571b0f
MD5 6e8f58de4d147119def76ce5e3f3d677
BLAKE2b-256 89a7b6f81951c00505dc64d0b5ebf9a0a072b521eaae3ff1f4f4b3bf76bd6c01

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7-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-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 50414a6a44f18a533a829d304afcefc63ff76dd28d85bcc425b3db42525f44b7
MD5 7c12c923c2d669c45c45ff6484a9c9b7
BLAKE2b-256 d40a63c8ccc203f78056c955d4f199e22e3dfb7e0734c6b7f7333809f6528c94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7-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-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 1726a8926ba59d0fe9cdfe66dc6e8673ed45933a92781080f57dfe64d44641f2
MD5 269f510aabf1577413c0c0f314247d72
BLAKE2b-256 915d047161a74e12270fbfe264d2089e10351ba5af9466d4b40c4b69c0d12279

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7-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-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 25b416e16b9ea36b0481e7b0260bf894a71399ae5f31f6c7a853c6fa9f3076a3
MD5 ceb7cbfc56487ae53a2078f898c5a20e
BLAKE2b-256 0e744173afb81d209150727a5747c9b7b1aac62e5fa1831bee88b487c7ab31c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7-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-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1abe457eaf98485c27ab671cb2006805ede993dbecdd065edbf9880e19711c47
MD5 e1b9a82a657c257eaf5e3517824de078
BLAKE2b-256 7b568db54e51fa6616c6465b715c43b9259be1a353ce4375a511a512542e91a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.7-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-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 fc5caf1511e558296428551d2a3e3debc60302530d5a375cbaccdccaa7286273
MD5 34599a411b54d48aaf90428336a62358
BLAKE2b-256 ac5f0aad28cee8c2d85311fc18d19992a5350864179bedf6d9e858d921243970

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