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

Uploaded CPython 3.10

unicon-23.6-cp310-cp310-manylinux2014_aarch64.whl (13.1 MB view details)

Uploaded CPython 3.10

unicon-23.6-cp310-cp310-macosx_11_0_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

unicon-23.6-cp310-cp310-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

unicon-23.6-cp39-cp39-manylinux2014_x86_64.whl (12.2 MB view details)

Uploaded CPython 3.9

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

Uploaded CPython 3.9

unicon-23.6-cp39-cp39-macosx_11_0_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

unicon-23.6-cp39-cp39-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

unicon-23.6-cp38-cp38-manylinux2014_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 11.0+ x86-64

unicon-23.6-cp38-cp38-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

unicon-23.6-cp37-cp37m-manylinux2014_x86_64.whl (10.8 MB view details)

Uploaded CPython 3.7m

unicon-23.6-cp37-cp37m-macosx_11_0_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.7m macOS 11.0+ x86-64

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5e717f57c6617a30594da44c76b38bd3d2adbc814de477e227893b2d4b18fd3f
MD5 81fbe245c418dd04b7366d72fab4ce5d
BLAKE2b-256 41ab547c66953fd4c5db90714870bbfd79f56219b491a4be1757b472224eed80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 22632dbacbba67f41854c6f1b55a05bb6e0fff2a84f774a7286da87cb6f6fd77
MD5 413afb7806ec1385231dbaeed041300a
BLAKE2b-256 bee187873f714f109fd7b6ecb0b0bebd21fe98ad48e0b811969734df4d566e00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 eac02ea9951282eecd5a65e4aba1c703eeb54d7247d5ca6da62acadbe21cb00e
MD5 b2ca8d8d85c275d3bac6c1efa69fe4de
BLAKE2b-256 4f7810a47af5e61e9cc2cd4ce945bad8f3a2d07c4beaead0fde77acec0f25200

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 923b86a38fbc8fc78ea312d1bda3472742da98d4a1b8580290700d54194a1164
MD5 05334d1ab2743515099a1d8042bf1a6e
BLAKE2b-256 2fd2df38fe46d2ea4ea31b161631d886e00ce478e7fb89e2745f123455213373

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d4f406215b9df239a8e2611d33f76f5bcdd13a2b904d036adae1d820f1c19f02
MD5 ede286ec4d936f7cdae1ab0cfd8ed381
BLAKE2b-256 b1ef072f9e5439a54d070aa24e9985486543526853fb2145696a58001657a4ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e4be036b56c211d0cb24b59e76ba4b85463dd36ec9c4055c749bf864d127b633
MD5 6d775c4b3b402a83904bbf9be45b7c53
BLAKE2b-256 c0cd2935e73a9c8b45889dbdd4ccf1aafc193b5f5d1800ecb4887b5743451dd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 9ddd9fc7c1e9842b5d2e87112bd7beb3f412c1606856b5b14bd12017bec0c1e5
MD5 f70d16ac8e4e1544cd3c1291c17f08b8
BLAKE2b-256 309cbc7802cf86f4806783d4a83f7a53dd487f4f7bf1e8c5c9af3bff18449825

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d695dab07171314b69e51df51d62fc7fdea4aec546da1b1e4dc32e2f4bea7eca
MD5 727d24a886589f3111f3e651b366e9e4
BLAKE2b-256 e21ea24868e63228d131edb4ac851143393e80ef8f7144a971f0ef080b180a6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aac6d9c128294a0b9c227b99c992109309442812e75d0c3a60e33029dd6fd12d
MD5 6e574d80b7257410c21320f44b1e2429
BLAKE2b-256 71efc96011df274cf29690f2bb845c32d92836c62d565818eff9e0f09e64357b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7a873552e3c13b3c64654620f20880bb18376e0bb257a7a9a91c4237e2587aff
MD5 fd53160864c08a6e07f29ef04e632ac4
BLAKE2b-256 1b374c982bcef512947d6358d29cb8453d3b29e71983851a5145c95b156c2e5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ad132802ba4915aa3ee587bca8bd057297c7a6bfe82282131bf404112c2a771e
MD5 ad4b1b449d29c378644ffdea7b9d34ab
BLAKE2b-256 df6db94d209f4f8bcfc10e5bebd1cdaedc02518092cff95b6a32a51a112f7e2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6a16dc168846c7496fcf9c5e368d217cfaa657046d31bf8e255839675d9bc3bd
MD5 b77bc744b621a3ebaaac208d888512ae
BLAKE2b-256 5f2780574c8a4058733dc869ab1e012341be8968d4b1f8c776bf93981c79eda2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6-cp37-cp37m-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 cb0a5dda2595c8ca55f03ac9625213a0b61e4f465808d2056bf98d1cdbcbaafd
MD5 597a342073ab82b2c6dc7979d110b4a1
BLAKE2b-256 63396777d5c7d4d0a1704c79c00ed4f2337d02b8a0821f3cd5e547985955c405

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