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

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-19.12.1-cp37-cp37m-manylinux1_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.7m

unicon-19.12.1-cp37-cp37m-manylinux1_i686.whl (6.3 MB view details)

Uploaded CPython 3.7m

unicon-19.12.1-cp37-cp37m-macosx_10_10_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.7m macOS 10.10+ x86-64

unicon-19.12.1-cp36-cp36m-manylinux1_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.6m

unicon-19.12.1-cp36-cp36m-manylinux1_i686.whl (6.3 MB view details)

Uploaded CPython 3.6m

unicon-19.12.1-cp36-cp36m-macosx_10_10_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.6m macOS 10.10+ x86-64

unicon-19.12.1-cp35-cp35m-manylinux1_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.5m

unicon-19.12.1-cp35-cp35m-manylinux1_i686.whl (6.0 MB view details)

Uploaded CPython 3.5m

unicon-19.12.1-cp35-cp35m-macosx_10_10_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

unicon-19.12.1-cp34-cp34m-manylinux1_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.4m

unicon-19.12.1-cp34-cp34m-manylinux1_i686.whl (6.1 MB view details)

Uploaded CPython 3.4m

unicon-19.12.1-cp34-cp34m-macosx_10_10_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.4m macOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: unicon-19.12.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.9 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9c4bac522756205352ac2fe7f242994fa0beef3519a95175361ec45f7ad46043
MD5 02ef92f16fd34ec876a490d9a4631352
BLAKE2b-256 88b1ceeee3b5a52a91f72efee4e973097c6a24baae86bcaf67a4dcb7f289d2e6

See more details on using hashes here.

File details

Details for the file unicon-19.12.1-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-19.12.1-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 09908c5f57cc1a0718eb506fd23bcefd3db1391a6d885eaf255f3b605c64b7d5
MD5 08ec867a909b30b03dbba13d3ff10a34
BLAKE2b-256 7f8a08420676d8fedde941a768f371cf820dacf648c109abdd00faea45a08b80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12.1-cp37-cp37m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.7m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 fd3013f19f5178f48dc701ed68797aeafc723fb36eefec7cb795100bce9d6f8c
MD5 bbb14609ae8f0721fa008dd6ad0afd1d
BLAKE2b-256 8e8825a40c8ec354a8ec7d37a168ea9bed2e7594d0e7321d77734d7744e75fff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.9 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ff5f3e341e7906f298f8f82e86bbd609195f9ed85bdecd0eaad2bbdf1ef75776
MD5 87b5d74ba67f98c632bc11028877ffc2
BLAKE2b-256 dff9881d9227849d255c925a91d7d6c716c08df64d04c3bf813494b6962c89ad

See more details on using hashes here.

File details

Details for the file unicon-19.12.1-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-19.12.1-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d9a35c3a1ef25fcf90773b5233e7a11de169764dbf74e93b49e46ff519f5ea0d
MD5 6b33d6a0edb7790eb2c72f1199624cbf
BLAKE2b-256 fb8401cc6c0daf765b6c462c2bd82d2bf17dc66d5afc39245fa96717cec52c39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12.1-cp36-cp36m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.6m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 c2578033ac1d27361f00e0d28c58b5056744cefeca45f3a934c6b58bbac4c21a
MD5 fb1d57757bb1bc8333525d31fc03693a
BLAKE2b-256 e024dc0e8692d035830c226318557ee0abf6887858c9661142448d4291513c4e

See more details on using hashes here.

File details

Details for the file unicon-19.12.1-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-19.12.1-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ae01be13e12df7eca13d282ba226940c1e9f28f5b3040ac51e77d86b563245bf
MD5 69952940ab638fa2ae01862968f36dcf
BLAKE2b-256 6611c9dad051699999c4a9d619420dd1d2aa14ebdef7b63b08ef1bf91bf93189

See more details on using hashes here.

File details

Details for the file unicon-19.12.1-cp35-cp35m-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-19.12.1-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f9f9a94f76b7ef72fe806988a26c926095b6672cc1a83b2a249e7f31109bb39b
MD5 4bc9194ee37507d09dd7d177c795d718
BLAKE2b-256 bc10e4ee9f80ac41b3e4e66eaaffaa9cd4bd3bd8ca151dd615282ded2b076b94

See more details on using hashes here.

File details

Details for the file unicon-19.12.1-cp35-cp35m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-19.12.1-cp35-cp35m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.5m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 2c7ed6493e030cb92f9abedbd7e53b7b2e1f9ca766bf86bfdb15fbb6d5b654fc
MD5 04f388449363b50b09a972f0424f0495
BLAKE2b-256 58b3b73e1412fa1ac8a78de82dbf4e2744487bdb18f46e61a20535fb09e074c9

See more details on using hashes here.

File details

Details for the file unicon-19.12.1-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-19.12.1-cp34-cp34m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8400b219d68c3984f69882749709678cfe47cc939563a2ae0ce976506b291360
MD5 887adc0cd41014d5fd02dd8ed174e3c3
BLAKE2b-256 c0538380cf269de0ea3e6c8bf82a7f7ee6a2ef5c6ff16f67a45bf04a66167f6b

See more details on using hashes here.

File details

Details for the file unicon-19.12.1-cp34-cp34m-manylinux1_i686.whl.

File metadata

  • Download URL: unicon-19.12.1-cp34-cp34m-manylinux1_i686.whl
  • Upload date:
  • Size: 6.1 MB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 31de360651049f4a320f6a97ee191f57fc3811bdcaa67463f3d8c3ced322b36e
MD5 f584a3c17ef45ed3adb8a2c4e7a2f544
BLAKE2b-256 20c46ece13c3adc5bcc14862d08fddb789f874f0591a7e1129b70364a28b1acb

See more details on using hashes here.

File details

Details for the file unicon-19.12.1-cp34-cp34m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: unicon-19.12.1-cp34-cp34m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.4m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.4

File hashes

Hashes for unicon-19.12.1-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 5b99974fed43d58e27c44fac19d468264f87de9cca939ef475ffe37f8743f18a
MD5 d6e4dfeec5f817db76fdafdbe5434a87
BLAKE2b-256 2a6062169b8013e37f920de7c37ee58ee6acfaee2793bd396a29ce627b930c38

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