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

This version

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

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

unicon-26.5-cp314-cp314-manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.14

unicon-26.5-cp314-cp314-manylinux2014_aarch64.whl (15.0 MB view details)

Uploaded CPython 3.14

unicon-26.5-cp314-cp314-macosx_11_0_universal2.whl (5.1 MB view details)

Uploaded CPython 3.14macOS 11.0+ universal2 (ARM64, x86-64)

unicon-26.5-cp313-cp313-manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.13

unicon-26.5-cp313-cp313-manylinux2014_aarch64.whl (14.5 MB view details)

Uploaded CPython 3.13

unicon-26.5-cp313-cp313-macosx_11_0_universal2.whl (5.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ universal2 (ARM64, x86-64)

unicon-26.5-cp312-cp312-manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12

unicon-26.5-cp312-cp312-manylinux2014_aarch64.whl (14.7 MB view details)

Uploaded CPython 3.12

unicon-26.5-cp312-cp312-macosx_11_0_universal2.whl (5.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ universal2 (ARM64, x86-64)

unicon-26.5-cp311-cp311-manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11

unicon-26.5-cp311-cp311-manylinux2014_aarch64.whl (15.6 MB view details)

Uploaded CPython 3.11

unicon-26.5-cp311-cp311-macosx_11_0_universal2.whl (4.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ universal2 (ARM64, x86-64)

unicon-26.5-cp310-cp310-musllinux_1_2_x86_64.whl (15.2 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

unicon-26.5-cp310-cp310-manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10

unicon-26.5-cp310-cp310-manylinux2014_aarch64.whl (14.8 MB view details)

Uploaded CPython 3.10

unicon-26.5-cp310-cp310-macosx_11_0_universal2.whl (4.9 MB view details)

Uploaded CPython 3.10macOS 11.0+ universal2 (ARM64, x86-64)

File details

Details for the file unicon-26.5-cp314-cp314-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp314-cp314-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0956040de30556d5106472fbba3239c66f09e22aac472be70bbd5481b80e04be
MD5 35cc9dbd307a093592b2a3d4838b6bf0
BLAKE2b-256 9ae4abd153160ae0544751431271754ca8ce0605bfecce2fedeacd794a80d763

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp314-cp314-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp314-cp314-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 02554cf721eb16bee58a78fda7548b43579f851798cae4cf6ca08fd761cbfa87
MD5 0591a362c5f8598d558b70007f82fd32
BLAKE2b-256 576bcfaf8f684c9f61f44b147cb904cfbb766c562255d8d186a3e17f541bf480

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp314-cp314-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp314-cp314-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 7d24a696fdab15bbf7d17d25cced5ccae71199fae123a2843dd29e14832f2db7
MD5 6f2a518a1dab188b760cf8f493806661
BLAKE2b-256 160bab71b86e39d48079bb8c80a98b8c08c3c5f087ff94230ec0cd651ba8266e

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp313-cp313-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5515a68b4d7a4a8d5b992b49160e7c3bcef9237c40774d6e7d2ebe0d50c35faa
MD5 3c07bab8586276a63acdc1ab8f9eb6f7
BLAKE2b-256 6c57af5c944112fff2c26706399be9b7ffb9bcee148823540306d4ff2f34bd20

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp313-cp313-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 01bd712f07a2b39976b82dbb677f1622ecf758ba2c389cb29b5b68d4a32ed3b7
MD5 7ccfd1bbe92bbd46afacde1108177416
BLAKE2b-256 1860d87ca803fcf2a7a6f399a00eb962783c8c4336bba4b5a13d56ac64032232

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp313-cp313-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp313-cp313-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 e2997591a90335a018274e9fad6885fda400c1c615e5db4b78b4947e35bf952b
MD5 1929ab04fe04da88d323a25a3e3734b7
BLAKE2b-256 4539c7ae1da88a216f73089c4b9af621860bb3c2f003d93ce296f60f64301c1e

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp312-cp312-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e71f9896acff80c78258f19e4dacb047092271c5ad249f1a92c9fe21410e3a9d
MD5 a6a11a5c16ea587cae59aee310a2e57b
BLAKE2b-256 f2a43b1f5574653f190d2b487d36c1ba7df6e30d56c5fbfbbda28ded0fff79a3

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp312-cp312-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0a662fba41c9adf895c98ebc66bf100ea8d8cf7ae3c8d5b275a156380d7f07be
MD5 12e95c2c3d5eb7df94eb448fffec4adf
BLAKE2b-256 1acff9a805521f342d0afaaf901e0c651a3c3f8c7cc290604bd1c12dc2b80acd

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp312-cp312-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 c367177954d36e62c961f587288de6149783e8f020c31a81b7bc4f37e36b8e16
MD5 4541f3ef10f766272cbe2fd30fece4b4
BLAKE2b-256 2fdd0cc71b65d69811e962f421805cd9b0471378ed6747dd4785b648b77897f3

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp311-cp311-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e7182f9c0e01529927c252700cd1cdd313d457071c3e2c0c6033d049cf68174f
MD5 cd54c673690dcdaf4ea0134a7e456d1f
BLAKE2b-256 a8b3dedd0117d484be96799b9df8b1e9caa529257c42310cd90d4a00fa5f29e4

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp311-cp311-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a8fdc09986c045f96a70fd5f9d8a95e408ad37b49aba53ac8d49640e315346aa
MD5 50f057111b67c3b989db7c36f59b4105
BLAKE2b-256 f5dffd8503b79ea95968957209953bbc0169968f110057af2355102bdb001085

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp311-cp311-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 70f526bdb391a0ccd23c608286e406c2f6de60a0c2af2f6e9ae6272f7bd482e5
MD5 eb912a9e66349ade6a0133e810d18fba
BLAKE2b-256 097b5fe831ebb3b6e0f941575741d285b4454d0722e178f7b5266b9be8136904

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a72751f4e41825b17502333332c304225d76d7b9e42b398a30c7f971fad2be4b
MD5 005a3abf79a720561121e611f3d28339
BLAKE2b-256 842ef3bb920bd7b2f5903d04c1108abe0a1df2402db49f235da2ef8a21a48906

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.5-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2c616b9e22c98a2d7f243476a2555816ea5f53060c68c03bd30a284ef3f73361
MD5 10afbaf620b68a370ee9479e0243a95d
BLAKE2b-256 b50979c234f42d9baf66b38e3921a2f068fbadc7853c7d097891c6078641b161

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.5-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 09a4fd04c801dda3ca95a57223c987581bb78a4a3fe066afdcde95ae19091c99
MD5 a832501762de37781e2ee5850a1ad9aa
BLAKE2b-256 0fa5801ffe8f10961d25f5cbda79823c8bf13aed797e1c0345a5b66feeb0887b

See more details on using hashes here.

File details

Details for the file unicon-26.5-cp310-cp310-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for unicon-26.5-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 81dd3ff74996cf6fff9f609cc25e12967c51ce6151ee1227216a8804dc530672
MD5 4dc8fc9f9e43c0f7236e930d09d91f9b
BLAKE2b-256 47b6bd4ff16c2a6359ddfef25eeaa5346af48ffea8999212745ff49f24c753ee

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