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

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

unicon-22.2-cp310-cp310-manylinux1_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.10

unicon-22.2-cp310-cp310-macosx_10_16_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10 macOS 10.16+ x86-64

unicon-22.2-cp39-cp39-manylinux1_x86_64.whl (11.7 MB view details)

Uploaded CPython 3.9

unicon-22.2-cp39-cp39-macosx_10_16_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9 macOS 10.16+ x86-64

unicon-22.2-cp39-cp39-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 macOS 10.10+ x86-64

unicon-22.2-cp38-cp38-manylinux1_x86_64.whl (13.2 MB view details)

Uploaded CPython 3.8

unicon-22.2-cp38-cp38-macosx_10_16_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8 macOS 10.16+ x86-64

unicon-22.2-cp38-cp38-macosx_10_10_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8 macOS 10.10+ x86-64

unicon-22.2-cp37-cp37m-manylinux1_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.7m

unicon-22.2-cp37-cp37m-macosx_10_16_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.7m macOS 10.16+ x86-64

unicon-22.2-cp37-cp37m-macosx_10_10_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-22.2-cp36-cp36m-manylinux1_x86_64.whl (10.5 MB view details)

Uploaded CPython 3.6m

unicon-22.2-cp36-cp36m-macosx_10_16_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.6m macOS 10.16+ x86-64

unicon-22.2-cp36-cp36m-macosx_10_10_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.6m macOS 10.10+ x86-64

File details

Details for the file unicon-22.2-cp310-cp310-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 11.9 MB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5508624d4954282bc39a41ea583e91c767c2273abae6f57795629e5cb0b3c9d9
MD5 ff98224808588d97447cc198de9a7f72
BLAKE2b-256 37e433898e412cd5cfbe9fdb35489e383d0195f07ff67f2e9190f2710d77cb8b

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp310-cp310-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp310-cp310-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.10, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp310-cp310-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 8e38cb800a39d30513b7a109c9139f84c86642d067e3426422601ac7cd67c325
MD5 954c3b747863f78ab7b3f9822fab5056
BLAKE2b-256 096729d6c78a20ce498b274ae52ae70763c580f2bb3a96f2ca4bad887e7cd6a7

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 11.7 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 14857bbd79b5c41697f44b181fe507e568305b13264882b64a1ac61ba8153be3
MD5 4810791ae62167edd19b92e1e43fdb47
BLAKE2b-256 287cbe1190dfcdc54a3eadf8958cbbb7245c82df5a6fac828554c006bf6db968

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp39-cp39-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp39-cp39-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.9, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp39-cp39-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 08039c7d77c3f21bc6bb60bf87651157ffce898f8ef80af06d466a4675f65ded
MD5 0e66fcd1989842e4156fbdf5ff53e763
BLAKE2b-256 64757a3b6c246801e3708d9c90b551949c6d1d596171dbaa07de8cefa9fa3698

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp39-cp39-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp39-cp39-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.9, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp39-cp39-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 91413bd75d6d0d68cf2b972dc5d347f960700422ca23b75be66602c92a5c675b
MD5 078e897f9a9f1c9db8a3055241e5f9e9
BLAKE2b-256 9745f8505dd59afcf01ae29892b1347c3f92c1da7fb5ef433f2129233a135e5a

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 13.2 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e00bdf286d5f6dc6f20352fe026e1707ec1d80f790a6a3adc37b0bfa9718457a
MD5 329fbd0be0b4a08428ff66c42439c7ec
BLAKE2b-256 14f06b82ee2e298a1320a30b3c870039e62d3edb576dd439fbe84dba19d56f2e

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp38-cp38-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp38-cp38-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.8, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp38-cp38-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 d22e0b318b5c0b535104ff6aeef7d095a4081af0db0e24d2d555c950d2dedb92
MD5 6638e88c49e8609b752a918592f15c1b
BLAKE2b-256 c123260b203460fdcbea11c2dcc4a6f9b9a3be661d50c9ff4433bb04f5c8c373

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp38-cp38-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp38-cp38-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.8, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp38-cp38-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 3dc05e1f2fb82453d93de303d3643a94cad74a482dd80f150b9a69c0fa7dda59
MD5 ba50dc5928505cbf18bad40081734ec8
BLAKE2b-256 6c21c2e9f1b12ac81a0ef38e9cce0105a9a426a2a27d0626be92a7d78db5328c

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bafd3424d755f669c1be2a31791edad807f261395542270017f0961f07976b8d
MD5 2a39a217a6928d145f89cf119f6e8702
BLAKE2b-256 ac93249c4039105c42919233562e23615b8c0d638c6643e4fecc3c6363ef1bcf

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp37-cp37m-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp37-cp37m-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.7m, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp37-cp37m-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 13c389ff732580bd915c48d60db2fb6e7bb7e7219e57366b00278925eb1a889a
MD5 31123e966ceadda592d7e2e1f4c8e67e
BLAKE2b-256 4bbdac87b04eadd74204d49d72936aa6af20c091a0f78e82cbede3dff1a40c2a

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp37-cp37m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp37-cp37m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.7m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 1a12363bdaa6ff7d205a5d1bbf67d1a1d1c00ea10178db3470ee34f87b8e1d24
MD5 40ec5b7062f9d4c4e93878f44dbdc3af
BLAKE2b-256 7fb6ef6162a11399bd04571993c151085a8bbb71d8cf499f45060857e38681ab

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 10.5 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ecec68592501f57676e7a80065c12b14dfc107bc6145331af0f00c57929971e1
MD5 d44d5f1a8c2cf1d46959410b677d4d93
BLAKE2b-256 ea15edf33ede722d94bfce621abf9fb89d26b7838b2f9f3026ffefe0e67588bd

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp36-cp36m-macosx_10_16_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp36-cp36m-macosx_10_16_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.6m, macOS 10.16+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp36-cp36m-macosx_10_16_x86_64.whl
Algorithm Hash digest
SHA256 14f9e4e2c1b944ffd4ff1323330cd53731c0c7526b928589c5ca405510b01b11
MD5 3edd0dca997d48704d65065ac3035d37
BLAKE2b-256 84c553248390654d5502ab2d37dcef45cdb2322ebfdabb3ff62be49241e73030

See more details on using hashes here.

File details

Details for the file unicon-22.2-cp36-cp36m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-22.2-cp36-cp36m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.6m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for unicon-22.2-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 058af14f7410cde36d4ebdb1f91828baf92a0ad7d7440942ff2ff1e4dee16879
MD5 afe74722a0f8ab6aa7454d05257ff9dc
BLAKE2b-256 9e52f352b9a2faff3b4015c046f94a60639a42a68917ece4b2b8d48d28ba9786

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