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.
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:
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
Built Distributions
File details
Details for the file unicon-24.4-cp312-cp312-manylinux2014_x86_64.whl
.
File metadata
- Download URL: unicon-24.4-cp312-cp312-manylinux2014_x86_64.whl
- Upload date:
- Size: 14.7 MB
- Tags: CPython 3.12
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2187f82d0444df93d0e7b3c1ebdc3f5ba77327555264d732b4e9fe6293b13015 |
|
MD5 | c4d853424d30dac04e00fdca200d883e |
|
BLAKE2b-256 | e9c1518bb73ca89ca28d06bf3f7bdc22acb9872d4669572447eed4383c4a7b77 |
File details
Details for the file unicon-24.4-cp312-cp312-manylinux2014_aarch64.whl
.
File metadata
- Download URL: unicon-24.4-cp312-cp312-manylinux2014_aarch64.whl
- Upload date:
- Size: 15.8 MB
- Tags: CPython 3.12
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2191258cdbc4fb7f1b0e684bd27869dad07f076b9187f9db047235dd262994cc |
|
MD5 | 83b2ca22e15d05da30adde41a3542d2d |
|
BLAKE2b-256 | 3c1b3595d89b3c08958c3a25dcef2c1e48f46edf879ba2c68a3fc4b8d07453ca |
File details
Details for the file unicon-24.4-cp312-cp312-macosx_11_0_universal2.whl
.
File metadata
- Download URL: unicon-24.4-cp312-cp312-macosx_11_0_universal2.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.12, macOS 11.0+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a08af32b9710fabf2f7146e55de1d9d827d3d1595e8c5a72072a7cb8ef80681 |
|
MD5 | cfbad3bdab672a0007e489f1958659b6 |
|
BLAKE2b-256 | 9597ccb9fc0778465e09956762683115645a4bfce0787431d7679e5a83d58fdd |
File details
Details for the file unicon-24.4-cp311-cp311-manylinux2014_x86_64.whl
.
File metadata
- Download URL: unicon-24.4-cp311-cp311-manylinux2014_x86_64.whl
- Upload date:
- Size: 14.7 MB
- Tags: CPython 3.11
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b11afe8f6fa56a6f42d50f556525a5aa5976f3e30e8ec49525775d45877f8d |
|
MD5 | 36a00c743111c2d83fd8124bcbf892fa |
|
BLAKE2b-256 | aecc3e94ff9fac1ce2135bd38b8a351f923c260ad3409f97bdcfc11282dcf0eb |
File details
Details for the file unicon-24.4-cp311-cp311-manylinux2014_aarch64.whl
.
File metadata
- Download URL: unicon-24.4-cp311-cp311-manylinux2014_aarch64.whl
- Upload date:
- Size: 15.9 MB
- Tags: CPython 3.11
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10d78919bbdf325a1813e2c0089f67adea882c44e0d5046156eec866dad892b4 |
|
MD5 | ec0584495bd604fb5eba2bf30e0d049a |
|
BLAKE2b-256 | f5de2fddf3897b02d287c74d7a50ff22747494473c5f5b2a86d594e514bfba8e |
File details
Details for the file unicon-24.4-cp311-cp311-macosx_11_0_universal2.whl
.
File metadata
- Download URL: unicon-24.4-cp311-cp311-macosx_11_0_universal2.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.11, macOS 11.0+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74690094cfdabf992491d81a2936f82fa692ab83b561623f2deb852faaaa0043 |
|
MD5 | e684ac61938643f5315b668896c50949 |
|
BLAKE2b-256 | 2344f58c70c7206ed0c45d3185015d0fba22848dc285bc3e2a86b7e727bd7ae9 |
File details
Details for the file unicon-24.4-cp310-cp310-manylinux2014_x86_64.whl
.
File metadata
- Download URL: unicon-24.4-cp310-cp310-manylinux2014_x86_64.whl
- Upload date:
- Size: 13.6 MB
- Tags: CPython 3.10
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f534d380257101397b67b1ecd27e1ffaf086f972f6850b2d3f8d20baf9eb80e6 |
|
MD5 | 32a073d4f239138c6624d169e2e7111b |
|
BLAKE2b-256 | afd8d4760b17e91272cfbe41f953f187d8f617f9150499fc8d3be8f823d9ec05 |
File details
Details for the file unicon-24.4-cp310-cp310-manylinux2014_aarch64.whl
.
File metadata
- Download URL: unicon-24.4-cp310-cp310-manylinux2014_aarch64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.10
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43b34c9b552b5ce09eccf14f076c611d0baa4806ef06f3e17d983bd41992716b |
|
MD5 | 90b039ce7cd02db2ebd0c3b6920e734b |
|
BLAKE2b-256 | d90d07970a847ecaff3d5e11462b5f224f5ec68ea0d5efbd841d8f01eb275040 |
File details
Details for the file unicon-24.4-cp310-cp310-macosx_11_0_universal2.whl
.
File metadata
- Download URL: unicon-24.4-cp310-cp310-macosx_11_0_universal2.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.10, macOS 11.0+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12b33378ed9761f2c41df804648f934914c69c1f9f7b7975c3c9da88c78a6027 |
|
MD5 | 5a4cd360a8b82a0d13834814df3e7ac3 |
|
BLAKE2b-256 | 9fbed4d0dfc2edf48dce44f55c7cb19f53168d080a0dde41808542c3cf05fe26 |
File details
Details for the file unicon-24.4-cp39-cp39-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: unicon-24.4-cp39-cp39-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.9, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 063c189b2423ac92c2fcf518782046044a8625cbe51b2b1856b612f34b6fe594 |
|
MD5 | 13468bfad5d1a2afbe3a667ca9378c91 |
|
BLAKE2b-256 | e8c61c71eac74bffa8e3b0acf87d90ae9c62228b39a0fab0690e5c71c91574c1 |
File details
Details for the file unicon-24.4-cp39-cp39-manylinux2014_x86_64.whl
.
File metadata
- Download URL: unicon-24.4-cp39-cp39-manylinux2014_x86_64.whl
- Upload date:
- Size: 13.6 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c0a3e64661593e6ff10aeb11f7af47447835e3ab6cf88b62e2e2c8b52042dfa |
|
MD5 | 01cf9ea2e26afdbf6df65c18b1bdf837 |
|
BLAKE2b-256 | ebdcc4aa0b46fb92992bb314cd9ef7dfbd0abbc4d8245b706b4493a91437a596 |
File details
Details for the file unicon-24.4-cp39-cp39-manylinux2014_aarch64.whl
.
File metadata
- Download URL: unicon-24.4-cp39-cp39-manylinux2014_aarch64.whl
- Upload date:
- Size: 14.1 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79b30e8d3d9e1a887ead49a872705faf043915b1b70ff11b24f4a1f301c99c19 |
|
MD5 | e23796ccc38d191a1505b658f64c885f |
|
BLAKE2b-256 | dd3a5d5f848a66b383542aa59b805a758af37ea81dec771933f2703610c1b5a2 |
File details
Details for the file unicon-24.4-cp39-cp39-macosx_11_0_universal2.whl
.
File metadata
- Download URL: unicon-24.4-cp39-cp39-macosx_11_0_universal2.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.9, macOS 11.0+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd0f440530fd1729b5445cb217c42c4b68f4cc485f983a8aeb7bdedaf56a8474 |
|
MD5 | 7baf2c95e1658597f85fe78036e2c15d |
|
BLAKE2b-256 | 77b98e07882cb322acac1199776309c2c6187d74e93d1c4535d64ed7a79b5346 |
File details
Details for the file unicon-24.4-cp38-cp38-manylinux2014_x86_64.whl
.
File metadata
- Download URL: unicon-24.4-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 15.1 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98bb5d2c683c2bd58d2c3576cbd0140f54c6eba8f43ebccadbaf35fa0aa8f7b7 |
|
MD5 | 50179bd043b257bacd985c84f8a1521f |
|
BLAKE2b-256 | 89b191c509b8327486d16cdb7fc91ced829c43562558a9b88ce5922ed45d1902 |
File details
Details for the file unicon-24.4-cp38-cp38-manylinux2014_aarch64.whl
.
File metadata
- Download URL: unicon-24.4-cp38-cp38-manylinux2014_aarch64.whl
- Upload date:
- Size: 14.6 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 204d7e69a9b2e92472eb6380482378fc396b1aedd076f26702bffb8e559e9fef |
|
MD5 | 0c114f52f59d0dc521516787ebfc86ff |
|
BLAKE2b-256 | 8a26f4d13a39964f4f1b99b9dd7f7b0e93fcf48f8181ebc9a8570b6651a98431 |
File details
Details for the file unicon-24.4-cp38-cp38-macosx_11_0_universal2.whl
.
File metadata
- Download URL: unicon-24.4-cp38-cp38-macosx_11_0_universal2.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.8, macOS 11.0+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b8165b77cddf872a9eab913dc2de6388a0a3ea851370543cec51cf00120e16d |
|
MD5 | 13094f0a00e22e5f5c60386e9cfa7f39 |
|
BLAKE2b-256 | 3a162940dac08a01e61f9c9c6d44f6aba77ef62a0e79625321612f0ecf8be145 |