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

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

Uploaded CPython 3.10

unicon-23.6.1-cp310-cp310-manylinux2014_aarch64.whl (12.7 MB view details)

Uploaded CPython 3.10

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

Uploaded CPython 3.10 macOS 11.0+ x86-64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

unicon-23.6.1-cp39-cp39-musllinux_1_2_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.9

unicon-23.6.1-cp39-cp39-manylinux2014_aarch64.whl (12.6 MB view details)

Uploaded CPython 3.9

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

Uploaded CPython 3.9 macOS 11.0+ x86-64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 11.0+ x86-64

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

Uploaded CPython 3.8 macOS 11.0+ ARM64

unicon-23.6.1-cp37-cp37m-manylinux2014_x86_64.whl (10.5 MB view details)

Uploaded CPython 3.7m

unicon-23.6.1-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.6.1-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-23.6.1-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f78b587c380016b7560ed74408bd644ea76838b81b4bafb289195fa31c5f9e94
MD5 92987054a1f6dcdc74627f06917a4af0
BLAKE2b-256 aa3fac860485eb9f010d8c945a7468ab97f7a41cf13f4faf51f394f336512718

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 95eb5d9df581b53cd207678514d93787eb4465865cd1eaf4d5c5eeb5765f2a97
MD5 e75e15eca03dff98675c37c2fcf126d1
BLAKE2b-256 70bd36622fd4bafc775d9af1907d98e33727b267790808d1c289ec75a40a8605

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 eb3ab80a5e86e6ad748a24f0fcc5439216092944b54ac13991485cab959c9edb
MD5 691370342bb6787e67100ee18d9e209f
BLAKE2b-256 57ff26a215edad4733124d772c940b715f81f43a2204ed8ee3a145d1e5324323

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6d15868783039d3294cd914b9245fc21ef54eaff3eb64c39b14a0b5bfdccebe6
MD5 af2f3fcc2df2f6ffc173a11024921493
BLAKE2b-256 e3aa96941730f650d58744c9a8ffd30297d0bb34fc0f87232c368b5aae280995

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f2847d1cb9f1147c0c26f7114d9c6ac9348d0c7adbe5c0b8415a2421bc5c0233
MD5 476d6322d115e0c992dd5053c8f8d542
BLAKE2b-256 6bc146d137bf22f9045dd9ad44781cf069c53d4101e54416de5b97388c9b48b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 762f67f0a6897ef9a1f09339740f1ced851b8f64b2315d914e29a1a1bf14689a
MD5 33e98a774994e62c6a503a97e63081e4
BLAKE2b-256 bbf7c8240e2b734145d323f7ceaa0fd239586fef9f9e6175566ce44f56aceec6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 059a6548f929565f1a8d0165e7a7b7aa41980a9a68b1f7c955fb57f45872b240
MD5 0973cfb25e7153d17a56627f152c02b2
BLAKE2b-256 3e8bb55caaf0cbf1c368178856385fc39bbddce2895fcaec70e9307f546e7550

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 f0340717df9425070760b3ccf2c33d8c1c59cb41824b50babe7e6406493d2eab
MD5 e33ce0d565f9967ac0a3d7f73e0eae85
BLAKE2b-256 05698e7ff2465f7c9929c0f8c1a94671e0ab2d56ec56edda326b66e06a341f15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 008e63235fd549314041efeadac592016f131bb8155fc420f86f160e2da52791
MD5 4344f95fb77b71438bbee2fd9942a516
BLAKE2b-256 eea86f93edc97f72a628786e7bac5b8f3162b75e2e953e1daa79e5a50fcb7fc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d6c562f978b87e390048f25f0ebf7e3899ca2d4335b19c601265d62fc08ee34b
MD5 084e635f08ab7db05130901962bc201b
BLAKE2b-256 2a0131702b469731572ded238211d445070c9e47b16f89c9d8302423e48a2f4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 568544a85d0e8cc67ae02f9e64ec0b2561f295648032c0f05c679b80133f830f
MD5 860ba185055d29e88cc8ae58d004e611
BLAKE2b-256 b2366e21db3510e922a9ef00f93b2621b218be5a3e493796bec0e47d34f2066c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 714db65b571e7e23a4e70ef40298e97ae111dd2a4ea5a6f7f668a5b71e1fa102
MD5 04a049ce54fd4599931c5699a6c4fd35
BLAKE2b-256 123ea90ffd3f3c1358027c89b8e4be1e2605647cd86653ca958deff8a701ade7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a7981992b4acb8b1a30a32201cb3853bd518dbb68c3ffec6699e5ed8ec1a06f9
MD5 a6b34ba157420bfcec5b5be05ffb555c
BLAKE2b-256 679f236bae7ae839d59b3bf3a24466f6909fc7f75f7f262dcf17e3e601feca73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-23.6.1-cp37-cp37m-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 aa2a8b63ef9e8c7da2df1013d90c670467efd340a572679e1565c62b23cd7bd6
MD5 1c72f1836de8303294d29a9193ac9073
BLAKE2b-256 ee81a7d872af7a7dd9b8d30ddf69c129e1069c9f3bcce648f6f95562cb60c12a

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