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

23.5

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-23.5-cp310-cp310-manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.10

unicon-23.5-cp310-cp310-macosx_11_0_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

unicon-23.5-cp39-cp39-musllinux_1_2_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

unicon-23.5-cp39-cp39-manylinux2014_x86_64.whl (11.8 MB view details)

Uploaded CPython 3.9

unicon-23.5-cp39-cp39-manylinux2014_aarch64.whl (13.0 MB view details)

Uploaded CPython 3.9

unicon-23.5-cp39-cp39-macosx_11_0_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

unicon-23.5-cp38-cp38-manylinux2014_x86_64.whl (13.3 MB view details)

Uploaded CPython 3.8

unicon-23.5-cp38-cp38-macosx_11_0_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8 macOS 11.0+ x86-64

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

Uploaded CPython 3.8 macOS 11.0+ ARM64

unicon-23.5-cp37-cp37m-manylinux2014_x86_64.whl (10.5 MB view details)

Uploaded CPython 3.7m

unicon-23.5-cp37-cp37m-macosx_11_0_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.7m macOS 11.0+ x86-64

File details

Details for the file unicon-23.5-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.5-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aa78fd55cf842edcea7d974299f404a811a8603bec8b2fd7f5cdc1b23e1eb8b6
MD5 7e63f72a7ccc29f7cbeb193c4ff729fd
BLAKE2b-256 57f834954a0077e66af5d02e5964c9beaad63d8ef1f3b3fe9afcc33fafa34e72

See more details on using hashes here.

File details

Details for the file unicon-23.5-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.5-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 c31969f46a2880b22f33db6be395b8bc4619e1523ac487c08294282ecdc44a2b
MD5 0fa6151d72e7ce13d410978b0f852465
BLAKE2b-256 216c9da153592bc8005d6861fd345f442dd2c5e8fc0904a5a086467df9c26ee9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6e31dbd7c6562e8ed47abfb81e8a5ff28805bc59db019a09af2b1a2285705d18
MD5 1e40dfec796532564453d340ebc3878c
BLAKE2b-256 ae2ac407052020042563847c81045c320466c4ba9157549b5b7a28c08782aeeb

See more details on using hashes here.

File details

Details for the file unicon-23.5-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.5-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d6af2cbed726fc359cc09eeb69c63e5c97642caef314b64629fb6a8cdb9ede5f
MD5 f0ef889cdcfe25c791450ef9fac3e8fb
BLAKE2b-256 d30f6f71b0813e734e8191805e623e19b49b7a7d260662b8edd0ac388b18d6de

See more details on using hashes here.

File details

Details for the file unicon-23.5-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.5-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 774feadfdcda2328ed3bb41114d88fc0c5b3ec0b8ac8aba70a3bb8fd2913a91d
MD5 b1e8684982b2147171cbbb42cd3f5dc1
BLAKE2b-256 0affd452cedb695de8450762700fb4954e88a375d1e3c982e369c69b9c15641b

See more details on using hashes here.

File details

Details for the file unicon-23.5-cp39-cp39-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-23.5-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c0f72ae870a1be80f7779236a2d0d33326a4199dde3af1892e897e5a6f2012be
MD5 7b88512a97ffb2d98baa2f6a40e5b96b
BLAKE2b-256 27ecbf5bdce50b46bc79b90b128c722c59ce2fa8f5d9d8df2a32f68e9b80b20c

See more details on using hashes here.

File details

Details for the file unicon-23.5-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.5-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 56ce588df0ab880a6d206cc67b01a5a4ea887b1643645937fffb87619624cf25
MD5 bd6fcd9e8cc3f24024fca4bc50fb9361
BLAKE2b-256 2f8c076ed4df9446d1bc2f74b7af06776b0b6769dde5ade0f6fa5cefb1120cb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.5-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 01b486b5f1446f0c7b0f8464453ee9b9dd0c9cf944e312f3a61e81bedd0d2646
MD5 b109a2f9f29aca0818f47dd4ec9a3e3b
BLAKE2b-256 8f736c667334e4d2f2f435e5b5f32580377c453d31fce03e1548834bd417fb6a

See more details on using hashes here.

File details

Details for the file unicon-23.5-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.5-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a45bb6cacb82e40172067ee0cda2567a2c84dc1dfc97f4ce8fae5eef556733f4
MD5 433bf6febb70cd27a9e1a00281bd4f11
BLAKE2b-256 abcf7ed754a4d8a0150c2710b62080c7be1aa576938c4077214d36cd4428b723

See more details on using hashes here.

File details

Details for the file unicon-23.5-cp38-cp38-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.5-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 70c0d37510a21ec065e8d1372af013502ef209456aa74618b946077aebda694c
MD5 a106804acc9143fccb0628a8343a316f
BLAKE2b-256 49d7487867555a317b040e8420cfe94057d4119cc9e9c69d90cf2b5eae93220e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.5-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f7f74cfa8cee68258fcc3c5ade9f087cd3f2823955debc9c8d59c8818f014e01
MD5 94468b9993c470c6040f5aa1aaa19302
BLAKE2b-256 381294ed26650c235d65a63b15f14034617044be97f31eb05d2114d106ac4cc1

See more details on using hashes here.

File details

Details for the file unicon-23.5-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.5-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a0549d4314287be0aa7a292f8c839ff7987969198286cfde553891ea2685a3b9
MD5 60f19fafd930bc4b1bb86afcc0a97db0
BLAKE2b-256 04118476ef4baa2e4ab9829ad4fff6cc35af89eb147544f0fbc3fa2eb5b1c974

See more details on using hashes here.

File details

Details for the file unicon-23.5-cp37-cp37m-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.5-cp37-cp37m-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 72217b07ccb164fbac4a233abac4cf032aa702341c1d841b5c552a258957c313
MD5 5e0a6dc16b098fb9ea837bb9791b0565
BLAKE2b-256 fa786b96bf17e0e0e41c5e41f687781483ee88aaecb82a1af1404f8cba14a185

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