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

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10 macOS 11.0+ x86-64

unicon-23.3-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

unicon-23.3-cp39-cp39-manylinux2014_x86_64.whl (11.8 MB view details)

Uploaded CPython 3.9

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9 macOS 11.0+ x86-64

unicon-23.3-cp39-cp39-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

unicon-23.3-cp38-cp38-manylinux2014_x86_64.whl (13.3 MB view details)

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 11.0+ x86-64

unicon-23.3-cp38-cp38-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

unicon-23.3-cp37-cp37m-manylinux2014_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.7m

unicon-23.3-cp37-cp37m-macosx_11_0_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.7m macOS 11.0+ x86-64

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8ddf424e8a0d43a69b9ed4090837c00c77b52cad02ad667c227db8dc4b929912
MD5 54d4567e9c16cf7fe145f018b8caf547
BLAKE2b-256 b5ded5c1c0406f5444b90e87299053d82513d7448f757a427fb79a2270d49382

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 8591d3c5aa8b656db849060b3719332882a237c603bfa4ec8e5bef6a02916190
MD5 010f4d9284094a60832f9434c9d10550
BLAKE2b-256 27da1c6c14680a41f0dfeb6bb421c864dbefbff0ca546a7d3909bb6e8ea46b16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f6b31ab3f069636289eae02628bb54ab065425d6e8bdb4cb55c402bb4712076a
MD5 43f6f7abf9fb3261a464c3fac7b2e9eb
BLAKE2b-256 010de4240ef271a0bee75c5a9526b5be49155153c1d911fc817ae25c51bc92a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cbbd84008c658a8ee305d3facaf3f4f071cbe50eb1b0b03bca6c1c826e94edeb
MD5 6cd14d037d4ec610cc93a6cf1cdee5d9
BLAKE2b-256 f7a372c81b1eab6a8c94d809fbe8155987212c47dd44d6f8d65bdbab451c4871

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c12b503cb114449b24772f8af7024a86002a64e923d5b5b467f1fa0aaac3eaba
MD5 812af9c64234c317cd8e9cd31b092b96
BLAKE2b-256 732ef9e34098cb540be7b833c877ef1435b17459f3ce98afb8e88dc842521634

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 688338d1da27b460dacfcbac8d8fd631c3f43f4f6ddb578b1ece65026da49442
MD5 6de9f444be016170737f8045b6621c79
BLAKE2b-256 9bba69d39ed1332609ff60cda91e42de8f7dd1daa780e05806fa34e0b5667251

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a6fc53015af3e3c6cc367f9b2cd4b4087219484242033a35e0569fa030962638
MD5 fbe3280ebf7d5ad59a1b0680fc61174f
BLAKE2b-256 4dac51c0d95a5bb25a374ebab9006fe220f81cc8716ec9d89bc6a4645e4bda34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4f14d7a3c1ada9bd1949d77207eb32e63ac3f9f93ac755112f25018723997044
MD5 cc434da0b11c77722bd6e5078fee39c3
BLAKE2b-256 051c9ca4b6dcbfd64cf98519325dfc9a62b94eaecf28abdf918b213a5c33022c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 ca198e01f1260d93f83ad0ebfeb3448c9038a79ed6d3f0fbb5a2a68ec582d722
MD5 2a316c9b6637a9944250680b9fe9e3ee
BLAKE2b-256 fe51710e44f1dae64450270b9af84e9a5b0fdf264a8b958bb7bd18d9a8f9692c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 262fdffceb7a2cc12061acf13e21632638ba339c913671b779c16e6a78ecb25b
MD5 d029e46b80245ef45e169226cb752c59
BLAKE2b-256 bf89fa5e674bd1e424da8e93aaf9350ad026d75d577f55c45a6bc3f32a18a2f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7949217b9fe41b5bf3d6d2f0cf1869841f5dcb6dd8fdc9f1164db1d13a0f8026
MD5 acbb29c70321b22fba5b353af2cd24fd
BLAKE2b-256 6a1b688dfb0a84e731ff0c88600b75d0aa2054d06d47d864c6049c622ed03dea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.3-cp37-cp37m-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 8e0fc95d2d99cc3efce276d1745b803b1e74f579f6e8dcfe07a410dc4ea53802
MD5 226a0184271af36948bf87ba5d3988d9
BLAKE2b-256 96f751a5a53d1390e977956c68ebb6aa4ae732f6d741bb08f6f7147371567258

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