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

25.5

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-25.5-cp313-cp313-manylinux2014_x86_64.whl (13.8 MB view details)

Uploaded CPython 3.13

unicon-25.5-cp313-cp313-manylinux2014_aarch64.whl (15.9 MB view details)

Uploaded CPython 3.13

unicon-25.5-cp313-cp313-macosx_11_0_universal2.whl (5.3 MB view details)

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

unicon-25.5-cp312-cp312-manylinux2014_x86_64.whl (14.0 MB view details)

Uploaded CPython 3.12

unicon-25.5-cp312-cp312-manylinux2014_aarch64.whl (16.0 MB view details)

Uploaded CPython 3.12

unicon-25.5-cp312-cp312-macosx_11_0_universal2.whl (5.4 MB view details)

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

unicon-25.5-cp311-cp311-manylinux2014_x86_64.whl (14.9 MB view details)

Uploaded CPython 3.11

unicon-25.5-cp311-cp311-manylinux2014_aarch64.whl (16.1 MB view details)

Uploaded CPython 3.11

unicon-25.5-cp311-cp311-macosx_11_0_universal2.whl (5.4 MB view details)

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

unicon-25.5-cp310-cp310-manylinux2014_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.10

unicon-25.5-cp310-cp310-manylinux2014_aarch64.whl (14.4 MB view details)

Uploaded CPython 3.10

unicon-25.5-cp310-cp310-macosx_11_0_universal2.whl (4.7 MB view details)

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

unicon-25.5-cp39-cp39-musllinux_1_2_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

unicon-25.5-cp39-cp39-manylinux2014_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.9

unicon-25.5-cp39-cp39-manylinux2014_aarch64.whl (14.4 MB view details)

Uploaded CPython 3.9

unicon-25.5-cp39-cp39-macosx_11_0_universal2.whl (4.8 MB view details)

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

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 262822a6a45a9aa8126467b82f9edd62d2114d2f19688477f382a8773d1b8497
MD5 65e23ca7d26c21ae7026e18549859c13
BLAKE2b-256 82456940fa3b24c0cbf84955b49f9473b9cea2e5d3c1f8e45819dd165406c981

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 18354ccb077cbb16a0944132dda1d416dcb76204addfeb30685001ee3c34a61f
MD5 fa46d73241892faf2201e2959c19f0f7
BLAKE2b-256 fbb7aac45bdee10b663502a746fa471187b1956002f1babe646a0d412e95f7fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp313-cp313-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 36de0bc9ecb0a399c9784e40ddd79b539e498c459c51cb5a8546d94a6a5c514b
MD5 c20c8e8e164fd68227668e43ba36b346
BLAKE2b-256 ee42b24dc21533ace0ebfa86b1eab0125dc19fc6f92cc32f06443a60031e475d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b50bd949fa52961688f878ca526819b855076384140dcd95334be5d8df45fc44
MD5 442eb9119482c48d177dead53d30ac59
BLAKE2b-256 93e03caf9ec3230e27db46b86fd41259de0a3e61ce31449ebd1340b5dceb0892

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 43f94d1d6a2257a038a1461bc8e43e3e83889bbcbd6d81a2c4dd780f6c837f3b
MD5 4691dc50fe6d3581eeb7bc0968394691
BLAKE2b-256 c47bbb7a4ee614ace6ab533954665dbff62e43f9a907f02d63cfdfbb4b36a1a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 e3f3fcdc242a05b80e6712295d92d59c8ef3a5f8fc41cf024681f3ed33ea135c
MD5 2e9986b0ba1a634fb07b577d004f8a26
BLAKE2b-256 34fb498fd563877e80c30c224de91160c0b741ee00485f62f71f02dc8ecc8e1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f77821dd26fdcc472d197f5fee5b619f9a7491e5d3bf2a3136eeeee86a2785f8
MD5 8d67fb3d965f5c19bc6f016faa11941d
BLAKE2b-256 d7a1c8263e87d9350202752df63eb3a15c1b1c49cebaa0ce284672f71b42c9b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8f6de987436d9d15ba143daa20e0c1a860000a107636e39bcb2c50aa5e930163
MD5 25992c842a225ce75df7f08b41c9aeb2
BLAKE2b-256 b13ad31d06c5d32b2846affb0a8261807fb75c4f76afd0a232c4ec1655031b9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 652d559eb5addc09b4773aa3808b4cd73435bdc9240820e6db76173ca66fbb35
MD5 f3d67b4d2f06f9d908207e11ebb98559
BLAKE2b-256 78ee35fe1780a800f9a0af9751ded087fdfbd7655958790924c8145c32891d75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 597f3fe343eeae5d0acd83c3816be9955d93d9ae4a652cae7315f10cb69b6aaa
MD5 052652a101e1d2281fc7d11fbb96f4c7
BLAKE2b-256 a6d70b9af1115e603ed8d9a8d47363464e7e6e9268469b8436a4b4b25e7be92e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 10901d400cb86c4a9aa4db60bc723c5b90064c5a9408b43b0e83f13c45a4f468
MD5 3262aa363b730f6301481e6f7d0a44aa
BLAKE2b-256 3bc23997a85d7d5430319278f68b9fa4c126a7dff78227989ea836513be67410

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 e145f9c24bd555a18f7588b4666d53eea710d14a30798178eedbee555c395650
MD5 911ec559eb767e239516b507b832c9c0
BLAKE2b-256 fdfa38476c73694cd18be5624cfc5be2eb9d82041013f4b74ba4f837a33583a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 91c4825aa9652bf929f761c2aff8b2079ae0fd45295ac6f7df1eda30ff6e1afd
MD5 e4f91fbeff160dd1c499dae0b5bfc632
BLAKE2b-256 83b0b65118d4f4459b6861f6746bccdc57ac184592dbdae79ff7f2552db445cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 762d2ff0b65295ec1bd203b752dee4b801d2a9f63873eaed2f741cc3a8a284df
MD5 7d5a9329304d2d8702cf1540dec7ac5a
BLAKE2b-256 b4c6208f4730516627bd6700534697792d438a9aab4f1d09ebd90ca5d029c7dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.5-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3e424c2b0880b303a94d61baa009610c2b3df7215fcabf0d6ef2b7cc39d1adc4
MD5 595c38db470f9543bc4403fbe650c99c
BLAKE2b-256 0f59f63cab9e32e4c2419a3c6511b06b398999a86d223109a996e371d6dabf85

See more details on using hashes here.

File details

Details for the file unicon-25.5-cp39-cp39-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for unicon-25.5-cp39-cp39-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 67857ea13abcc105d1ae83afb6ff5b4a02aae53592aaa71ea1ddfdd1d1906d2e
MD5 17f2c98670fb0a0c9444cc7b6dc34b2e
BLAKE2b-256 67f92e19296806ed77db22c3da447224d6efcd654967883c61e7b66330bb8272

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page