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.7

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

Uploaded CPython 3.8

unicon-20.7-cp38-cp38-manylinux1_i686.whl (8.5 MB view details)

Uploaded CPython 3.8

unicon-20.7-cp38-cp38-macosx_10_10_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8 macOS 10.10+ x86-64

unicon-20.7-cp37-cp37m-manylinux1_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.7m

unicon-20.7-cp37-cp37m-manylinux1_i686.whl (8.0 MB view details)

Uploaded CPython 3.7m

unicon-20.7-cp37-cp37m-macosx_10_10_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-20.7-cp36-cp36m-manylinux1_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.6m

unicon-20.7-cp36-cp36m-manylinux1_i686.whl (8.0 MB view details)

Uploaded CPython 3.6m

unicon-20.7-cp36-cp36m-macosx_10_10_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.6m macOS 10.10+ x86-64

unicon-20.7-cp35-cp35m-manylinux1_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.5m

unicon-20.7-cp35-cp35m-manylinux1_i686.whl (7.6 MB view details)

Uploaded CPython 3.5m

unicon-20.7-cp35-cp35m-macosx_10_10_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: unicon-20.7-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 9.4 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.7-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0eddb62116e79f0945785572baf10b42f7bc272e0afc051d48d85619874012f2
MD5 0625a7d0f8ce0ecd3ebdadfc85651115
BLAKE2b-256 cb1c34033d0a19e4385e68504b6e51c9f02dec4888188caa849733dbac330509

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.7-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 8.5 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.7-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e1e1c107b8bdafca3a2d0941edb7d9eaddebe905c1c948080d065b6c8c5941d7
MD5 f38c593969fe108f7120c1abf164c41c
BLAKE2b-256 225eb14c4fd2c2421b783fc770c90d2683e644b9b11b371fbd72718a6e907aeb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.7-cp38-cp38-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.3 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.7-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 794cb00dc92b8c7f00c028034d63232eea8471c69f387e46e6bde5fae6c7aeba
MD5 573fdd25c9f008713913dcfe2ea28cc7
BLAKE2b-256 9d0cdd2486a8909ada8902a90f3067b45a6e66dffb20c7fc147926a3af832f45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.7-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 8.8 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.7-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0a5121264a29acbc11d05f2dba987fc8ce61dc8428536cd7d52a5214773d0f67
MD5 05a00a6b7e989abcc7be3b37ce1da459
BLAKE2b-256 a4d45eff0c37bc0f0a9800a212d3e0232ba6df20e2da26e60414c164d6628577

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.7-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 8.0 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.7-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7b88ec19961830af2777971d6ce90abfc7acf0bbfde8fb287711e70856877829
MD5 8fcae0764daeb5e47fd08bee66125d12
BLAKE2b-256 c48569208dba8f8e5f084e61e0efceab3ab83ed736fb3572227f774ea97f5455

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.7-cp37-cp37m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.3 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.7-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 bf0a802f871e3d415340c7d83da186f81354f2c6d88b17d85e6663411fd93c15
MD5 bb648cdea420567b58f1f8ede2d80012
BLAKE2b-256 fcac004aad9027aac53a99d777095e77df37842c6a1c0731f619d326911ce76b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.7-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 8.8 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.7-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3452e165558eea9ed41de23e6b50d0307ae6992f2ee9370837acf31d88d19ef9
MD5 a000c4c9cfdd4bb5b955da011df15a82
BLAKE2b-256 03dea8be11355fae77bb5aa4d76a952801ebb6eb6e81feb53b3daa74c9d84d74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.7-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 8.0 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.7-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 856bcb55c6c8adb0e1c88e122cb1ee0c4dcc74adef09cdb8b0790d719c78fe79
MD5 f73991d8013b496f9a98c6ff537385a9
BLAKE2b-256 369b10597e9a9e2e682966461eec2f8f948b5a836cbf897de7d50e2e036b8c3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.7-cp36-cp36m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.4 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.7-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 ceb6d26e7b9df5abab89f4e3fa4bec93310bb0b38df4d75887484cf6474d7ef0
MD5 600e5b76f61e5659ad5ff6704243c7bd
BLAKE2b-256 304808e75d887f9feb54248da792e7ebc9e73c214f8b3cfd9c74bd3d978ddfde

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.7-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 8.4 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.7-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0c8b0da27684058bdd5fb01c069ee2f304e598a070b45e3504d9d67ef3bccc3d
MD5 f644160873c2fb6a242f9f91fabfd66f
BLAKE2b-256 833bb85986b86cb96815f6aef854cd936a88bd5acaccc73444b93e530432b8c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.7-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 7.6 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.7-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 fb3567b98057922e718d44dcbe61b717a9477aa435765c76d43c1dc8d4355fe7
MD5 9e9a3b99e5de1a95944f4f1c1f2b279c
BLAKE2b-256 7e26e5df83c376e99742d08ba7c591dff0b566a5bf902d661e0982142e830c60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-20.7-cp35-cp35m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.2 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.7-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 614d0e4ccea8155abb7ff1715e6e475eeb61408c22dbdfe19d8308970fe399df
MD5 5c35f2895ce2a933d0f8a96cf6a5db3a
BLAKE2b-256 56b115b199817bfb7b0f2890288aed0bbe55c3209be77017cdf1d1a9dc9ece60

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