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-22.11-cp310-cp310-manylinux2014_aarch64.whl (10.5 MB view details)

Uploaded CPython 3.10

unicon-22.11-cp310-cp310-manylinux1_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.10

unicon-22.11-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

unicon-22.11-cp310-cp310-macosx_10_16_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10 macOS 10.16+ x86-64

unicon-22.11-cp39-cp39-manylinux1_x86_64.whl (11.8 MB view details)

Uploaded CPython 3.9

unicon-22.11-cp39-cp39-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

unicon-22.11-cp39-cp39-macosx_10_16_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9 macOS 10.16+ x86-64

unicon-22.11-cp38-cp38-manylinux1_x86_64.whl (13.3 MB view details)

Uploaded CPython 3.8

unicon-22.11-cp38-cp38-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

unicon-22.11-cp38-cp38-macosx_10_16_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8 macOS 10.16+ x86-64

unicon-22.11-cp37-cp37m-manylinux1_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.7m

unicon-22.11-cp37-cp37m-macosx_10_16_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.7m macOS 10.16+ x86-64

File details

Details for the file unicon-22.11-cp310-cp310-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-22.11-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 de1a37298987370913b0eb08291ce65be42de994d64375131e410e5c98cc9f08
MD5 69c71c7c09d013c0aaca8bb202c98373
BLAKE2b-256 97774c2206f59eb8aeb3a27cf3c73c31c93c8d6bddc6be0633beb71e591eb020

See more details on using hashes here.

File details

Details for the file unicon-22.11-cp310-cp310-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for unicon-22.11-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c7216aec70d783cbbc9addf6dd3a73f654291cb8646f3096f3b6741879f06d6c
MD5 5c4d2c330608be3e5330ed7e2392c9e0
BLAKE2b-256 4167a4546dd65ebb702542b7bc2c27413126db629934c955e7c09558737ac241

See more details on using hashes here.

File details

Details for the file unicon-22.11-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for unicon-22.11-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0fe4c9c85ae18f5858bef2ca1145440acd2645cba754a0af19c28342fc83111c
MD5 a5f7689f4ce013a2eab2762e324fc883
BLAKE2b-256 c40165d092a5118da0af17529c8b2dd731f2271ba78bb90796f82a1de70e3366

See more details on using hashes here.

File details

Details for the file unicon-22.11-cp310-cp310-macosx_10_16_x86_64.whl.

File metadata

File hashes

Hashes for unicon-22.11-cp310-cp310-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 d9bc64cfee9652ae3446887168c071d2ce81fc44a337d571f0e1928661e81d89
MD5 af63695c5ff00d731ab020dbc9276a65
BLAKE2b-256 ccf7fedf8a4490f80d695629c5d369b5def6202231395625557e40d02b4c91d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.11-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b85cb85110a3dd0e8df0d7dc66022df5ce8f7da2308ca447fbe04af3047a9088
MD5 634c79a4e124fd2bda83a1bd26284c1f
BLAKE2b-256 5a004798557f9950be8293761a1b7f850b19320e676ace9f9e58cb218104f78a

See more details on using hashes here.

File details

Details for the file unicon-22.11-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for unicon-22.11-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 45daf510e4d8bf09e9ad352f9b7431e2f1b21472c5bfbfb16e4774b27e1ffff1
MD5 cacffa4e6e8eab1424db832f57d03f52
BLAKE2b-256 70e5501613bf400824b8ef7d502ecb01e895b72daab693497362359f9043e30c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.11-cp39-cp39-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 4f1ceba9cbc606fd17da5c2d5478a6ccddbdbc9ac9e786e8acb4d77e68c453a4
MD5 a87eb1d3612fbd8d8245ae99a9fa664d
BLAKE2b-256 b66d70519f3f01770b437863368c4d8c8a2c73c59cc42f4fd91d7ff7560ea770

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.11-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 da321bdb5eebdb16bab4248af56fe58b0a5ffaca5ec6bcb28f5f373de110424a
MD5 1232c6b68776e1ec194633a93711535f
BLAKE2b-256 32921ec8b00e71af5e6e9291308768577ab547ad16eb637205f48732ba100f9a

See more details on using hashes here.

File details

Details for the file unicon-22.11-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for unicon-22.11-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3905104fcdce390a0153cebc0fc8850d6f4dc5e4811c5b30e3dc621a6e61e87d
MD5 71f3eb732e6444b35cd62a2f8af0cb1e
BLAKE2b-256 f04a3fa9ce83309bb4f05e42b34fa9d4a908aa8326e29eee0a2cc4e132ca085b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.11-cp38-cp38-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 dd2f449e724797a79b5804d551eaa1b07f8bb717bb056db936a1d59d14aa4904
MD5 7494621f02dd79bfa3b53c88f698d230
BLAKE2b-256 00a9e26c5e8a473ec636c93b46bf35c38c2ba6176f0abd5aabb2325b14503f7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.11-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 eafa38666e94899fb0b31045596c67db261f5c1c0655a9b55a05fed56561ea3a
MD5 8e43901431c49d6c85056a3c20141335
BLAKE2b-256 3d34bb7b07addcc02f54222d55f64b5020361f5ac38b3cfe155859f03b2a47b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.11-cp37-cp37m-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 5fcb84d645296cbce7764cdbf01569d96b8ebf1514ac6f5aac296175cfc522f5
MD5 7fef8aa82d9811f8374e79816abbbe4e
BLAKE2b-256 81f10724c304aa334f7d680bc8678a91e8120176d1dbb629c91b64ccafee595d

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