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

22.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-22.7-cp310-cp310-manylinux1_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.10

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 macOS 10.16+ x86-64

unicon-22.7-cp310-cp310-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10 macOS 10.10+ x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 macOS 10.16+ x86-64

unicon-22.7-cp39-cp39-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 macOS 10.10+ x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 11.0+ ARM64

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

Uploaded CPython 3.8 macOS 10.16+ x86-64

unicon-22.7-cp38-cp38-macosx_10_10_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8 macOS 10.10+ x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.16+ x86-64

unicon-22.7-cp37-cp37m-macosx_10_10_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.7m macOS 10.10+ x86-64

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 04122cec447a16029450121e51b34f41c9be1ad28f73e15ebb337dde11c49cfa
MD5 de7668f9c1ce9dc0118a94f95e54b084
BLAKE2b-256 08d8d5b15d1a9e7d3e0f8f2fe68fa5ed3939764bdd92d17893bc77f070433b84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e9ad98f25aff18eb4bb8192ddf6c0e575dd5145b8c20a50fcde0cc137353ec0c
MD5 9170ae74942177cc261192ea61462d7b
BLAKE2b-256 0352700fb7b44253f0a9bc4c3365db13dfebeee98ff11171a60f01a0a84fb373

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp310-cp310-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 64bdead37b23247d404468021cbff9b877a69d667053c8a17b0ded2edd91ce7b
MD5 5ae327782d3814bf0ac3d74a94fe8838
BLAKE2b-256 02e0681221817b207a67aefec7b07c5fbc4c0fa68ff59d8899acadc99597470e

See more details on using hashes here.

File details

Details for the file unicon-22.7-cp310-cp310-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for unicon-22.7-cp310-cp310-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 8fc159d22a7e631407f866504042b02f6502cde2dfc357cb638486b0139bd2d2
MD5 d03895d87dc4c4b68c9d04f6ad80c79c
BLAKE2b-256 165e6459b5241dd14d1c0d1502578324756c94c51f62208b9bce62769cb0fd63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 21feadaa4c96f505265edfe11efddd36e4b2a8e9d09e601e47607a906d146ab3
MD5 6863a435163eb1d8b89134f3570af8c1
BLAKE2b-256 79af70c16a957ef2969fa860fd907768a97ce1fd5137de44fee312f720064129

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d4348f5121fdd9343bd0259a22965e3033da74f5eac9ddfce35ce954ed988bfa
MD5 a1999d7c3b0721b1df432ec13f0343cb
BLAKE2b-256 29b473789a035f6b7648877fab53e96ea28ef56226d621c2a1b9909a6098c9ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp39-cp39-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 9bb9e588eb8cca2ab64eb0c4429a993385ddbd988a7d1196ed7c3533b48999f9
MD5 c12f0658b23659670488fe31de8081ad
BLAKE2b-256 9afd95940da4b8726542f4e68ac8f84aa6447dfd35e65833de091cbea3212368

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp39-cp39-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 7944a8b464e23952aa949e8f211bb117cf7c7ac1be066a63e8122d25f63d70a0
MD5 2ce3777df5dd000f3aa63adde4a51178
BLAKE2b-256 5c2d3b12033fe12f99d8c17fdf3efd8091a0877189844f7df2c3a2a8eebafc5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 77c87275b2113afa7d73b011fb7e9c657082d3ef2fe30daa595c80debd872063
MD5 1454db4751b8f27fbac6c725b98dffe5
BLAKE2b-256 3878d590336cec2bc155da0e1aaa0007f10cbacf817dd3aef149cf85f6e6e92f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 110ed7f3a18231f28589b68eab67e2cfa667ac41a800e660b593ffaa2ac43a93
MD5 7ccef1f3b5e31ea0d494ead71d4a23ad
BLAKE2b-256 f74ab735dca5269cb0a3bc53e8b1688c5ed9969434cabfbfee521d2716f028e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp38-cp38-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 ebb3ec1dec1d2ffcb38c58e265b92f99941ff5238fa3a1792be2bbdbcebad467
MD5 1b639e1f9150cde653e8bc729d105cd4
BLAKE2b-256 22695e78969068cb80b50297595d49cfdf73e8e3d003cf1faca5027dcf7e418f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 29c2d20ebd9800349c5d69794fea23795112b6dddae392736e127b0e2c7cbcc2
MD5 a7148c672d4a2d5412dfa3252c09380f
BLAKE2b-256 2383f14db8e0ceb00bd0b7a47e2043903d4a08cda068c6a55c36b1fe8def5018

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 825c97a694d8a4187c1fc468624c0a2014cbd81f7d6982e268442a03306b55ad
MD5 b419f897460b51ec27646a292c2b26b0
BLAKE2b-256 085efd974cb174b1e4a9e57c79b0894d983a075e7c55a2a2ea192e1b6902d0cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp37-cp37m-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 90fe634b9681fbf44c141db3b32ab879e56b863b1e4e79453d1521ac7d5c375f
MD5 c2e1c0d7099af7c0875827dcf830c713
BLAKE2b-256 d5233f69847045f08bdad7aa311be546e31619990e337879f56285457ec8dddb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.7-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 263716260ec504ff62bf3023efe58bbaf40e27230931898d1bfb41be537983ae
MD5 847905bb01a3c1eb3798737dd1b863ec
BLAKE2b-256 deb2bfa7648b19a91b16dc107db6595d9ec9a15dabdf57e4bf73178d0545a6f2

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