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

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 macOS 10.16+ x86-64

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

Uploaded CPython 3.10 macOS 10.10+ x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 macOS 10.16+ x86-64

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

Uploaded CPython 3.9 macOS 10.10+ x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 11.0+ ARM64

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

Uploaded CPython 3.8 macOS 10.16+ x86-64

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

Uploaded CPython 3.8 macOS 10.10+ x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.16+ x86-64

unicon-22.6-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.6-cp310-cp310-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for unicon-22.6-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 46975d339f8d3d21f7cfe6b2d225cf55e0ca1ffa35bc319eb0406393ee591692
MD5 20ba301a1cf10e2b662077f5b87f1aff
BLAKE2b-256 e52fd4495ee74bfd7de25c5d802306def9b753f43e4120441119f61e32234760

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 21f33850db4b38fc22230207228815548d0f3bbbcd30ba498f2138c5d5bca8f9
MD5 a9388a705cab783864ea78628e2fe2bf
BLAKE2b-256 81433897a8e2c33ed5bf878cf0c89974d030ae30b48d76a0cf683e965d590fea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp310-cp310-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 00bc8cfe9a9dab682a8f2aeff68729624792df956c5298ddfea8edb5e506b10f
MD5 d1f7e528e70d45d650223a7f69220d7a
BLAKE2b-256 c06e767d76338f17cd8761236812aff0202aceadafb31eaf9879d87d545d79e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp310-cp310-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 80706a3b86d4798b8ceb98831d880340781954e7cdf08ceee083b400f8d5c6a8
MD5 e7c13912198f6dbb150cbbc4404e54a2
BLAKE2b-256 2e050ae577c249aae0ee9cacbb2fa59a9cac8a9ca7383ae1b5f87455f2302a8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b38263bdc1f26764c5030ccca166e3573f9ca1eac7060b594d6f11af242e5350
MD5 ed116aab6a5e53bd4613cdcbd85f6953
BLAKE2b-256 da0446a353ba546b1d53d93fc05d05d345485e129ec926e3886366c68442fde1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8eb1148a4cf44dcf8ba541288271eb311d80ff2cc17c9a07b064e66a02db3d82
MD5 f2b0aba12dc361fe98f7d4f8265d0097
BLAKE2b-256 2e09c56f6e0e03b78ffd7ecf79f0ae44fc3db9d3abe821d5f99afbfe7ad45913

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp39-cp39-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 73a7d41af0bf7ebc7ef803f765a6febbff81ac0bba230df1c8b91b07e7ca12e3
MD5 6f604fbcc56db48eea5efa26e76c344d
BLAKE2b-256 7ff98de417a4fd29139fc6ef3e7b3e8256093b3a4716ccc44fdb26a18abf8b66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp39-cp39-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 bd32952c99f320ceaec4667f46b8bf082c90721951f595bd2b17f4ea6ec6f8f1
MD5 679ceb3f43a40c4dbf5db3299fb54615
BLAKE2b-256 5153d8d76ae6e7c265c4919b77c5a10cb460ea29f3b821a32ff61e49d302ebed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e03424484ed51548eddf70564ef627d6245c4948aa9e5eca8dbb978eed1c47b0
MD5 2b7db49f763df4826d3fd5821c3a7b21
BLAKE2b-256 29a529e8e3d59d44d3a2fb59cdf1abc1fdf353cb21b4015da15770dee69a8c69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 98ae91f2aa9f26490e16981f8e7bde295a8a81212e6221cb1bb11bf2159f3ed4
MD5 9d94b51e8cc224a3b544d85a8c5727be
BLAKE2b-256 b602dd42d0793f5c9d2b7323ae70de86590233f4b6332ef905c34afcb4b6a8d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp38-cp38-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 f334cbc266fdeed06740f51390a2cba8b0025fccbaabb27e984713a38baf15a6
MD5 3228f13e884463179a305d9b6badf19f
BLAKE2b-256 7f42e2b405c7bc770c560118e0cfeb39a7a15999a90d5cafa62f5ebbfe518daf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 918c98817bc7b9e7e0a95ea4be6bc56e342d438a93429ee4a55c5e60ea5baea0
MD5 9a868e68f05078de982ce41e9b3a0511
BLAKE2b-256 6fad3f97de33aa37ef978b6e99a380eaa4fc3a3257f424991db39f0901225867

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 120a557103223f3878797f09649ce0282212cf13f5dce6faa61fbbe2a74c22bd
MD5 be668301183209edeee53f60fa59dd36
BLAKE2b-256 ce742ce95f870462370bf8667a4d731fea3254f3d713524285b453eb295a6b10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp37-cp37m-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 ea7b8e5e8945af9fd6ab24f1a17dfab3e4aecb4970999431e8ffaf42faac2151
MD5 714ff88d1337306eea15f09826db3814
BLAKE2b-256 16439029810437d6da50d82fa92fff15e5d35470fb2970e75d72e0b2d90a5cc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-22.6-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 816b52bc7a1793f496f5964a1779a549973716e972a4094fbc69285a4aec74a4
MD5 086c30ae6491c6b93cc3ad4fa4f1e102
BLAKE2b-256 983116f94fe06d841c3579c0ddccc545d5d26fd5db384bb9911d42d4542336fb

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