Skip to main content

Unicon Connection Library

Project description

Unicon is a package aiming to provide a unified connection experience to network devices through typical command-line management interface. By wrapping the underlying session (eg, telnet, ssh), Unicon provides:

  • direct and proxied connections through any common CLI interface (telnet, ssh, serial etc)

  • power of expect-like programming without having to deal with low-level logic

  • multi-vendor support through an agnostic API interface

  • seamless handling of CLI modes (eg, enable, configure, admin-configure mode)

  • rejected commands, command error detections

  • value-add statful services (specific to the platform)

and is extensible: platform supports and services are implemented via open-source plugins.

Unicon is the standard, go-to CLI connection implementation for Cisco pyATS framework.

This package was initially developed internally in Cisco, and is now release to the general public starting late 2017 through Cisco DevNet.

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

Requirements

  • Linux/macOS/WSL

  • Python 3.4+

Quick Start

bash$ pip install 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 & Community

See https://developer.cisco.com/docs/pyats/#!license-support page for details.

Release history Release notifications | RSS feed

This version

21.1

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-21.1-cp38-cp38-manylinux1_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.8

unicon-21.1-cp38-cp38-manylinux1_i686.whl (9.2 MB view details)

Uploaded CPython 3.8

unicon-21.1-cp38-cp38-macosx_10_10_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.8 macOS 10.10+ x86-64

unicon-21.1-cp37-cp37m-manylinux1_x86_64.whl (9.5 MB view details)

Uploaded CPython 3.7m

unicon-21.1-cp37-cp37m-manylinux1_i686.whl (8.7 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-21.1-cp36-cp36m-manylinux1_x86_64.whl (9.6 MB view details)

Uploaded CPython 3.6m

unicon-21.1-cp36-cp36m-manylinux1_i686.whl (8.7 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.10+ x86-64

unicon-21.1-cp35-cp35m-manylinux1_x86_64.whl (9.1 MB view details)

Uploaded CPython 3.5m

unicon-21.1-cp35-cp35m-manylinux1_i686.whl (8.3 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.10+ x86-64

File details

Details for the file unicon-21.1-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-21.1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 10.2 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a0135ad0b5e6ecbf4bce5656a1d4a5ba4bfcd5a5d3deeb49dbfee2e691c37cfa
MD5 431854599ed73fdbda6577af13a6006e
BLAKE2b-256 ad6d30eeb23ce210763980b39c76535ec41c423ce9a6d5c060c6a1f0f3d53096

See more details on using hashes here.

File details

Details for the file unicon-21.1-cp38-cp38-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-21.1-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 9.2 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7c5d036f689d74fe62351af085df069fc75d331dd40955418a263d5ea4c71a66
MD5 64ded16fc34ebebb6436c6bcf656e745
BLAKE2b-256 f5ea4850a7c9ac932411fd1d91febe04c53787376be317e9dd746367e4f6b3f7

See more details on using hashes here.

File details

Details for the file unicon-21.1-cp38-cp38-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-21.1-cp38-cp38-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.8, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 1717403b31dd4d70d43d8abad4624cb99f3e2b420aea9d4487d8c89643e28f0f
MD5 dd430d5a68057a9205e4d125eba550c9
BLAKE2b-256 b3dc7522bbf8216c59091b5fb31ef5ea36431e6c893748888478d1f1632b599e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 9.5 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 385a1b8d69951fe1b19a0989889a20da36eb2610c58f0829a362d95c84421b0d
MD5 29797a44c24b384d1b895f3166220781
BLAKE2b-256 ae13264abd9eacb49ccd228911b3253042edbfd4b3d23a0a316114bd96b7713b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.1-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 07c914c9c42780318c626d70cd5bd0a964c1338ffa7f770cc00725d352f616c6
MD5 84b5da36f173e0634e166fb1bd1eca35
BLAKE2b-256 e10660964cf0d7e7e30a64126fa55becebcef0a93c4bf9f1a7edc67d13232f39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.1-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/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 69e2da6522ab00264a24680dcc7076d8551717ae9d64a9087d8669ce888430b0
MD5 7a5580d0e743738f05bf63396d077751
BLAKE2b-256 cbdd768216cc6a37ee8756fed69f458caf1bda17e50467b697418e8542e7094c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 9.6 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b95a2707648b6e7200896412b18f95b8eb6609745caa74a8586b28e9311e57f7
MD5 61f8cf46ee9dfaa806ef2f6bf18f514d
BLAKE2b-256 be431e8115f956391138d6371768a2922c3868c4b21ba0bd4a23a7fb94badac1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.1-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2324ecaa02aabe981a01166c724179c5d31697f1c00d9d4dab4d13e917d5a5e1
MD5 c029c5d6df661f0981a3a75f2a1cad8f
BLAKE2b-256 4109f23ad8c7e31fe38973abc898953b3d671805df463cf326d31d6444ba384c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.1-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/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e027d52dc8eb1b5443a5e850f3f911723221896a7e444846ae2d1b06590600c1
MD5 45fd2323173a4043c4569329ced193e9
BLAKE2b-256 b75582f95622da54d7d901282efe4c3b84076627465ed66ecdb8dd4c6b3ae656

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.1-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 9.1 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2ce1560e2608b3f0edf0aed990d7ac342b7421a3af803796df6c0e98f01654a6
MD5 0368b7cc4db0622b8c9f8bd4bd5a9bb2
BLAKE2b-256 98c18f91b143ffb1e82788989c2f056b98d97956112fb2e213c147cd372ac86b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.1-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 8.3 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 18b6ded3d8a9b0d8b357c78c6f22083c0dabeb187538112705ce3a5d7cd683da
MD5 e9a408e3d1f1e2de5ff550e059027b5e
BLAKE2b-256 8a494d9cc0df1e204bb510639764ee9f68a3a9073d6906138b1897a76ab36240

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.1-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/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-21.1-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 07b7b1ee7ff954ef5cbd44cef69952f0970e04aff04d0d5572680f4b56dcf978
MD5 3f473c7fe4bfaa97446954d0972fded7
BLAKE2b-256 6ac3752271c4e8dd5f5c9ffbb262eb9864f4994d55e77f6424b39485b7f26bf0

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