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

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-23.7-cp311-cp311-manylinux2014_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.11

unicon-23.7-cp311-cp311-manylinux2014_aarch64.whl (14.7 MB view details)

Uploaded CPython 3.11

unicon-23.7-cp311-cp311-macosx_11_0_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

unicon-23.7-cp311-cp311-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

unicon-23.7-cp310-cp310-manylinux2014_x86_64.whl (12.6 MB view details)

Uploaded CPython 3.10

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10macOS 11.0+ x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

unicon-23.7-cp39-cp39-musllinux_1_2_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

unicon-23.7-cp39-cp39-manylinux2014_x86_64.whl (12.6 MB view details)

Uploaded CPython 3.9

unicon-23.7-cp39-cp39-manylinux2014_aarch64.whl (13.1 MB view details)

Uploaded CPython 3.9

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

Uploaded CPython 3.9macOS 11.0+ x86-64

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

Uploaded CPython 3.9macOS 11.0+ ARM64

unicon-23.7-cp38-cp38-manylinux2014_x86_64.whl (14.1 MB view details)

Uploaded CPython 3.8

unicon-23.7-cp38-cp38-manylinux2014_aarch64.whl (13.5 MB view details)

Uploaded CPython 3.8

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

Uploaded CPython 3.8macOS 11.0+ x86-64

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

Uploaded CPython 3.8macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c7611bbb4657f608202dc5580ebbbb11ae3189b8305463588cfe272ef0dc131
MD5 a14b8f0f7a82ee48f1ffaa581c48742b
BLAKE2b-256 fc160bb79d6beb6654e7b6af2252f4c18dd5d9ae694cffa0fdf4945c0cfb39e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e6810ec1708396cd609382302f2c457a696b05615996828c20eec1d4b513eb93
MD5 3d7bc6a98afd7f61d93abbaf1f8b33ba
BLAKE2b-256 531b399e952fae391371bb0d9027349d0c9b1143d74e8141ae988ed6ea711e72

See more details on using hashes here.

File details

Details for the file unicon-23.7-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.7-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 0f3004dd980dc876dd3b8d2cde6707da60dc64dc2a5797b84bc5127fcc8769d7
MD5 c3e9d73bb62063cda7694d8d2ef23313
BLAKE2b-256 501147ffeb43abbcf729468bdface284345c49420edcc5bee0abf737906aa345

See more details on using hashes here.

File details

Details for the file unicon-23.7-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for unicon-23.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5715415c152fa9fbbe1437dd3fcb4b05807a0d8574b9fb1dcb925b393b1e86d6
MD5 8ef631a05c2f531e9ab11a4591337049
BLAKE2b-256 73f01eab2bca3621ccb2aa5eb90266ed881ac30c7f926e557bb490a053d2fbe7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e68649f257a2625d23ee4454a184a7b5384cf5693a9b34da4988bc63c59c9636
MD5 104123b3ed7047109d333adadba0ae48
BLAKE2b-256 4c06a4122b8a7d19d9f6d99b66395c8913453a0653c7f185a96a21b1e3bb5e72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d7cb3635e3cb947254192db717e3881394d4b5d537834f84e0c7b8135a6bb027
MD5 b81e0c75aa9ed95b885a1891aaa5b405
BLAKE2b-256 12e4867cdc03fc3a071b47322ec6f5a00c6c742153902e3e6ca8bd047c992aed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 12ad5d89ccafc7a0f398e4402758cf0188d1c637fc0ef180aa779bc2529dd027
MD5 298bc695670d76ebc8fa6f0bdb7aac7c
BLAKE2b-256 e626b836ef68b511d25f33e694ed61b8bb3250a162ecfcb28ee07c4c3f2c6e1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 563a9ebd0f476d20211d6b8e7e288f8cf3c8b103e55eb03ac7f3945f4e1035cf
MD5 00bb525ec00c63e6cdc9e87b0ce31cea
BLAKE2b-256 9439c3f9902a27e079833d81956223572fe63ddfd5c74502e6f26cf3f585c5e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7c5a72f92637f1cd84d7cff4cc3178ff378b2267b68dc892388604e69052dda2
MD5 4231bedbb9be05a48076348a6e559b33
BLAKE2b-256 0d057566681d585352993c7cf1d27480887a392cf766dd86efa3da716b7ff69b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78e46119b19f1ca82d47d9983a129b2a18b38d4db7de81fcaa5ff35668953455
MD5 328dc9468e921f4c682d8eeed664c062
BLAKE2b-256 be8c1a574a569417affb5824dfe42d1484c682fb1e49eee3bccb0f88bcf0c436

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2cd40fa59f38e5fd879d37f8dc8421ad63eb9767c311effb5ce9ca61aabd4a74
MD5 e7f39ac9879ed4554f5bee69275aec59
BLAKE2b-256 d9bff7ad74f57a5024653973ee4a32568fe2ee33e7790d873dc41ceb00711988

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7b2ba8011b740a583e66ba628fe652c9eb2b9a424ea7848734a590eb7d9a10c9
MD5 f01f204c00214b2449688bf7e78f55d8
BLAKE2b-256 4f0eb753c4267429870ea858dcc9a3f609df6c46c729c769cfffbfc6505448f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8475a507bc6acbc33b5a6e5125c4408b74100e8d2fcc7673b833f0d0795ea686
MD5 1b760147adef1f6dfaf33ec3d1362962
BLAKE2b-256 c82e956ec9da462a884235b1c54c5a97f494d53cc203846cc0bef39f2a9f75ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0127c31442b4f5937879fb29fbf21bc940c277d77afc456d851c13c4e09649b2
MD5 22fe18a8ba72fbd83544692662bff77d
BLAKE2b-256 d1f1b66a0775eaab2ea3181242850179f55c1e72050876f881b499cb13e25b58

See more details on using hashes here.

File details

Details for the file unicon-23.7-cp38-cp38-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-23.7-cp38-cp38-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d4ebb4a9a3c5853e82ba6a9ed68084f753337f65b4f5ae77a150a0aba9fad671
MD5 6120b7092736f09d5e9a204dd7609e5a
BLAKE2b-256 72fe41cefe2073e54077435fbdbaf60ea258a53e546a3c7b32f81eb2ba0d50a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 8ffbc04c57f2ab5dc4fae5996c134b112b621924132716f99cfde1ae82848c37
MD5 84e004e930988264d6fb1c70404ae2ce
BLAKE2b-256 f1c3ea6b26f051fccb3a1e0b89eb9cbbb9147e7f7b4334cd1eb520dc4d4db51e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.7-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 22281fac05644fc3b64b5e15a205b6f106035cee053244f04a8b662c25c0bfd1
MD5 8a0adff9ee2e3e47613ee4fa16a34483
BLAKE2b-256 9db6aeecc92df837e2a10a6d9b0e7fa18c224f4a7eb83e3450ab482d07928228

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