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

26.2

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

Uploaded CPython 3.13

unicon-26.2-cp313-cp313-manylinux2014_aarch64.whl (14.4 MB view details)

Uploaded CPython 3.13

unicon-26.2-cp313-cp313-macosx_11_0_universal2.whl (4.4 MB view details)

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

unicon-26.2-cp312-cp312-manylinux2014_x86_64.whl (13.9 MB view details)

Uploaded CPython 3.12

unicon-26.2-cp312-cp312-manylinux2014_aarch64.whl (14.6 MB view details)

Uploaded CPython 3.12

unicon-26.2-cp312-cp312-macosx_11_0_universal2.whl (4.5 MB view details)

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

unicon-26.2-cp311-cp311-manylinux2014_x86_64.whl (14.2 MB view details)

Uploaded CPython 3.11

unicon-26.2-cp311-cp311-manylinux2014_aarch64.whl (15.6 MB view details)

Uploaded CPython 3.11

unicon-26.2-cp311-cp311-macosx_11_0_universal2.whl (4.6 MB view details)

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

unicon-26.2-cp310-cp310-musllinux_1_2_x86_64.whl (15.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

unicon-26.2-cp310-cp310-manylinux2014_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.10

unicon-26.2-cp310-cp310-manylinux2014_aarch64.whl (14.3 MB view details)

Uploaded CPython 3.10

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

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

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd81bdfbccd74013a362afb218edc947cc7e3858b1050b590944f2b458e3aa87
MD5 116a37bd6ce4e730d6a627a45f68b15f
BLAKE2b-256 0a01d661452c3abf62d4065a6c43d5efd230908d18cc54cafe3eed023c2f265a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4f0ae52734bbdb2e654dde037b25d100cf8a42e62ea00cb711949251eeb14c7f
MD5 aadef4039cff3317194d7d91ea5349a4
BLAKE2b-256 811c1db2325078eea722f0333310af1a91b095254e49fd0699b861bcb1f4e448

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp313-cp313-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 a74c10888a0f95d32937cb025f748781dabfa86fb94fe72c14be3097270bdb13
MD5 23edfe1758f7f1415f23e9a26702c38f
BLAKE2b-256 80ead40ae3cc940fbafa75ccc842bb29c1efc08b0aff38d6b6e522768f30d2af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f5e8e116ad8b9b6814609901711951f0d7458502cc1089217a60e040b8fb402b
MD5 a1a04e6155d4c4fdf196d2573bec89e1
BLAKE2b-256 7615b414a0c4c1ee5c218cca0c6ca94c84b42bc476dbbf572fa51bbc1fb42b46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 25d84048d63f365fafd206a4505ac18a6c4917a33914c09ec14ddf9d4c005099
MD5 b792fb77a8128b702c9d02273b67e10f
BLAKE2b-256 8f74e2f4f2574c62298ea625aef51ecf15c5195b132a1ea3ee27bc4b96d9a704

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 3fb639e32768c93ef561dbe19ceb5b45a9f8b5259d6fab7912e9ddd78749a799
MD5 f0793ca76ce72dbdab6c5348e0aa7286
BLAKE2b-256 9c0b617f49502bdc6315178821b9c37479a31e1cf1dccef9aaba74ce5171f744

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e201741550773e4cd00ced9bebd742ff408ba16b9e620db4ff17d556fc63c0ca
MD5 544fceebac9126342ee43c40903e1e4f
BLAKE2b-256 2b181ca970a5f6e91a79215e54465e0dc14cdce33856e56935d4ccb5f2e2cde6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 13207f1560f3dcbd2ac28fb723e292ea7b7965286f986c4d89538270d1f33847
MD5 c8aa54f1babe6e3d1b186a1bab5f5809
BLAKE2b-256 dbba488b36b5ba8b86f1600e415393685e9458807ac0d475067881f708f9d6c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 d8107c7c4b378d69b5803b03df3ecfea716d4ebedd7104a58af39a67d75b0734
MD5 53f72915c317efe1fa50a0e8e582706d
BLAKE2b-256 9ecb60268df9f6ddec70410fb3e4df12c739ca1c420edb51b724bb331d642c50

See more details on using hashes here.

File details

Details for the file unicon-26.2-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for unicon-26.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 061e9e4428d2463f86099b9a9bbbfa3709efe57fcd2082e12748cbf3c507aa00
MD5 606bc8b603a4432b8e5aff22c35cf640
BLAKE2b-256 c23d622107d2b8639e6ad04b057a249d1af9b41d9536a0f21fd33fc1b3bb97ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fc4c13656e066e0cd7c82b17b67793ed12a57e71abdd3c3bfc07b16ed4169296
MD5 e8f6b1d7ec7fafdb5f76a71e9abc674e
BLAKE2b-256 4f70a5c8420a7ca8a7fca2926d55479eb8b2d1884129bcff18bf093e209cd514

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e22659f2c57b034a2e5f8407c9d5e997646cdebd9a0d6310e97ccb596b70e119
MD5 e8506fa3a36de6bafb0c5731d8072ccc
BLAKE2b-256 26c3321b7702100fcf2a8bd8a884ea1e7565fdc950720ba26a07ddaf477c38ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.2-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 c76fc9adb000f3ff88d0fc4c557f599902957f8441d1b77579d9a0c3c4c95af8
MD5 76d1a4591fa1783e8d918d129669fe97
BLAKE2b-256 9c7f914544069e4653a4e560d6a0585790b778e1a6e85cd72559fce11e3349a1

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