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

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

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

Uploaded CPython 3.14

unicon-26.6-cp314-cp314-manylinux2014_aarch64.whl (15.2 MB view details)

Uploaded CPython 3.14

unicon-26.6-cp314-cp314-macosx_11_0_universal2.whl (5.2 MB view details)

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

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

Uploaded CPython 3.13

unicon-26.6-cp313-cp313-manylinux2014_aarch64.whl (14.6 MB view details)

Uploaded CPython 3.13

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

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

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

Uploaded CPython 3.12

unicon-26.6-cp312-cp312-manylinux2014_aarch64.whl (14.8 MB view details)

Uploaded CPython 3.12

unicon-26.6-cp312-cp312-macosx_11_0_universal2.whl (5.1 MB view details)

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

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

Uploaded CPython 3.11

unicon-26.6-cp311-cp311-manylinux2014_aarch64.whl (15.8 MB view details)

Uploaded CPython 3.11

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

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

unicon-26.6-cp310-cp310-musllinux_1_2_x86_64.whl (15.4 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

unicon-26.6-cp310-cp310-manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10

unicon-26.6-cp310-cp310-manylinux2014_aarch64.whl (15.0 MB view details)

Uploaded CPython 3.10

unicon-26.6-cp310-cp310-macosx_11_0_universal2.whl (5.0 MB view details)

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

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp314-cp314-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9407405be7f61db9379494ce5f55bf1334fd460809e8cfee3ebdd43ad53fe4c4
MD5 c83e8381fb10bcb73b691f018d97667d
BLAKE2b-256 0e80f38aa161a38de2fad7495d69d0f7c9e6e2431998f70c4d1b1901d8b1677a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp314-cp314-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2741736b431587233d9e751f1256307d8edf0f5597a433481183d2c30f057e66
MD5 0cc1c2029f2bfde61cfc4c119099a5ff
BLAKE2b-256 6c6c6c57ef9bfc385b37b6611824e39d5d5e9f1ed5155f94291470ba3ac0f3f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp314-cp314-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 d4c2f95c8f092e353ec3af4e9bb19cd4bd4027a6e276b437f8ff9364e91af3b3
MD5 8ceed36eb07fd3b8da574045cd4f0f9c
BLAKE2b-256 19bb9b46499006dfc065d3ee031d16ea8adf7f211bd1fee5bfb538f6afb69a72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cc1f4327a892245d99ede86b07248d56cfa9969727d7d9ccad545d0d348965d0
MD5 4b8d768776e6c3b7202b7a17900aa3eb
BLAKE2b-256 4de44ca115f39e57a7440f590d28cc62c59b073b1f32b09aaed33a7fe3b2f4cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ea3e83c093b96e0c012d82f40f011a3e0e7a291cb94e34512be8b16f3b2753b0
MD5 432eb30a495ef7858b7519ca90178be8
BLAKE2b-256 443ef257c01c424c45b1af3181598fd03174c938c65f25251cd8520e648c4c82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp313-cp313-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 eb523941b4830bd5dc3339a5f2084c9d770c4efdfaa7548e60e4956cb3f8ff32
MD5 8d3edc9b0f0296862d2e87e80a053375
BLAKE2b-256 fee8e41820290dce3356685ab34badd3b45869064de8a6fec1c19f51fec93434

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 861b7cf8902b3c936728cffa14bd3406c6e5846269cd52a43068ab299c7eebae
MD5 3c7368cafbe10b8e99116d302cb21e8a
BLAKE2b-256 0d22c7bc81bbbc693024fcb9933dfd728e908b2992dc1682f182e7b4bf92f341

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5c02fc07932e1bdec44c7261c152a89ef5f97e677fc753358b9e0bc2282480b9
MD5 208a6afb10117d17ecaa8ec55f34a0fa
BLAKE2b-256 140f4d2d69038fb5b23aebd767044009943b69c9f5eb4495ba44cfbb35f4518a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 783f896c9161f11bc46037846e88d79bbe411472e67ed927cc35c5359ac4021c
MD5 8d4c0a5949c8ffcb145d8a438134eb37
BLAKE2b-256 ce8b4015f6b151fab7666da8e352e591216bf72a22212e3ba1dc7cbb1a2e18b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 11d54e0160c91acd28a90d7d8ec75164cd446b24a9124e6d7abdaeabdbfb4300
MD5 25bb6830f903a34a88a8d3fe325ae545
BLAKE2b-256 5a73e4142757eb55ffed0103ebd6cdf9e68c788c3d2da597f34796723bad2c41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ec9c3a40655d54e98fa3a33729b52561c8c0eb8af4dfdf4e7b6d093fca035c0c
MD5 e719395fb89ca0937db3e5d7097cf05d
BLAKE2b-256 f4d5414bdb4304e3b46f80fe4e8b5eb6fc5b0a9bacfd77f2cfc1f12cd1316c92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 072e7eeb4856000c8b7006cf1d8868de7bf8ce4d8bb408b70bb179e9ffc9622c
MD5 7b56e5373d1816899b0b17e4b800e8df
BLAKE2b-256 15da31ec391f6e942b513d1a568fdad081a55e80495d88fa7e02282eaa866065

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 849384b05e6f27845b5bf64bc4c7146baa2abb8d1d91626b76c88f0854f67166
MD5 c51482ef9996cf2ff85e1cc9c8b02645
BLAKE2b-256 1ad5d582e792f9e65dca5d648a26b2b44b1e2319ddeedce1602fb7fd3ec51180

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2ec85138ea7e24a6d008ec623161c3999a81559265dcdef2dbc03e6469e32eec
MD5 3dd7881ff5df358104017e42e9586351
BLAKE2b-256 c8933d2119c7c0a37a7ab27f074cd70dd43368d0d229b3d949676f31ba005e20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7a3ed8f19964ffa51467bc9ffaa431fedfc6c0bfc982944da4dac542c3ad5f99
MD5 d56fc32f0f4c809c9ffd1af432f9eb18
BLAKE2b-256 73fc6ccb58547e7d5e0da74146b74875bb0ceff9564f54e09ea5fee30149de1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.6-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 42447bb9a7d95d31de7dd6000fdd89a3b68a7862a9464095f3035d3a5cce9155
MD5 934ceac662a9cdf783539b36d9125691
BLAKE2b-256 70bf13f680a2dcd5f99957a7693dd26a06a5be7117c7414fcf2e94fd41be83a8

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