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

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

Uploaded CPython 3.12

unicon-24.8-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.8-cp311-cp311-manylinux2014_x86_64.whl (14.8 MB view details)

Uploaded CPython 3.11

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

Uploaded CPython 3.11

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

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

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10

unicon-24.8-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.8-cp39-cp39-musllinux_1_2_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9

unicon-24.8-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.8-cp38-cp38-manylinux2014_aarch64.whl (14.7 MB view details)

Uploaded CPython 3.8

unicon-24.8-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.8-cp312-cp312-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-24.8-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 faeef31deb27825181ff05967272caaacc4c531b6b5db2d9cb77c8e728111a79
MD5 cbc44c2b7f0b38261c71f5c89da112e2
BLAKE2b-256 c9332a84ac27cb1739f9964f0fe42ff07f1fe23f8cc9df9b83e7389b373a10e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 eed0573537898276ed08812f019bf8de73eae5c495b1a85d5babb139c43d8090
MD5 a71ad48074e3e7297a0fd1213af5890f
BLAKE2b-256 1001f7ee2edc47408b981168b7ac17d4c54bbcfc0c60823ce7f3497d89ba1437

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b173b4dc6e85104b56b1690d1698d991711add09099761d390c3197577ce6eec
MD5 d044afd4460c5b08b645045149f5dcde
BLAKE2b-256 6de0781e53d948633de15dcdce1a39705c99c3918542aaaca645ffa6f52d3a02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bfc6a3feeae9f34301b68d12a94a8462d6c331c0e5b0e5282e08d600490fc233
MD5 6091cbe79a91e781059c04be378d6527
BLAKE2b-256 5f70e1fb0ff3a8a52447c48dcfe8695859fe470e636902bfbe36542d34ba30c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 cdb4ab7994ef1d35a6d5f03232410eb4117981182737a2af9c79a521bfdcb9e8
MD5 327e35b065358524165b449204cd20fe
BLAKE2b-256 8ce6c346f9c9af98071fef2302381cdf01c6022b1b3b109f1784a525e6d1935a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2675ae0c46641b4dbdbd0ed5fadc840ef2041166f1e47a112b2aa6a762654aa3
MD5 b417ea4f19027ee0e462a3d55d9a3977
BLAKE2b-256 2deb5f6fd67f9e0634efac0cdab61ed6c4a848dbbef6d49b58331b4f64f180e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b53946c70a23c2f3c350fca1ff1f27f8e2169afca2d1e725de64f16955b81687
MD5 38fc65bc942d2edd2486621953d2f26e
BLAKE2b-256 2dc26fae18876de4b79037aba4b5ff5b4f17a31bff135d0815c05e8f2e84ea6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 add01b4754bf2027994e95f02cb4d05de69fcd094c44d730c13dd7bf23451cff
MD5 ed1ce13a8dca04af2369f4da052da918
BLAKE2b-256 ee9f55b6fe9293c13e7cf9895a75a92980c31f312f05f38a018008073006a42f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 859875391b147933c45250caf6af434c36f5540901af836a995f250039ba9dc0
MD5 b8fb182d818c1d3878da0aba3bbe6ff8
BLAKE2b-256 3aadf045862068a9926cc8a1a12bbe0b5193abad17c40e47a804a3275f6fbf0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bac0767667e42033a1700501225952c346695ffc6ae8859d99b9ba6f9dcb69d4
MD5 2623943d34088691b148e762aaf0c8bb
BLAKE2b-256 41d260979adb89234e809da2f42607895c3793c6432bb24085f64c795b4a5475

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d7b4fff2917e7eb5f08fbaead681e539309e935280c322e468b3132b37443892
MD5 542010aea9e5a4c3c53cd0c85983a9cf
BLAKE2b-256 7f53b9639d8edeec21ecab36a042d3cfd5322e011c1c141369774461cdf2a962

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp39-cp39-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 2d02fcd44521c95769be20afcfb421a924567d72dc5c20d01cf808b7f7f53ae7
MD5 39281486306fc814ee631c0df8674256
BLAKE2b-256 fbe90e9d843db35932eec0fc797ac46b1adb022c77a3e70a4ba8fbce2b589307

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp38-cp38-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8c5cd3fc0d41438f528b2e2e1da1c724ca5be2d0d1d8802e2f0caab5ccd73609
MD5 88fa1946a49a2b39a743110492c1b287
BLAKE2b-256 262712d94a5b53396cd182daa847a5449a293adca8dc6e247af10d33d860a0f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.8-cp38-cp38-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 8952a153b50931eeb32adfc62fa44a69402e50803502e5f4a8d9c2bdf9ad5b82
MD5 3c51f4271b03da2c1abfa058df8be484
BLAKE2b-256 68060c7e9ef2eaa2f205b955d27006662639bdf4155e37f6981587271ec587c2

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