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.1

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.1-cp313-cp313-manylinux2014_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.13

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

Uploaded CPython 3.13

unicon-26.1-cp313-cp313-macosx_11_0_universal2.whl (4.4 MB view details)

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

unicon-26.1-cp312-cp312-manylinux2014_x86_64.whl (13.9 MB view details)

Uploaded CPython 3.12

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

Uploaded CPython 3.12

unicon-26.1-cp312-cp312-macosx_11_0_universal2.whl (4.5 MB view details)

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

unicon-26.1-cp311-cp311-manylinux2014_x86_64.whl (14.2 MB view details)

Uploaded CPython 3.11

unicon-26.1-cp311-cp311-manylinux2014_aarch64.whl (15.1 MB view details)

Uploaded CPython 3.11

unicon-26.1-cp311-cp311-macosx_11_0_universal2.whl (4.6 MB view details)

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

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

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.10

unicon-26.1-cp310-cp310-manylinux2014_aarch64.whl (14.3 MB view details)

Uploaded CPython 3.10

unicon-26.1-cp310-cp310-macosx_11_0_universal2.whl (4.7 MB view details)

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

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bd501cab5722a14d6d021f406014bf45d05050f7aae4ee843688dc4ad2d4cead
MD5 3538bb3d314e131ed09325c8827c6c48
BLAKE2b-256 6e462d37aa87d4b92d7fd7315c5d66c462df73050ff34fc494d2c3b667ca80a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8506818854f814780106d92e0b02877710ff41fa49064e338cb05d894c0fdc36
MD5 5814eba01a222b6b717a426eabcfd1c5
BLAKE2b-256 f0cc822a7a845f0d3c349aca3090475baf17cdd1ca91d68aa115421ba87da44a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp313-cp313-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 56c811b69e65ee369029c036b7fcca975e6ad4e6de54108442105a85090a3a3f
MD5 9644a4abd28f43b6cfdaceb8319b51f9
BLAKE2b-256 94a263a6fc29fd62b10914b922ac29859138d71f1de9cc66d13c90f60b7a5649

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b6799fd6aef526e31ca0c3c815e40070d3f29749c30b5926d49c9d6cab421c07
MD5 ea685affedd75484ea04b3960e5f26bd
BLAKE2b-256 5ae03790f2d465787c5bc854177b47843495a2a0a6edb5f28f724cd9eff6646f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c7e8a200ec46f0bbb4815eb457245e472f895b054d54a9e6a975c8e1cff2e646
MD5 cbaf1e8c76e2f77b2173f63b598eb00f
BLAKE2b-256 de4b02ccd3c45967d19364975228c14bc90428258b1a1d92b93e6f6158f32648

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 afec5d714a66c0792b02161f631fda1c9659d52ac49340c951d2e2fcf433b811
MD5 0d6b1aa544d82fd58cc0812389800328
BLAKE2b-256 26f6d4fb65a6a88935331b935f98bc1a80d10386e93070b731fbb9f69b360e74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a1043085eeb1d035e0890d2ae15bb5698ad7a049afabb7a3a9c3fad4cbed7349
MD5 eced0af1e7af1e5ef948592dcb4bb301
BLAKE2b-256 130379938cb6050f9743cc80d52c8fc200122273353e684521363f25d762c928

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c7d66d1ad2afa7865b4a686d44816fdc1c64228237c874662aa2412b1c1d698e
MD5 6d7f34691be17361222e6a241d4ae136
BLAKE2b-256 96109c2d341a4ff04e8e3b8409c61cbad9f79258c6c3800faf303e924db18343

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 c3f5510e6f283f9513899f5f57a475447a8fb672fb6c8b971e3b88d20a6508c4
MD5 4c5d72dfc82357b35bcf83a29fe724d8
BLAKE2b-256 79967643e174f85ade593bde6ae53e945423b6ffe3e702efdce6a091e760a47d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ad62bc485582d36c0d51f532a094ace2537cc66e8e64b3d53d23b9ad5ad4d952
MD5 c8cb0e229fd27fef6b4782b234257a87
BLAKE2b-256 0a3f9ae2561e00c129054718380b1e83629f1b9190a49e719a147eaa7f19a671

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 972d039c3c119e61c1b33aec0e9965d165ad1be5a2c10c93e2a0581ef31a96ce
MD5 7557c3b6b972bccfc06a2b562562b7d0
BLAKE2b-256 ed46fe3d1a0e48ce920e5eba01ed2a50d49633d380e5c4a305415a748bb5a3f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3860789bd80f9d3805eecc4aa45da57dfaf15d0b9e55cee021b6107b14edac0c
MD5 7fb29671171db8669d9be6534baf43d2
BLAKE2b-256 647918628fd1e5bbf4a8770a7df637519897a64ec6ee8bb30a904e933852e4bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-26.1-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 e2b9ee11274c5884b0c2c8cacc74db9bd9b9ff4e90ae67444fc3fc5324436df8
MD5 218af239f5872c42b3fead62488f0140
BLAKE2b-256 5df9c33180d2a11eb36be754de1fa0bb708341ae0586c7da19ee1368e61cf1cd

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