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

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

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

Uploaded CPython 3.14

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

Uploaded CPython 3.14

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

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

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

Uploaded CPython 3.13

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

Uploaded CPython 3.13

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

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

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

Uploaded CPython 3.12

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

Uploaded CPython 3.12

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

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

unicon-26.4-cp311-cp311-manylinux2014_aarch64.whl (15.7 MB view details)

Uploaded CPython 3.11

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

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

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

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.10

unicon-26.4-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.4-cp314-cp314-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-26.4-cp314-cp314-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e7a9343aa071b8775c2b2637f6a0fe825d2618299601d6cdf18a9d96ebb87994
MD5 f2e32c522a9ae63f3dfafcb3368e2fe0
BLAKE2b-256 a8f893a099ffafbbf7e772d6ef941771a0f69fded36950d4aba0213e951b0d1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp314-cp314-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 afd9bc0d3b541ef9095e5739b29dee58e2e2228b0824cf105344da417a7e24ad
MD5 fecb3540d2223e1064fee017d44f0dce
BLAKE2b-256 68e1476dcccb53653332cd7f5039daece4107ffd05d6b0ffdebcbff62abdc5ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp314-cp314-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 630413a925b32d3d751463dd1828bda871f84aacc9db5bddf66900195b86bced
MD5 9a9b40d1d877cae4070927d60ef9066b
BLAKE2b-256 6d2689f98121c1300884f4217262fb9a8d5dc60e0169b99d13bdfb7ad49349b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bc6028e2d97ae07b81ed2698b0e2506ff1fef84bbf666c9021c8dbde972ebd92
MD5 adaaec2db0de6080dbff15aff4af1312
BLAKE2b-256 8614b3db6ac0c959ade852a178989ec817ce69d09f6ea29d743f1453994f8db6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 54ab2963aa6656dd6f5710fe2b2617f1edc184b60652c1e7ffa9b8af4f173385
MD5 3b8b2293d043790deedf15e71136a39a
BLAKE2b-256 b04234455121ae72e80462752136443c9a9e0b8dfc9017d3f2337c6b4acbb1ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp313-cp313-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 8362dd6767786f961ac9aeb2cc5ee2a1f7b54d545981b5c4864d8def3f8d293d
MD5 0b0eb6c8cea9a5f53abf9dce10f413db
BLAKE2b-256 2c1d0dedf528b6a8e79a0449cad94c7c5eff06e2d616259aa3e239d3836e97e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e2e6f028b253ad03758ef80d31d6c4f2a384a0a21091c294053b7f70b6c1071
MD5 174ef24ef15eeed5ea1ebfc97e695003
BLAKE2b-256 f9583d483a13da68587a90469a78d1e0ca141e0efdb4577bd6487e88631cd130

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2a97860da0f8c34726a49fc68164847cd3bcd0f614e2724857c8aa0634d76658
MD5 c214afa249412a8edb511db784ac5995
BLAKE2b-256 c21ba0073c89fba3187431fad66b0c06025ec3fd6b83990557ceb2d860233176

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 d2bebdef77039d7eee599207024ddc57a2e99e7564c15cc78ce70977d3170ebf
MD5 a4a2c48751879c9cd94d757fc5824c87
BLAKE2b-256 8a1a53f960962f52a626dd8e826d52e3de78f8475803610d2ddccdee5abb7be3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6e9cbc0f200d1f6731404e8942287f05583e8e2030c3ced0e3d80993f83f595a
MD5 3c8c7b093d071043e52bcdc4b108d566
BLAKE2b-256 4e7359339815f1afeb23a84e457b292c0f3caa651d33edbf5a31b834f68c561b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 d6714c6a83db552c0cd147602e7fc766eb14025e63df88fe7b5a124ee55833ee
MD5 2b7e3f4d1bf9242b36167f5958861efd
BLAKE2b-256 e94905f8626d5ba46bbbccea2991d496c426cb88880b3262c158043d59015d18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 69de933d7435a6d35e0c168f35ccdabf5fc267b0ff37623b6605e9805e530ca6
MD5 22a49689608df25bf5cc5d4d195a2f85
BLAKE2b-256 34a3fd612462229bce1b5d19325b51fd193ae59918ac48d1f1b65e774917107a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f24f8f3460a243ce977533518253880b5d695cfde177f5cd0bdc99907da20841
MD5 e3a711de73dccb589fb0766b52db01e4
BLAKE2b-256 0c060c8c02b6409a3ba2f802c879ab5e576260f3c7250cd6f46c931d532c04d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.4-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 cbc140adba5bb66385f5c9cc7b8a657ac7cd137f28dcffc93d9c1d3c5b4a91d9
MD5 18c653fdf6c82c80890699a1e9643bef
BLAKE2b-256 b81be29b5eaed53cbf403e23ee3822470b7ed63bc4113091731cba30fd091e2b

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