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

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10 macOS 11.0+ x86-64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

unicon-23.4-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.4-cp39-cp39-manylinux2014_x86_64.whl (11.8 MB view details)

Uploaded CPython 3.9

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9 macOS 11.0+ x86-64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 11.0+ x86-64

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

Uploaded CPython 3.8 macOS 11.0+ ARM64

unicon-23.4-cp37-cp37m-manylinux2014_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.7m

unicon-23.4-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.4-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.4-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84f96139516f07a1e8378bf765c32cf71724ed1dc75470646e8654b4e7c8381c
MD5 e43f3a21c3818067e1395a5baacb2d68
BLAKE2b-256 9aaac3d0d0fab065c327f4f1646bd59539e929a9f8ff95e093acef624eb69b57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 d5ef4dc4f7ca89cbdf22f83be01a3d28dc86f1d7055fcbbe99df2630c89e8d1c
MD5 cb5647f780aa91b1351ed5716fbe6e7f
BLAKE2b-256 d9da85212828b207e7dde8693a95a40374ade30ccc628d03a834c29cad629828

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4ebd02e41e3c145b543eec66a17a328e51b8c710c3d9efe5594271ce986d7dd1
MD5 7d9b2cc800ba1d5d8f86b8bc808a1192
BLAKE2b-256 96e6442d01cd620a200d82f43776b32498ad84b02a06b45ef5cbd94de2e235a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 28633a896430446e62a8f5468eed54b9c3ff358661057cb3e3a95cab842c50dd
MD5 0b4174a5873d5e8559e964362d902742
BLAKE2b-256 962ff64958ea093812f4530023e184b6566079d9615a1481723b451c67590210

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 010f7b2d8b639e68de3b71f681c7275201e39c27b7c98da400d6564706873d2b
MD5 912ce6115f1696f2bf1cf088f9f6e0be
BLAKE2b-256 aa50b1d22f47f2dfe07545116c47fdb703616e5c8e5df320d654df72e29ce6d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b3687faca19b327082ee70374ab769c14452ea1983bf2d261d754ececfe6c313
MD5 e3120ab5bb571df0582748fa5f108c1b
BLAKE2b-256 5a78c4d496d45969bffba50ecf2aa42ae6237cabbd298b08b5a0b407f4dc62f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 03385fb9fd627ff24907537116453e542ce3812aaf1fc7d3372f6ec6647ec554
MD5 56ccd48d794453bd9ac281b93d25ed8d
BLAKE2b-256 b3202b3bc705ace9bc57369a68ec68d3288b629d05ddbba880e5db90db458312

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af5c710518efdba1af74a35f60c0268d9fd6a853ea21fe4d42eaaa28a620b682
MD5 eede2ca5e46585dec23bf443a5d827fa
BLAKE2b-256 0593608047ea680c202caca0ab240750d6f4f2bc45f822a331050b54b82b300b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2db04552e3249d3a26e251a3a2d13f76314587ee4e4e72f0ef4d47d0e6aff5cb
MD5 7ac4823fd22357cecf7522572c8ac1fb
BLAKE2b-256 4cbce9c6f255ed9a715b502f22d4f8c676b3de34d54dcc2023fd364764ba5ef4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 0ce04d3091ba9deb72b8653ebbdd2c0716029d5678399c27309a3359fd3526cc
MD5 f20dc9596840e4e3ab805a333f31f10e
BLAKE2b-256 e87381b87c06176eac3f1b3c604d318b76a792f9fc334b1539a87fddb8f33894

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a77cf21a3b3cd8fe618f70236695803dde16197c9c1f791b38714690da938e3a
MD5 e3e0b3d66834160d90532c48edfd763a
BLAKE2b-256 e2d62525c10a466a3d9aa439f7faff64e12816b7a7107a714d5944ac2203c697

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0c5b86487594461f40b5c740b15a7a2353d155fc15c8fca7a852fe9f630073bc
MD5 9a55355947e5ace684ec28855226b8c6
BLAKE2b-256 eedc6f81d8db632f73354b75bf04d74150b4a2715566cd37a5b679f51623a069

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.4-cp37-cp37m-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 297ab6c7452f3e52eae338774f53c47a41abdec90f6825170fc5bba0429ccdc7
MD5 7266f635b13c7295366768ad88b5f702
BLAKE2b-256 d0c20779206ca277cc97d33a4c3c165752ad2ed0e402086511327c46c8681e48

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