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

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8

unicon-20.9.1b0-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.1b0-cp37-cp37m-manylinux1_x86_64.whl (9.4 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

unicon-20.9.1b0-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.1b0-cp36-cp36m-manylinux1_x86_64.whl (9.5 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

unicon-20.9.1b0-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.1b0-cp35-cp35m-manylinux1_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

unicon-20.9.1b0-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.1b0-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-20.9.1b0-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.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 29854c5fda9b45b3ae47c8bfd0dd21ffed2316da274c039a3deec200140a89a2
MD5 8ae376e7363702242ceccc4e8390e430
BLAKE2b-256 566ad93d9fcc462020941932f8cbdf63d69bdee581d5b26bcebb0d205cf5b744

See more details on using hashes here.

File details

Details for the file unicon-20.9.1b0-cp38-cp38-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-20.9.1b0-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 9.1 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 85c5b47940faaba2f516f687fd05703c14e906555ae4d0f623be9496120bd2ef
MD5 112e4c7b8ae7e2bcbaa6ba3ded16e6ed
BLAKE2b-256 da2abf6dbe445f79c2fd9b19c70374a206750d88c58f63b7fd1218a6a314ce62

See more details on using hashes here.

File details

Details for the file unicon-20.9.1b0-cp38-cp38-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-20.9.1b0-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.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 a203de03be29bdbb9bf265ae2b883957d796b3279102257d0f8052b4139ddd9b
MD5 8f8885df837edd56dda4842bbc37add4
BLAKE2b-256 7603258e19c638cc97ca666f4f02a6e5ba906cc27ff3b007f7d9f3ceacef2ed2

See more details on using hashes here.

File details

Details for the file unicon-20.9.1b0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-20.9.1b0-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.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6d7d169780b911bb425f6da97f57df1231064569b6919c8805e90d1c6a5c7e6d
MD5 162381d874ce859877634b59af1c37fc
BLAKE2b-256 38c2095562390cfc337bb714cbd0620eb43757aa0560721faa85602a4fb062bc

See more details on using hashes here.

File details

Details for the file unicon-20.9.1b0-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-20.9.1b0-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ac37e9035efa94a2b2bdc0a27efe6012010d1fba9369cbca49f1f15c6e180b30
MD5 7829a4db18fbb131a764b1853a3e5f2c
BLAKE2b-256 389f80836c4749ddbb097c5d237829bfeec9168456ee559cef152d73c35c5b9b

See more details on using hashes here.

File details

Details for the file unicon-20.9.1b0-cp37-cp37m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-20.9.1b0-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.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 66e4d95f1b353ba2f8b10147d8e6a3903c85d7232ed0c11c9477e618ccf322f2
MD5 a39f7fbef3f19340bb8720328ea929e2
BLAKE2b-256 c549d0696c51e7eadc9c5cecbca1cd54f99b419f3e121ff3383a3ecc83695220

See more details on using hashes here.

File details

Details for the file unicon-20.9.1b0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-20.9.1b0-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.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a04c0565774ca78baef87cac32bf3effeb95cd4784f89171d7f987737303f3a9
MD5 53f1711e6c849558c37aea9fee24754c
BLAKE2b-256 56858403b250c5e2a0841ce70a789f3165be0a9cd0af678eb67ccce0544052cb

See more details on using hashes here.

File details

Details for the file unicon-20.9.1b0-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-20.9.1b0-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 afb591cfcb7830880d62905b9e7f44e42bd3d93fed49288b9874b7e0133ee3d2
MD5 8ebcd7bc27c375290f4e54d06b500ef8
BLAKE2b-256 843c0442d8f2cddd721819d3662b400089d5b6cf7137991bc7438e6b47bca191

See more details on using hashes here.

File details

Details for the file unicon-20.9.1b0-cp36-cp36m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-20.9.1b0-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.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 ed10d7f48e7b424e8027dc6f5c3608056b708c8b82369c3de24387eed5c8f55c
MD5 d9cff6e1356759500ef5347d9e0aaae7
BLAKE2b-256 968e4a61868a843d9efba478d5cf8bf3da916cfd22df0fa5dcc7a187c05fa26a

See more details on using hashes here.

File details

Details for the file unicon-20.9.1b0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-20.9.1b0-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.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e49097814d8a664571f1baa2c2a25bf7d8a3b97777015b881349fb7b972205a1
MD5 bcb576a624526d21c75846353be7f13a
BLAKE2b-256 4a5143587eadc75c71f9a8b81f4ea1b2a6a7cd7e6a06214e2b26b3d3a80e9d97

See more details on using hashes here.

File details

Details for the file unicon-20.9.1b0-cp35-cp35m-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-20.9.1b0-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 8.2 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 349dddcff96a33fea987da1f36256347396ea127c45f87481ba1f721f30e32b1
MD5 13d0a81a25bbaf71383563b053c9b213
BLAKE2b-256 fda31c104b222b2c210aae39df9af154d1190f8f94ff52d776082f560270db33

See more details on using hashes here.

File details

Details for the file unicon-20.9.1b0-cp35-cp35m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-20.9.1b0-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.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for unicon-20.9.1b0-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 9e8b6e072a855b0ca9eb0050ac58fd9be8bc711c5835775b75378d1374626ef8
MD5 7227fc21904c6c8ddfc6cd702d7e9ec1
BLAKE2b-256 fe7a20e6a97a9b02b295768a9ae2eb5355d201cd452600c2eafa4bcab2d4b1d3

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