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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

unicon-19.12-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-cp36-cp36m-manylinux1_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

unicon-19.12-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-cp35-cp35m-manylinux1_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

unicon-19.12-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-cp34-cp34m-manylinux1_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

unicon-19.12-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-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: unicon-19.12-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-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 04a5c5383763036da006ba2deec930234755a37c5c7e07d1d2032d668232858a
MD5 6be2eddec089fb128a12bf68116b6251
BLAKE2b-256 acfeacf71fc90f42b8babadde4a2bf19a4ad7e02c1b1bae60b388d6188bb777b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12-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-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9b969d4925e798c3a4b26a199f063f57258f7135eadaba1c016e69aeeb1e0213
MD5 6b77a36aba8db5b04bdabda26716ec0c
BLAKE2b-256 9c74f88d0dd85da49262a916e6ff18a10bdf05ae9df41f9c90ba152434f800f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12-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-cp37-cp37m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 a242ccec4b95eb04256ecf391dc7c0bb9f342e0066a3a2d9353b50fc25c11e89
MD5 7fc0cbba27654553056142f4bd69af4a
BLAKE2b-256 1e28f5e50484c9b1cd68cb03512583f2de7684265a3395c1d5a295cd8e13c2a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12-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-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 26b3d73d58edc515fec58f6a5a16cd80441c36a5171eb77fe84700b4fcd5d589
MD5 f3472fcba03bebced24e9af9814a1ec4
BLAKE2b-256 9a8bd69380d0df94f037d2729d6e9f281283b7986603b215a5aec597475dc24c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12-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-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 986de726f1dd5c1e5253aae2b6d97a885371b35631ec4a31644c92a335c1a3da
MD5 44c2080e105be3a581cc4d8d063ce5d2
BLAKE2b-256 90fd57cfb781b774070678ea0ae2c8fbaf715e54cc5bb407fbc5f992db6ce258

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12-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-cp36-cp36m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 1d94900c8c6356408cbc71e42328154d2d5f6cf9e301d62f29ded604f29d06d6
MD5 c27a1bd01b4277ab2e71d2b5ab9d792f
BLAKE2b-256 44fde2c0538893c13b0073d528de2623f673d70d66ab1b27ee40d21120900b39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12-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-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7869dcf0092c149890fea5fb423db3eb5d4b42fe3ce3d327cf653a15e672c060
MD5 369c98290c8c7178243612cf45350f15
BLAKE2b-256 65b91391c6c4ace0c2734554c2c8a64adcb258dcbce5828df9f7b18a0c8836f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12-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-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 41030b4b3f28c0d771aa26213aa3cc74a51811d44593235bf5de8e274bc4ecbc
MD5 ce8e82a5e57fc0cdd4bf2e815ac9d496
BLAKE2b-256 337fea0cab4c7a50474616c7812eb305fd8d07ebe4ff445f3fec98b51480ba7c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12-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-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 7e662918edb4de0fc0da80e44e718b95db208b13d9ae91ada3dac9cd4b0bd484
MD5 c7bd3514d41653fa6c7cf0273a82a18f
BLAKE2b-256 5c499c62f4a36fb3fae9c203aa250366794a188c55f1f0a7c111154c9c0f832a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12-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-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4036ca466f27e2c05564b4516589c1593ee0ce6fccc53976c1cd7d9468371357
MD5 3927eb96d34c42b82ddca81caefc1d90
BLAKE2b-256 3d359309080e42439cbdf42b9eebbf9ab66b871d2375c60d947e7084d98d4230

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12-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-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 afbee48ff7a2e985a49229e76b1129bc142886ee9a9505113099faa7236e5e70
MD5 33f8dd20f45f7e4d0b83bbebacd62569
BLAKE2b-256 ad592a3f19d755a6cb87b689ce3f4b23b5c5d3efa065d6efefd4bffd3e736c9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unicon-19.12-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-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 46181d99847d11ca163f5d80af13cd311e6dedfa1d5296b3fc309ecc9b5e0a0f
MD5 19c64df18e9349f20acb43eab37f3723
BLAKE2b-256 f282dce763ddd3c551b40017a3be005b3a63b18e4313515bd2b8429c6398c0b9

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