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

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

Uploaded CPython 3.11

unicon-23.10-cp311-cp311-manylinux2014_aarch64.whl (15.8 MB view details)

Uploaded CPython 3.11

unicon-23.10-cp311-cp311-macosx_11_0_universal2.whl (5.3 MB view details)

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

unicon-23.10-cp310-cp310-manylinux2014_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.10

unicon-23.10-cp310-cp310-manylinux2014_aarch64.whl (14.0 MB view details)

Uploaded CPython 3.10

unicon-23.10-cp310-cp310-macosx_11_0_universal2.whl (5.2 MB view details)

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

unicon-23.10-cp39-cp39-musllinux_1_2_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

unicon-23.10-cp39-cp39-manylinux2014_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.9

unicon-23.10-cp39-cp39-manylinux2014_aarch64.whl (14.0 MB view details)

Uploaded CPython 3.9

unicon-23.10-cp39-cp39-macosx_11_0_universal2.whl (5.2 MB view details)

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

unicon-23.10-cp38-cp38-manylinux2014_x86_64.whl (15.0 MB view details)

Uploaded CPython 3.8

unicon-23.10-cp38-cp38-manylinux2014_aarch64.whl (14.4 MB view details)

Uploaded CPython 3.8

unicon-23.10-cp38-cp38-macosx_11_0_universal2.whl (5.2 MB view details)

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

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ebc4ccfbeec94a5aa095fb3f06ea8505758f68502db487c5b775dcde3407aa33
MD5 ce1cc250b0767c83e5207efbcdb2e7ea
BLAKE2b-256 f1b33090d999b172770445d353f396f0c6e8f615b1a168fd22c6bc19de98943e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f7673efcf614f3548486617f93addc3289024411583d403bedf4102ae9ca31be
MD5 4d41f8918948fa025feed5e6ebc59590
BLAKE2b-256 c4ed7ed038020af142c7a01985166b193e4e592db7fb6063bb319d5600657304

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 1e583b62740f9f4d5c741effaa66b8ee2284461c22dd4dd751a7dbaa5eb9aa19
MD5 d8dc73b6446f4940a3a09d69cad01a55
BLAKE2b-256 5d45e0c0393818f7515981c67c51140cdd427247d1d7e31f01664124d3f6460f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 75e2501442bc0c4f8a19430384e25267af5baaac9a621d7d57267391e352244b
MD5 da5520520c10b222106cd7cecc143949
BLAKE2b-256 dd24f7b2cfe18d8008a433774200ab90c07a33a36dd5f39f104d253a78950e27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4b1594b722d77a56c8bfdd35c7b9ef6d54a265ab65e22c28a10d25c391737b9c
MD5 6e54ec018921a28f7a8ffbc227cb262f
BLAKE2b-256 6776145f8c1cbde5be757911f5f1a62066984dae4aa3d4d20e41effd4fabde7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 a0bb3907df9faf182292cf9ecb382d606faf14d3c72af1354ab6ed1d9c0f7018
MD5 7b6f8ed9c9054dc3da046453be6f92ef
BLAKE2b-256 88f9c15229e3aa8c4305d7219b3afa8c813623951c3e3194077dd4e1728fe0fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 89bd309917380ba18e4b62bfb82ca707e5276f0bddf3ebc006fc8780f27c2d7d
MD5 82b4fa9b94a2f42031497db6835e6b0b
BLAKE2b-256 45c3f6ae0a6bbb4dd360e7d7fbf72a16a391451d62b85c371a4c1c96bdc9b3ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb6a584bec869f4424a8dcdf477277b20e7e38b57e066286cca493d493c50f21
MD5 506f58c93e8a5d4e3ea7d7006bae5410
BLAKE2b-256 b58a354c735996e53242468aad98f9d89bdbf2209e78e415e68ef8419c38c392

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4ad152ecd2341534d8374ef3b0e79cd9861fe0f6a66ea0db0b6cd28825df812c
MD5 1dbb98823ba2e0c82d791f0bad749ab2
BLAKE2b-256 0bbba2b11dc80a5d4440870f86b7001d275bde458eebe66849432e224536fa6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp39-cp39-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 c5b2e1c3010be030f64c37f1d653dfed55de3a1d672a1c1b165c607bf72b80e1
MD5 b87dd7be3a9a6664e154d8a292a8f93f
BLAKE2b-256 73b4e99cf0d3f10bd302705e278c1b7370c8fb5935244bcd0753ace7caee67df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b6dfccf624a6f19f1994d1f511a5395d6fa2ce164c95f56d9d1694e8f8a9cdf5
MD5 52a5e8fac7d45d752defc11f5912425e
BLAKE2b-256 8edf91a05009ed31d4596584c5016712ded73257312bcf5b6975813081c5254a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.10-cp38-cp38-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a9d637bc8d2ddfbec9dc18b4db911ea929767b5ab44ae0dbf4f82e32271ac151
MD5 0de2f4b1834856f3517df09e428b7571
BLAKE2b-256 0d015a19665c83b5110daa8ef05c97376ee68a53127ff4327f7464afdec5619d

See more details on using hashes here.

File details

Details for the file unicon-23.10-cp38-cp38-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for unicon-23.10-cp38-cp38-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 68200b3e921c89aca9a477345864189da19ea5df0e5d1697e0108f2fbeceab79
MD5 ffd64bd1f4daf1f60c07c1899f7125ab
BLAKE2b-256 20671a5339045e229d9f32d81d193057482561f0d78632d6590a60eeb246e911

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