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.

Project 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

If you're not sure about the file name format, learn more about wheel file names.

unicon-19.11-cp37-cp37m-manylinux1_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.7m

unicon-19.11-cp37-cp37m-manylinux1_i686.whl (6.3 MB view details)

Uploaded CPython 3.7m

unicon-19.11-cp37-cp37m-macosx_10_10_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.7mmacOS 10.10+ x86-64

unicon-19.11-cp36-cp36m-manylinux1_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.6m

unicon-19.11-cp36-cp36m-manylinux1_i686.whl (6.3 MB view details)

Uploaded CPython 3.6m

unicon-19.11-cp36-cp36m-macosx_10_10_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.6mmacOS 10.10+ x86-64

unicon-19.11-cp35-cp35m-manylinux1_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.5m

unicon-19.11-cp35-cp35m-manylinux1_i686.whl (6.0 MB view details)

Uploaded CPython 3.5m

unicon-19.11-cp35-cp35m-macosx_10_10_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.5mmacOS 10.10+ x86-64

unicon-19.11-cp34-cp34m-manylinux1_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.4m

unicon-19.11-cp34-cp34m-manylinux1_i686.whl (6.1 MB view details)

Uploaded CPython 3.4m

unicon-19.11-cp34-cp34m-macosx_10_10_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.4mmacOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: unicon-19.11-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.9 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.11-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a407d0269cf424eca95c0d71a55138cf03c226cd1b321bfaded5b28b0679cf3a
MD5 c742a87e09c26f093ccd200a72fe4ca5
BLAKE2b-256 0e348551e4cb4ecc98a5b664c1281018e997e85ec200eaac4d0ff4f2ad7e711e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.11-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.3 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.11-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 58a8bf899a7816e9803da4ae0c3252eeef459917ca33088b67f8e3a990155f79
MD5 f63ffd40d88b86d90b7688d78651d33e
BLAKE2b-256 965d47e4b9be22c413b99e5e2920b0c6873ea8b061af63c40e47bf0542e71a2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.11-cp37-cp37m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.9 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.11-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e7c98fbb7dfbd5a9dd6afa793dc4761c784db39c3ed79a20a17399a307c022a2
MD5 19ceb732969876068fd76ddb23f16e51
BLAKE2b-256 12078928e8ca410c4291348d4b7a9a268c25733a444193d390a6923d3529ba73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.11-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.9 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.11-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 96d30dad375a0f23d505bec0b58e7f412c19ba3d7a89e3fc4538ea09ac5b92bd
MD5 3f3613f8548cce4f5e99e77bdbf4a1a5
BLAKE2b-256 1c4e517d9864a510020aa891ff35d2dfad5effb6feb3d5ba66282b13e4884b18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.11-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.3 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.11-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2aecbf76f486c7dc55b18ca5fb34dcd585868b243912a10db2e4acdb547349a1
MD5 a91796e3a598cefd2f68ff76699404c9
BLAKE2b-256 1edff9504c5faac51301348db2a25c2072ce2363215fc3f06a601979feea8175

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.11-cp36-cp36m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.0 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.11-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 f921dc396702310208a258c51997b29f5fdda20101f41e91ac763fc6bd3f7837
MD5 25c109d5577d9fbaed45ea48cf821011
BLAKE2b-256 5ae2ab0a5dbc27bfdd25491e6a06648ed0146ddad1efc844a67c191bdeaeb5d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.11-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.6 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.11-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 553c8eab0e5a06de3cae455bac8665608f492c0546cb7594f32e9bdaadb1846f
MD5 75c09357fb0b69a09e48cd8e7020d668
BLAKE2b-256 8ca9bf20011ee0047570b360d85b68d29f70ce7992878f58942c3b6b7ed6da44

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.11-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.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.11-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c1658aebe999096dd748384c2a1e24d0c2469811df83b0c9d416ec459612317a
MD5 41e17ed88c8a0390a0cd838d96c7e88f
BLAKE2b-256 202a79195c04396a9d4d16c6bab7ffafb92d0c40b8bccb9c2c555a45732c6c5b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.11-cp35-cp35m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.9 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.11-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 6c28e951c02619b4646a357b636e69015deb21c468025e24af85c60d66a7fc1b
MD5 ef64bc012f43029105be34cba7ab749c
BLAKE2b-256 b0885fea570f50b4394ddb0ad0177a217ea4746212fbf418f27ffbd2f910d8a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.11-cp34-cp34m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.7 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.11-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9c5e04264dac9fc3499a3c11ebb31e00c9a1864685ecbbd195fef3bb1ae3fb46
MD5 8a0e0d67fcb67b71495b3b60a3b2ff90
BLAKE2b-256 71203cd36ca801662d05f3010e039c18493c21e5da8c9a8238f21b05a86efedf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.11-cp34-cp34m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.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.11-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1b8d62809b97bf9c53194c92562d239fb1667144d329f42bbc76d3a2243db75c
MD5 39e070875100734f175d8081fce62f8d
BLAKE2b-256 944f78384e16684dfe475844cb47ba96d4832c5c9d8f80436bba46690fd0adc2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.11-cp34-cp34m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.8 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.11-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e0be4ea2f895db6da98a420982f3a0720e6d31b172bf0963ddf8e10c3df54545
MD5 f0943db3edb7acbc17733a97639fd426
BLAKE2b-256 6a0dcaabf6485644613dc4df17e2d938cd3a4a1c871e35200753b3012dcc1336

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page