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

Uploaded CPython 3.8

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 10.10+ x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.10+ x86-64

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.10+ x86-64

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

File metadata

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

File hashes

Hashes for unicon-20.8.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 46854de0f0b1aa0680a6916fceac327f1b4e5738965f9be83ffdbc9d6ceea1fc
MD5 9785a232f459acaf52a10262db9c5f49
BLAKE2b-256 796e9cd52d368f9e5c316e424e1bb21884f34afa43e3cb261d9920d136c960c6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.8.1-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7ddc12fc3de77af4e1286cd841671f0f3e41daab0541b81fb4c89b3dd3a0107e
MD5 36aaf7e539e889a6c56966690d0751bc
BLAKE2b-256 21be098cf1f7a7181939f7f52118cee7bae34b3d18246522373030abc3a897a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.8.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-20.8.1-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 3c6ab88da01d7ee60a5632a9fd2c9319bc9a17277d6a392431aa69ca0a66e91b
MD5 4c201b8570addad33e4eb0402a14d2d1
BLAKE2b-256 73ed3088169a1333f4376007d0fccda29fcc25832eac1b8300ef99b79599118d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.8.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 18a3b2adacd2946c2b485c84f43864276a3930cdf34cd3d1a3ec60a5b569da42
MD5 eccf5c7704cdf75ddc9029ec4d814a10
BLAKE2b-256 f2a3b02f91c89699be65f4fce994506265bf2e512900760dd38180854040395e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.8.1-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1142fafe87141f63e88feb366a992df777bf46fbc18f9265166c8f1482f4b4cc
MD5 ca253e5f16dbbde14bddbdd790e6f107
BLAKE2b-256 a66fc452587bb1a2aa34709b4467e892e7015f01a2c807ab8404d530b388024a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.8.1-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 675df0d9b9816d1054f427183898a8eefecbc30027b317cf031916d1a921070d
MD5 46f3df96946ab6841a4cdf21d58581dd
BLAKE2b-256 bf6d43f6fd26e9df5be4aa6667607600d5ebc53583cfcbf306eb0278425eda19

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.8.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c66b4a313fb257f74b5fdb8624d9acdc04b798ad826894329662d11c28b310c3
MD5 7b55daaad2fa0caac8c327b9243ae63c
BLAKE2b-256 674f938437da0c6711a6ea7e9c520a707d6f8d39a31808320b27c3979ca81e8c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.8.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 910ebd6098303511c707fa19d48485cf457031e77f1575d6b85cc0194d44c936
MD5 e1524f5a4c415f0d6690b1e8aebf214e
BLAKE2b-256 2b10a0ae96586352a85c360705bf7b6431ca6bd1761d24c6b3810be2e9340b04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.8.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-20.8.1-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 cb5ffbb6661d105fafa7fbe06576251b949c616303fff191af582b785070261c
MD5 b610b269185c2c3a12aa47a2bd6374eb
BLAKE2b-256 c2d4cc4055db8d0584df4fb838103faceac72aeef22fc294ae1cca1e5a41e9d2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.8.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 82193ef43c43e77ebd4d58a79d5bec1821b120b404d81140be13f26a14ff6547
MD5 d9cf1e817874ce31b183fa60064abba5
BLAKE2b-256 cba80a537ec0665cc06d1f9cd41383f98ed78f9ad78e8c43184b1917338f5c21

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for unicon-20.8.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ace5ebe7efa2381787c4d77553a72a46a6e498480a66bbc3cf27febbb575b84c
MD5 4ded7fbfe62b8e8d719891eb42a2f407
BLAKE2b-256 9c4cd23e6d4014ae4c35c33c91308c0b95e7223398dfff7db3377e565f5b3baa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.8.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-20.8.1-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 f698a92f41315904b6f9dbb37c8984d1e27376029dedf222d0f0d09184e46850
MD5 8697bc73aacf9746f1c2a03c116d91a2
BLAKE2b-256 18c381ca756cb72d9c03bd199674109a85365fdf24163f9a494b96de106c1acb

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