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

Uploaded CPython 3.12

unicon-24.10-cp312-cp312-manylinux2014_aarch64.whl (15.9 MB view details)

Uploaded CPython 3.12

unicon-24.10-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.10-cp311-cp311-manylinux2014_x86_64.whl (14.8 MB view details)

Uploaded CPython 3.11

unicon-24.10-cp311-cp311-manylinux2014_aarch64.whl (16.0 MB view details)

Uploaded CPython 3.11

unicon-24.10-cp311-cp311-macosx_11_0_universal2.whl (5.4 MB view details)

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

unicon-24.10-cp310-cp310-manylinux2014_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.10

unicon-24.10-cp310-cp310-manylinux2014_aarch64.whl (14.2 MB view details)

Uploaded CPython 3.10

unicon-24.10-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.10-cp39-cp39-manylinux2014_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.9

unicon-24.10-cp39-cp39-manylinux2014_aarch64.whl (14.2 MB view details)

Uploaded CPython 3.9

unicon-24.10-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.10-cp38-cp38-manylinux2014_aarch64.whl (14.7 MB view details)

Uploaded CPython 3.8

unicon-24.10-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.10-cp312-cp312-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-24.10-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ec217ab297a311cc1bd8bdc582382e0e16c9d50bc6a64f96260cf516c7469e79
MD5 b4f16a4158667bbf11cdbe0f67f90141
BLAKE2b-256 303d403b59c4574a9f5a07a60e580abf39afc041bb06b8c6e44aa637bd79d610

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ab490a0807ad0c87db0ce3a2d6b60479fa93c18ef26d06fa34e1c3bcfd483d32
MD5 0ea72c15dc742b60ff8533cd3e939e33
BLAKE2b-256 b234c5ab6387ac9afcc95676e6aa966ac3fe11b237e1b4598073c519414a6bae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 c6d7e328c072f99b5840ee782eeced97e953058aff3ec613f37356cd3dda6eb9
MD5 fe0e9e24c5760434a49c56c7dcbea04b
BLAKE2b-256 7332de5dae018091f73f6b39253442da422b9f4a2a7cd9835988e060213fbe3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bd1ef3205b62c01bbf5834f871092e6122d88ff81f8343e75eae2a6ce2e1b3b3
MD5 83f6dc5c7e2bc5789dcbce7e56a37d93
BLAKE2b-256 eeed6ff858933cf27f106cdf2547a53cdd3f15cbbeff5b2d286004c1cf07e7c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fa924fe9b25e466be32771c8c63feb4a2734f8f65202253aa50fcd56b31c1417
MD5 53835d71e4ea6e7ea6151894827ae1a3
BLAKE2b-256 f7389cc66b787a386a77a163b0e1df185795976b36e88b326ca05ebd20bde9bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 5980b21368044ae0c653abd7c134b9b256872de823fc60df8e06ff14b511dc4c
MD5 de42bf67eed7ccf4e6ded1535f20e283
BLAKE2b-256 d4841a91a2ab935c675617dd567624dc80c8e52b35f5a873cd7bb22a275d48e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f9dcea1bc2d2efebcc84c3ca0c4b838a203233ffc54a76e569b709274c7d3546
MD5 84a2a09a7d054c3f78e732bed4bb0fc8
BLAKE2b-256 c04a21b99b7b12f6fbf30607e4cf22541895e3c7e01848c9d533cb6137fa5893

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d8918603acf231e7d268746afe4c5058ef4134ec9761778370e4bcf6dda415ed
MD5 ae7d2b0f6113b77911187ea538140398
BLAKE2b-256 41300a8e22eb440415ec92d24b5155f8187bf55202252226325c526be6b6c92e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 5c3a8636200acbae627e68d19569b7e3f970a593565480ea01b7beab01b4eacd
MD5 c62837f12ccf3759e806eacc603093f0
BLAKE2b-256 1562054ed57d844631ce1a5c4c88f949235012c95d28067baee6565872aa9e93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2dcd00c02aa3d6fe5a94d68826649f2cd43acdd05fd8ff534d60e5e76550b2b7
MD5 843c454828578ac26d9dc5f766d0e8fe
BLAKE2b-256 10bebabf90305d961ea762e425b6c4ac0663b90eb3d9a95c43b8e3b5fe251324

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8fb6f0b6bf9c7b7773cb0a1f8cce4ec8ab41b27fd0e007091299475665d47ce5
MD5 6772a7eb9aca89510661f1e4eb87b31a
BLAKE2b-256 3d05eb4160edf06bf28b1f27ad4a37e9a78d4719cf2b26b21e4160f85f619ea1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp39-cp39-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 005c920c4462e325205db0cfd2a291d7bcb9521a0062912ceedc0425626eda43
MD5 1ab45dded84d9ddf65104f645c7c4f73
BLAKE2b-256 0fd67c037490b21bbde10be505dbf533f6e7fff04071c0770f3d461fb822c5a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp38-cp38-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b1dc34698c00b4ee22831d6a6251c7f504cb7cfd5dec72b301911d58a1ceb507
MD5 696753c0e3205df179b38e35bcd64faf
BLAKE2b-256 f90f4bec5f202ee662fb1ee7bef9def697339fdcab9bc07d649d03f0852933ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-24.10-cp38-cp38-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 3f38e7991a128dbd7c3d8623288f1a3162754c207479c371be7549861600a1e6
MD5 6f4e4fb37dc60984d920cfc323e25364
BLAKE2b-256 48db41a6095eed96313f37ed31fb1069cc5ed9403f597186be7d949b4de5a461

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