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

24.9

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-24.9-cp312-cp312-manylinux2014_aarch64.whl (15.9 MB view details)

Uploaded CPython 3.12

unicon-24.9-cp312-cp312-macosx_11_0_universal2.whl (5.3 MB view details)

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

unicon-24.9-cp311-cp311-manylinux2014_x86_64.whl (14.8 MB view details)

Uploaded CPython 3.11

unicon-24.9-cp311-cp311-manylinux2014_aarch64.whl (16.0 MB view details)

Uploaded CPython 3.11

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

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

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

Uploaded CPython 3.10

unicon-24.9-cp310-cp310-manylinux2014_aarch64.whl (14.2 MB view details)

Uploaded CPython 3.10

unicon-24.9-cp310-cp310-macosx_11_0_universal2.whl (5.3 MB view details)

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

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

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.9

unicon-24.9-cp39-cp39-manylinux2014_aarch64.whl (14.2 MB view details)

Uploaded CPython 3.9

unicon-24.9-cp39-cp39-macosx_11_0_universal2.whl (5.3 MB view details)

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

unicon-24.9-cp38-cp38-manylinux2014_x86_64.whl (15.3 MB view details)

Uploaded CPython 3.8

unicon-24.9-cp38-cp38-manylinux2014_aarch64.whl (14.7 MB view details)

Uploaded CPython 3.8

unicon-24.9-cp38-cp38-macosx_11_0_universal2.whl (5.3 MB view details)

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

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c69af339a7bac92dbd40e36a0f47fe972441c0fda5356763699aa423a1b6ed0f
MD5 fbbd8292240703a3f8f22a25b690e479
BLAKE2b-256 b3f4c6b0c30bd2b0fc7acf7aafe3a01bc52d2e6e750cb4202d2284c136b38c63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 ac80076be9be9a4d8675f1dbad62c041c94f5daa20903b42da07f9be2f9679da
MD5 b999afc0224d431d65bace7e2d620bab
BLAKE2b-256 65d4c3da6697b1aae9a40bd4558da77e12ab99cc62dafa794171128123c6b1d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 69d58c8cabd5c8853287a3f1c792093d038f1b28215947235169427c0f62be5c
MD5 d6517dd6354e6d1653685961602d47f4
BLAKE2b-256 9f617de10d9c9bfe3fa5dc09929bc7448b7ffd8c682863f77ed3e7d7cf8a4b27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7e4906ff426c7decf4b44ba64494d4e6bab7c8b30944fd4cfc9d8e4c0c3d8c61
MD5 6d51577fe310a75e995c20416250093f
BLAKE2b-256 6d5f551cb9e50cd87760f3d9e48e384cb8c5c265245849ae801b65661833dda4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 4a8bb828ec64a6905743f8064338b5cb2e206f12d0ac60a58856b93b801ac0bb
MD5 f0553fe0ea195a813e0572ececb2503c
BLAKE2b-256 349d322c71d80c52b0e6810e473e8cc6ddab680afdb56a18cca9bd94c4a93bb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6f8e53c293c1afaf7db9ce07bbb7feaad3a1a35d96a1976a6c7bb9aa8370f6d8
MD5 f1bc8f4c4686228043544076d73ee579
BLAKE2b-256 1db66a0b2bd182356f6e7b8d73707c17a81532eeade3967d73034ae0f916ef27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 41b1e25e3f4196d6fa8a73d4538cdabd828570dcf8844a3009ee1ecd647e7b80
MD5 69fc0cb9bcf417eb2b199e568fb0e1ed
BLAKE2b-256 4157640ca2e22b5aa3e13387893231e248ef8850adcac7478a89f8ad6a769b21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 c7464f9abbbdffa79649c9ed7256e1adac18116b2974ce45c2bb34661a611cc9
MD5 75d53ccd0592e578f54df2f835b3f153
BLAKE2b-256 1494dffcc4f4a4ee4f6e023ce45f930011cc89cc6a716daa16a8fd8814e6abac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ec04a0c49639548ee5840932544c213384e07856fccb4d3387cbab27c6729c05
MD5 1089c25e33815798467583adaa09a6fc
BLAKE2b-256 843e4211e5b13a880aab673cca2799bbc1fd0222bb3ff3862d5199bf89252c92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 be6f81f52bd3259c1bc65b88e55fde18abd49941fa771ebfbe27fdd5dbc8760d
MD5 1ac626cd722c85702c70d13e0fce9dbf
BLAKE2b-256 3cf68ba1d5394079be28438e67b0eef2743391e092f20efdbb852cd440a5bf4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 63879844d4977473a98076b3487a07c37d5c03d88e954fd9323ebe5300f8413b
MD5 9551145d98f964d6213a2a6bd912ec07
BLAKE2b-256 ba524854e1709ea891caeb4ec55475c44ce938f263f9c44b47aac3bda625b186

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp39-cp39-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 c05ee7d49fca620b8aa3c0819e90e488964c7364cb0cf8823df9676361e71d68
MD5 bdf05837e9f112e8cb8bd9e51cb5b2e9
BLAKE2b-256 fcefa75b0749fe1c4f748ae10802aff4b377f7471b2a26bb58f5e8c736c16562

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 365ef714ff58b54ac40845bcc799a4826c2661dd388905b8d4b68a88ede76878
MD5 af96fef08cda96ecc624a1e906217bdb
BLAKE2b-256 b2cb16a61a66386f225f982020ca879c1c976bf555c0db3219264b286d8a8474

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp38-cp38-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d876712c1aca5b7cf3b75c34b89822d8f6776ecb2e6270ae0dcb9d6190767ec6
MD5 bc8bf63734300e4448bb6ffb56cc9cf5
BLAKE2b-256 d6e90abd487969878ade939fab65ae4d759a2d731e4f1901c5717a8ed0540f60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.9-cp38-cp38-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 ded6b4e276cd2f8a88d2a1cf07c60bb1ce0966c2c3728a1eb22061cfd2fdb952
MD5 7d6c5925a15974efaae6f8418b3f9f37
BLAKE2b-256 f99552fd6fddefb61b5a6c226c44cbd577e127f86860c4412980f90bef270a80

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