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

24.6

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-24.6-cp312-cp312-manylinux2014_x86_64.whl (14.7 MB view details)

Uploaded CPython 3.12

unicon-24.6-cp312-cp312-manylinux2014_aarch64.whl (15.8 MB view details)

Uploaded CPython 3.12

unicon-24.6-cp312-cp312-macosx_11_0_universal2.whl (5.3 MB view details)

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

unicon-24.6-cp311-cp311-manylinux2014_x86_64.whl (14.7 MB view details)

Uploaded CPython 3.11

unicon-24.6-cp311-cp311-manylinux2014_aarch64.whl (15.9 MB view details)

Uploaded CPython 3.11

unicon-24.6-cp311-cp311-macosx_11_0_universal2.whl (5.3 MB view details)

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

unicon-24.6-cp310-cp310-manylinux2014_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.10

unicon-24.6-cp310-cp310-manylinux2014_aarch64.whl (14.1 MB view details)

Uploaded CPython 3.10

unicon-24.6-cp310-cp310-macosx_11_0_universal2.whl (5.3 MB view details)

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

unicon-24.6-cp39-cp39-musllinux_1_2_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

unicon-24.6-cp39-cp39-manylinux2014_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.9

unicon-24.6-cp39-cp39-manylinux2014_aarch64.whl (14.1 MB view details)

Uploaded CPython 3.9

unicon-24.6-cp39-cp39-macosx_11_0_universal2.whl (5.3 MB view details)

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

unicon-24.6-cp38-cp38-manylinux2014_x86_64.whl (15.1 MB view details)

Uploaded CPython 3.8

unicon-24.6-cp38-cp38-manylinux2014_aarch64.whl (14.6 MB view details)

Uploaded CPython 3.8

unicon-24.6-cp38-cp38-macosx_11_0_universal2.whl (5.3 MB view details)

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

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e4b996ad83c3d32b728a3d853fd429e5a7d64cc030827d72f621c187f1fab02
MD5 7821976963de221ef811d881da3d973b
BLAKE2b-256 7ba23ee4c5b861f172b589e39e356e8b8bf0753d7b02b4ed0a11b391bd69b425

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 497080eeeb57a7241afbffd2494404c5439ca9bc9a26729856bd31f7f84028a3
MD5 8b20aac6ea2a470e7505eecbf8b93500
BLAKE2b-256 38f6511437e0a2520453126e076229d8aa3d3f57bf97045703f4c2177ae3e3fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 574debb57b4275263eed2b4d7b322523e0805d61ee8988581df996f55820ef02
MD5 273b1553b96d1dfac2074fafe630502f
BLAKE2b-256 6bf515e22239b33d9a12e9e709742be8100231fd81253084f1a50a297c62a96b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 13bec6229c103bf36167e385a1604d17c6fd0a1806b240e27908932aa945d817
MD5 b73425e877843f4208ab8023b3242b3a
BLAKE2b-256 caba1495e835ff87e4324e993735edb408a5282ce3ddb20d49d28807fa79a70e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f3a4b56ed798473a6f4a5152c4353a0d699157c94ad39afdb154677e32b991aa
MD5 b99cb56c229755fa65444307ba309481
BLAKE2b-256 561ab6508cc26bea3ace079642ce90a436b2eacb9a50a7dd3d674b3976c7abfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 e665afb7db64202cdfc7baefd2d310ce6dd673718e1bbe262dd04caa20f38bc5
MD5 913ff1eea8da45875e5bd5cca9f7c632
BLAKE2b-256 7650651cf75abc0478679ffeeace9fe3049aecabf78f5786f56d8ac4f16d09ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e24a95eded51f3a762cb110d5348de2c766905320df266c086f938d2331a4686
MD5 cc120b12daba2e852bd81fb5c3667a9e
BLAKE2b-256 013b64c4f91e0fe0e18e85e595f477f80ba1a1801dfa8946f35e12ac17101459

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 03e07fc3d3cce96612b2b7dcf27af654608dbf5641271eb1939e0a2fbab84b45
MD5 4eb7c48a8746f4c403c3d8201c546c1d
BLAKE2b-256 06431bb0aa5120238b3fd1cb53436add48d6a187ffc344ac342568c5639c99c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 12fd03ce82a9878c2de5037eef7240185272cbc2cf5f9505760982e9619e1eee
MD5 8b5c5bc288d65d6f0cd34cc6db40d5e3
BLAKE2b-256 d8dfe63fbdeb08991b04a3d8f2ad9079300ef78cf9311f2609e8a38b27c9a232

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 15199fed580939809a8c3cc9942f85aa5d18a1f65956d1a398b9e73d1247965d
MD5 d9785029aceefe3cb0df40ee56d7b77e
BLAKE2b-256 750dc8df17598e66a37ea90a3136020c744d846f04ba6949505708ae53e52d29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39107b21146481873134823f29dc167b951602a42f4f54f62e0c15e1e8710923
MD5 25390a6ca7a474b3db89d3de8a72d2a2
BLAKE2b-256 a43117b9ef9fe4d28436f48013783217c8f7e03c3026875ae3318364c9cb7fb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1ad47fbf42498dd7fceb8f2f19e11c5b77bb1b6ecbb0352f5b66fd38537df98f
MD5 9de1ef011935550185d0f1ad2a9c7d84
BLAKE2b-256 bea1a92951c98cf26b360863adca3443e96840b560bff1ef950e647799fac3da

See more details on using hashes here.

File details

Details for the file unicon-24.6-cp39-cp39-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for unicon-24.6-cp39-cp39-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 1c28a0278bdc82236005cfcd679c80d0fe0792d48c06982f71ef05cd2a1d0339
MD5 49a4fed7038f49e4132cea9e0eb43288
BLAKE2b-256 fcd7f9fe951685f2d8c2612e34cec1841121fa4c0af9ab1f2bd669c021d2a699

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.6-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 edd34071905e5301df8a8015899c91b9087556b679302d9c6897b7535e459ca7
MD5 d19de052f8594d52cdc77f4681d4a310
BLAKE2b-256 2a4aa778b388ef5cd079e7701f9ef740aa0532d2e023a1891f515a354503feac

See more details on using hashes here.

File details

Details for the file unicon-24.6-cp38-cp38-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for unicon-24.6-cp38-cp38-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8effe50bea972f0c6298913eecff3b4ffb1aa14bd00783c7dedec25646e2b983
MD5 eb706b43727451ded3c539fd7502c451
BLAKE2b-256 db6864bfe5a8165dd9bfbe9cbc2ea8dfa31243a9ab768c3a87ddb25b5c135f04

See more details on using hashes here.

File details

Details for the file unicon-24.6-cp38-cp38-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for unicon-24.6-cp38-cp38-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 5c68eefa90261b3afbd3ccc9e9734dd003ecedfee3f4fc45c4faf41bf8979069
MD5 2bfa506c65c6e5e7c44cf422e8e88575
BLAKE2b-256 b3a2b2e8823279e238a01bc5d9c45a2a2669fa36fb79173b434584a41fdd4cb7

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