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

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

unicon-25.11-cp313-cp313-manylinux2014_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.13

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

Uploaded CPython 3.13

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

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

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

Uploaded CPython 3.12

unicon-25.11-cp312-cp312-manylinux2014_aarch64.whl (15.2 MB view details)

Uploaded CPython 3.12

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

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

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

Uploaded CPython 3.11

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

Uploaded CPython 3.11

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

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

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

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10

unicon-25.11-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-25.11-cp313-cp313-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for unicon-25.11-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 83d50bc1041a98c8ea986a32de670089aae2242fa46673e9835eda7de74a8017
MD5 36c09c7c8ee5cbe6bf9b78e18b9a86e4
BLAKE2b-256 98f853082147ea988bf7ea6b08becc00aa93a7cef28b1c807ad8bbab30be5c15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3558a4c2cf153c479ca47492589d371881a699c9220ba504f8256b66cfe078f6
MD5 b8234f41f7f0022311ce4b0c68c100c7
BLAKE2b-256 3ee5616b614fc255c63d25f16916619d16c49dd531812770ff4d6d2742eb5ee6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp313-cp313-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 6c6204544fd67642500457c648f56b942240a4ae8b63c6819d6a1b4123d19fd9
MD5 630f1f303fcd95c5633adfc7f8608d9a
BLAKE2b-256 c5ea5528f4d3c17827716718131564c809af2eccf9e78e6f5b365707b77c69ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d31e8b30b654944e2b89e51bfc75ea4a3771c6c56da50fc3a3796dbe256151a
MD5 d2b9e904cb8b227bebd76b438349f994
BLAKE2b-256 dec5adab6dc17da78ee14e1c9a1e4329b86b038f2f9bd2a09d22712d4244234c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5c71de86071282867b45b2ad025896d9cf484f3b6539bfa16726411b394d2dea
MD5 df7b1c390679d676d63cbeba0951d236
BLAKE2b-256 549c2747d64f53bcab661f884cdf70d98fee14de830d10aee93aaa57f7bb1327

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 6ab29778c2a012496615b4a97d835bf5e1e49de07922d8843897d24c542c3ad0
MD5 278e47e1f3616c5fc3dec52021181c5e
BLAKE2b-256 7ff86f1c9678608d0e24969085daa34e03ef4e1c7b0802474cb009afc836a129

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a9f039a7f4d9a424a00531d8f1fffc795d0e2bcc0c4aebd479178eaad20b7031
MD5 7cab4db3e5ad191faf366715de072fd2
BLAKE2b-256 036748261a49fc7a284efa67afa8a58f3a37fb7af289e9e67af23a8b51342878

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b7e4bbd9fa791be0511d89f62a9bdb5cf935b41f10638f34850c6519d23713f0
MD5 fdc4cb9a7e31dee370263bcef6444cb1
BLAKE2b-256 7cfd8e949c9a6e344f0874fa400e7f6546df08a528871e32738024d27ff51f74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 c58d80ef0fa0e2c53432a18e3aea9f5bad8508e3c600a42a3f4242a34eacd148
MD5 23ce01114ebdeaccddca1ab144a1cdea
BLAKE2b-256 dddd268bac1fc0930f16a3d6ece4881943003fa31ffafc3c80f17c629e97f9d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ad547ddea5989249fa3750346e0cdc1cbaec536ed4a4e56ae6add447e25b77b7
MD5 f5f6310b5ce8aacade2bee604c050009
BLAKE2b-256 74c619c0cc278f821a6b125be9ed284d341bb4e2d460c1ff6785ba59479ec5ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 72c57e3d7d7113b375dc119c9bfbaa7ebf1f4e5dd33ca6d4cb699699dd32b147
MD5 946565a056d2e5a21211d67955a769d1
BLAKE2b-256 28924733bd9b2bedc0181612ce2468a0c36c96755ce44ef89cc0a52a55242703

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 362242b663b2f2696a99a180399f796415f90351621c11bec25080870d04c460
MD5 6b70dbf9d5d96190a6ea1d7645226cbd
BLAKE2b-256 c292b424d34e2fc732d373c350eb2ad3de331de0f73397ecc747b395478ca57a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unicon-25.11-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 64f8640580bfd4d983c22f0f835cde08974fdb251cdba294aadf984d380cf882
MD5 c7cbdc4dc8bc797f0db138646aa80f77
BLAKE2b-256 554ae61974492866643e9f8698ae2f4c032a82bd20911895e21a604ebf489568

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