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

20.9

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

Uploaded CPython 3.8

unicon-20.9-cp38-cp38-manylinux1_i686.whl (9.1 MB view details)

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 10.10+ x86-64

unicon-20.9-cp37-cp37m-manylinux1_x86_64.whl (9.4 MB view details)

Uploaded CPython 3.7m

unicon-20.9-cp37-cp37m-manylinux1_i686.whl (8.6 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-20.9-cp36-cp36m-manylinux1_x86_64.whl (9.5 MB view details)

Uploaded CPython 3.6m

unicon-20.9-cp36-cp36m-manylinux1_i686.whl (8.6 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.10+ x86-64

unicon-20.9-cp35-cp35m-manylinux1_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.5m

unicon-20.9-cp35-cp35m-manylinux1_i686.whl (8.2 MB view details)

Uploaded CPython 3.5m

unicon-20.9-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-20.9-cp38-cp38-manylinux1_x86_64.whl.

File metadata

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

File hashes

Hashes for unicon-20.9-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 48feb7a2c129653e9092302ef263fb354208e1e3cc45febcb33c719cde2a783b
MD5 f436f4679060f2ca0d5625fa67ef09f7
BLAKE2b-256 e043fc86e965d0511f6b620292b217dcfffc7f56cf0d7edc38320798fc2fdd85

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.9-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d6a1cb33e524efdf1650fa13077812e899f48cdf3a1ff3377ca125856da57697
MD5 afefe42532f2711d702eccfcd2a657e6
BLAKE2b-256 6296a8acf058a9581297525358292eaedae58e243f46a8d705d7ab5018621bb1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.9-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.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-20.9-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 b0d691ebe0af032b06ccd32771bc306cef2f098b5b9c607599f34ffb843f2fab
MD5 82af5cd30539ec33e14c82cbec1928e3
BLAKE2b-256 a35308edbdf09d995820c77c48e982fc3659151e7f8cc1c8cb886f822d8e8db3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.9-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7a42c870c5ade0dc3d0f2aab416fb59ec89fe87a1a1775e5553881ce10e966b6
MD5 6e674ee4b4f0426f0a1614d05295d189
BLAKE2b-256 a41450d675126dcb48ae10298f9543c24bca9c9795ec6e4d15ecb111d956ee15

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.9-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6bf744bdc620574254999da9a5ab6295fe0484f2c117fb1e68a9b4c6ae922746
MD5 732abc972de3c17290a940275f2aa5d2
BLAKE2b-256 d99d0349f3fef17f2c3938a5f1cf0bc269ade2746b533a9e4043fa395c92c66e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.9-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 cddcf0254a5a52991376e23e9e77e9d2f677042e654dd50484360703f8e49e6b
MD5 4d8c1c7892523a50cc2f00889162a8ed
BLAKE2b-256 f61a9d463fd6779afa2496cc3c6c31b570d94aa4f314fe41a329cf06342a905f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.9-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ed0805795cb666d9595245902112c4176fee2e1b40dd374204dbfd3df1aa5d61
MD5 9977db0673414747514488587364ef84
BLAKE2b-256 7ad0bf89b3d4ad842fcfb37248148f69d6faa78003813f497ea99155981ddd35

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.9-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c66dccffa57eeab5808e31b09c4032349416fe06ff0d2361cb13876da091ffd8
MD5 4e581f58eb61212557bd347ade2ff511
BLAKE2b-256 91343e0a5a7654b26578fa3d830788cd19f09a00a052c32553d1303b7a281212

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.9-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.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-20.9-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 5e18f8ae4f94472c0b8dbd9b0ac994b7ab189cb0527a7337dbea83bb18767853
MD5 46acdc66febe1db833a2588e8d09f636
BLAKE2b-256 2c3ea9940c34733a0ac3344e90491b6d68d61cfe28d005c08a75c2682f0d10fa

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.9-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d45920d3fe56a753e95449234301e55621adfb2476126d53a0bc06c1b70bd4e0
MD5 cadeedbe32fe2ad9df70b88276fa2008
BLAKE2b-256 bb42736b41ff9ba56f395cadb44c20e222ffbd55818aa9c7216647f778150f66

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.9-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 740073536cac550b0c832ba56e3fb9ffa498e4dee40262b4d72c8cd9cd489df9
MD5 8ed29a4ed7ed4c749cab9c7c962fa45f
BLAKE2b-256 ef10accd0a28811048dfc749199cea85021a8ae1b41c831b47f0e86a838b392f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.9-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.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for unicon-20.9-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 cab91fc0a4f588146965a7e7556774547300413de8b9469c451d6d4f78ff8bf4
MD5 2573ea4ee4ccc63a6deb346318293714
BLAKE2b-256 935e584db2e43150c2dee4e6a0805126e2f2308040ec71ec103ff70b4eb0f78f

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