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

21.8

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-21.8-cp39-cp39-manylinux1_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.9

unicon-21.8-cp39-cp39-macosx_10_16_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.9 macOS 10.16+ x86-64

unicon-21.8-cp39-cp39-macosx_10_10_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9 macOS 10.10+ x86-64

unicon-21.8-cp38-cp38-manylinux1_x86_64.whl (12.8 MB view details)

Uploaded CPython 3.8

unicon-21.8-cp38-cp38-macosx_10_16_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.8 macOS 10.16+ x86-64

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

Uploaded CPython 3.8 macOS 10.10+ x86-64

unicon-21.8-cp37-cp37m-manylinux1_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.7m

unicon-21.8-cp37-cp37m-macosx_10_16_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.7m macOS 10.16+ x86-64

unicon-21.8-cp37-cp37m-macosx_10_10_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-21.8-cp36-cp36m-manylinux1_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.6m

unicon-21.8-cp36-cp36m-macosx_10_16_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.6m macOS 10.16+ x86-64

unicon-21.8-cp36-cp36m-macosx_10_10_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.6m macOS 10.10+ x86-64

File details

Details for the file unicon-21.8-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-21.8-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 11.4 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a7ff2ab94fcf25d239c9f51fc0882c0e30dee7f9628f04a43fa7ab0c4603a313
MD5 604d53b10a334e063a279d43cd711028
BLAKE2b-256 087a27b4cfaaa8918397beb139dac1e9fc8081f902e73675815ea1e8d3bfc762

See more details on using hashes here.

File details

Details for the file unicon-21.8-cp39-cp39-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-21.8-cp39-cp39-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.9, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp39-cp39-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 5c2e0aa6446bc9087dbd1ee09c3a14913e2d5872fa7b4b7b305e72b433e1685e
MD5 e376a24fdbed2216f84f07d39c94bba8
BLAKE2b-256 1bb123138f0790d2bc2d348127f42e504db858cd0d17fb5dff1a25a9a13e84af

See more details on using hashes here.

File details

Details for the file unicon-21.8-cp39-cp39-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-21.8-cp39-cp39-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.9, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp39-cp39-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 31263245498fd6aaae76dc213d67c9a8955926039b2c3b28d1684f3b40ce9e01
MD5 469aa861ffb5e529acbdb992742ff165
BLAKE2b-256 574fe54a349060dfb12e5cddccb3c577f44da89c265418eaf7dfee24e7db29a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.8-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 12.8 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d8e96226b19c5470c307e20dd7266672195ba23fb3e839a60e5dba24a0df119c
MD5 1dc4de4ca063f0bee99edd36e07053f4
BLAKE2b-256 54fee823f6b86b0f1d3a884bd317f899ee863776343e23dc7b241376bf5627f0

See more details on using hashes here.

File details

Details for the file unicon-21.8-cp38-cp38-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-21.8-cp38-cp38-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.8, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp38-cp38-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 d3197ff81aa6475e1f05f8927668d1dc279736a068d8ff700f2deb02ef0f4e46
MD5 db980834257fe30049b9a0925b83ce71
BLAKE2b-256 1ff91414419e946d711e0b15c154141f656ab93f0a9e1b0f4583fd0f64393dfb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.8-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.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 5cd1a2bb8a8b7fb75366a87a735f0fbec155c73e56e0a83385ea30798f81f96f
MD5 f3b0c3105ab47eb294fcda3665a867c6
BLAKE2b-256 cd4313ac4e886c0db8c19deb80d5b707ca185d527c83b29e94c2c39be1f714e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.8-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 10.1 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 09097f2102b54d1ac71a411e1af5e38ebdfc10915e53c409de9488d93c233b68
MD5 42c4aa756cbc8dc2a40e5832929f0247
BLAKE2b-256 cb0070111abb03cafc598941936e64d6ed4e580c67db2a97e02ba5e774a0a4e5

See more details on using hashes here.

File details

Details for the file unicon-21.8-cp37-cp37m-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-21.8-cp37-cp37m-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.7m, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp37-cp37m-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 eda790d1b36e6865aaa60c85edeb08e4c1580e4fe7effd1c078b98e37b7cb1d6
MD5 74d55c2c412b0a43c29f72b1dcd5633c
BLAKE2b-256 3cab7f2e2c8441be30e7d1a47a450df19b5a3c06200a0ec89dc0f85792629a77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.8-cp37-cp37m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.7m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 27aa6c59509bd66e907d0e4d1a89fc1770a04d65377b2e8188bb51cd25dd2961
MD5 fb2f31fa1ee9c7d7dedf38e09e1bcb3a
BLAKE2b-256 7713d161f3821a65bd3d44cc7a407aed2f293fa27fb171adc9082e5275762072

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.8-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 10.1 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2e2a846c1c484cf8529aff2066126b0d3ef484c762e59e20825ee56e0a3a7084
MD5 524ea968761df8129f4622092497db11
BLAKE2b-256 2f33143148183ab5246de5eb32a8ca39e10fa517b518aac50c6b8e584d77ec87

See more details on using hashes here.

File details

Details for the file unicon-21.8-cp36-cp36m-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-21.8-cp36-cp36m-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.6m, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp36-cp36m-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 61a6c0d177f615c84a005099c493569c04aed0a8e1c920cd1081dbfad3ef703a
MD5 022f332efd33650ac9d7a10536966787
BLAKE2b-256 c747f7e2e7e53dc037d9c3f674925e8b05b8f15fc4a465333101193c4b51af33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-21.8-cp36-cp36m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.6m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for unicon-21.8-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 cf6bfd82d1a3095453586d2ec56265a4d116099724297e146437192276322956
MD5 5e7059871c23252a73dcb8e48878067a
BLAKE2b-256 a8c7a78153688d96612f19b6015bd0d41dccf07d6b304859470a745ced408fa5

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