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

26.3

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

If you're not sure about the file name format, learn more about wheel file names.

unicon-26.3-cp314-cp314-manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.14

unicon-26.3-cp314-cp314-manylinux2014_aarch64.whl (15.0 MB view details)

Uploaded CPython 3.14

unicon-26.3-cp314-cp314-macosx_11_0_universal2.whl (5.1 MB view details)

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

unicon-26.3-cp313-cp313-manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.13

unicon-26.3-cp313-cp313-manylinux2014_aarch64.whl (14.4 MB view details)

Uploaded CPython 3.13

unicon-26.3-cp313-cp313-macosx_11_0_universal2.whl (5.1 MB view details)

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

unicon-26.3-cp312-cp312-manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12

unicon-26.3-cp312-cp312-manylinux2014_aarch64.whl (14.6 MB view details)

Uploaded CPython 3.12

unicon-26.3-cp312-cp312-macosx_11_0_universal2.whl (5.0 MB view details)

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

unicon-26.3-cp311-cp311-manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11

unicon-26.3-cp311-cp311-manylinux2014_aarch64.whl (15.6 MB view details)

Uploaded CPython 3.11

unicon-26.3-cp311-cp311-macosx_11_0_universal2.whl (4.9 MB view details)

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

unicon-26.3-cp310-cp310-musllinux_1_2_x86_64.whl (15.1 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

unicon-26.3-cp310-cp310-manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10

unicon-26.3-cp310-cp310-manylinux2014_aarch64.whl (14.8 MB view details)

Uploaded CPython 3.10

unicon-26.3-cp310-cp310-macosx_11_0_universal2.whl (4.9 MB view details)

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

File details

Details for the file unicon-26.3-cp314-cp314-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-26.3-cp314-cp314-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1ba6c4e468aca1a1f2510d9a61378a7c081e30dda36dfd2cd76ab6694494d9ce
MD5 c3926c7279aeebf4a9098f86793d9f6a
BLAKE2b-256 24003fa1f504a627f7691697b0b5a7da82b53204d75efca3084e7909adf51c88

See more details on using hashes here.

File details

Details for the file unicon-26.3-cp314-cp314-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-26.3-cp314-cp314-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 63e162bd07139cc22cf1b5b020649899a5fb167137651db11700eb3265d4ef3a
MD5 8d6f95177dbafa3beaed0a37535bee9b
BLAKE2b-256 3a1e5e2a180fff31cf1efea0f0b251621f59712a6bd57ffb16e8589c826fb02a

See more details on using hashes here.

File details

Details for the file unicon-26.3-cp314-cp314-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for unicon-26.3-cp314-cp314-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 31419016b2f84e7f95e93e6b0a451ab3ce361d6b9b787c0af38190f0a90693f1
MD5 2e770c7dcc7f31a02823b5426fdca35d
BLAKE2b-256 85200164ca795ee8be0d546886ec793122119476ed82f17ec5b6f3f8b4e9692a

See more details on using hashes here.

File details

Details for the file unicon-26.3-cp313-cp313-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-26.3-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a9d456ee0aa9d4adc6d09133c96c7726dc7999787e32d5acc7703100c9005b40
MD5 09a3a3545752480ce8647d5fb4088f28
BLAKE2b-256 89ffb933681a3cb6b400479cdd66057a782174d9bb565421ec6369dae3b5d8d5

See more details on using hashes here.

File details

Details for the file unicon-26.3-cp313-cp313-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-26.3-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ab77a16022de332084f64efa5761a81a715e94ee8c0da9f5e1d9feb0a3f9958e
MD5 4d41b80ebaa8e5f894985e6472f5219f
BLAKE2b-256 31a77c5780719377b59a4443e58ea5d16e710161b3d652510ddf33b454a53630

See more details on using hashes here.

File details

Details for the file unicon-26.3-cp313-cp313-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for unicon-26.3-cp313-cp313-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 2d9a63080ad261f0117bb1c93e2fa92564bd42780ec7216501f2b24ed41a5785
MD5 cbefbb5e002cc78a6f94b6e536a51f6f
BLAKE2b-256 0cd01d2f621ca959669d65fc51d04850152b2342274e36285fc8b8985ef3c191

See more details on using hashes here.

File details

Details for the file unicon-26.3-cp312-cp312-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-26.3-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1faa4c98e89b62f0fe5fd118bc22244c753aa2aa600e1ca09394e2ccdd9946bc
MD5 9ce8d879006c0802613a3e8bf028d00a
BLAKE2b-256 17ab04d9cb158a25077554194d3f888d556ab25b4e9a91a648cf6a16bcff5a02

See more details on using hashes here.

File details

Details for the file unicon-26.3-cp312-cp312-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-26.3-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e80f66c2f29954f8a7c17c0b809af2071f0503733302629437de61d05fbde176
MD5 d1fe5993767ee31c6212a041ab6e261a
BLAKE2b-256 7cd97bc4d09774b08da19124784da639ebb63cd65ec432a7f5d2ae169aac7128

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.3-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 a3ca68f8ce8f3f529be3c2a1153a259a8d0d7c3cb6a8a521d74654b93530cf12
MD5 d7a2b981b38953c71b008d8364850444
BLAKE2b-256 caf4e4649ee446cac9f440af800945304b424de41be48811f1734733830880e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.3-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ecd38cc04f63d35e1522460f5907c4bf08a6bfe372a9d5545dbc132b819b7851
MD5 8089fe5c13463e78c2974d71270a9a19
BLAKE2b-256 04f86d6f03b5297cc66e84803d8c8a1bc8659a2a6b94a27d115bd0987247ffe2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.3-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f145a137c207927224c2bd08d7ed197748e4fd9d957f15d6e5b450c51824ca82
MD5 83b870042d9a850b2a55652a3df1fbb9
BLAKE2b-256 57a84ba97f3e9c3781ba1964857293c728a2c575767bd37cf6ead8c0cd509e71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.3-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 cca1688008369f33f7c267c34461ed388858f89d99418641fa9d33a438924949
MD5 310e289f1e400a11eeeb5a54942a19b1
BLAKE2b-256 e37c7225ccff9c3f88ba4f3329205efa5fdfb2da70bbbe04017f03ace49ed495

See more details on using hashes here.

File details

Details for the file unicon-26.3-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for unicon-26.3-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1adfff33b3b27bdc0f34f3410c1cc9733193d6e50aa6cfea5e43b0203423b88a
MD5 4d8211d736c2fce85b1d88ae0a54d746
BLAKE2b-256 60ae5d5b9d34c420c02b8a8fab523c44219dbf182ff56866b00a5cd0b6f07854

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.3-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57931fc2ca72aaa1582779221de238dacc07e8b8750ba2ac58405675b0364d74
MD5 1d5857cbb3af25382e39ca1daff3e98c
BLAKE2b-256 0a488a06c4ce722fcc409e6697e19e242a50735521072679157d09ce177639b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.3-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 58107ae896a9dd8cb1263c101328d4da5ae9864d4a655c69e1c7e88ed64e63dd
MD5 d0e7063e4a258413d1143bc5138f10d7
BLAKE2b-256 e09306727918affd8a28d507e719fffde2b439ccc949000f8e002e4f684b02f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.3-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 277e5dcfef6863b88b019f750b591032ae03af65d5755292fc1bb699b2000b70
MD5 1b69967b8cf76e73b10baf1191fd9e24
BLAKE2b-256 5de89ed1330856b9055a396dd363b225aa60eb384a91970ca0d8c10bf51cea9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page