Skip to main content

Unicon - Universal Connection Library

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.

Metadata

Release files for unicon 26.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for unicon 26.9
File
unicon-26.9-cp314-cp314-manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details
unicon-26.9-cp314-cp314-manylinux2014_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64 Details
unicon-26.9-cp314-cp314-macosx_11_0_universal2.whl CPython 3.14 CPython 3.14 macOS 11.0+ universal2 (ARM64, x86-64) Details
unicon-26.9-cp313-cp313-manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
unicon-26.9-cp313-cp313-manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details
unicon-26.9-cp313-cp313-macosx_11_0_universal2.whl CPython 3.13 CPython 3.13 macOS 11.0+ universal2 (ARM64, x86-64) Details
unicon-26.9-cp312-cp312-manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
unicon-26.9-cp312-cp312-manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details
unicon-26.9-cp312-cp312-macosx_11_0_universal2.whl CPython 3.12 CPython 3.12 macOS 11.0+ universal2 (ARM64, x86-64) Details
unicon-26.9-cp311-cp311-manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
unicon-26.9-cp311-cp311-manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details
unicon-26.9-cp311-cp311-macosx_11_0_universal2.whl CPython 3.11 CPython 3.11 macOS 11.0+ universal2 (ARM64, x86-64) Details
unicon-26.9-cp310-cp310-manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
unicon-26.9-cp310-cp310-manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
unicon-26.9-cp310-cp310-macosx_11_0_universal2.whl CPython 3.10 CPython 3.10 macOS 11.0+ universal2 (ARM64, x86-64) Details

Total release size: 126.2 MB

Release files / unicon-26.9-cp314-cp314-manylinux2014_x86_64.whl

Download URL unicon-26.9-cp314-cp314-manylinux2014_x86_64.whl
Size 2.8 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
12032c095aa9adb2d640ebf4a0707119a4180c38c42587beaef50502d6f8231b
BLAKE2b-256 checksum
How to use checksums
148e8d668cd0a32e6abfb1430005b8de7b5aba9b96c82c6da2ea3e6e63d171e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp314-cp314-manylinux2014_aarch64.whl

Download URL unicon-26.9-cp314-cp314-manylinux2014_aarch64.whl
Size 16.7 MB
Tags CPython 3.14 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
b35812bab5cbd41e7401f3d4bc61fee32c577f84f550c53e17b66cfdb217582d
BLAKE2b-256 checksum
How to use checksums
1bf8d51e43a5af482b53dac34ffa935a3bd3098e53eb9550c89309ab73b9ab52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp314-cp314-macosx_11_0_universal2.whl

Download URL unicon-26.9-cp314-cp314-macosx_11_0_universal2.whl
Size 5.7 MB
Tags CPython 3.14 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
01127012458f08be45e54f6ec7136b671fff6393ce24de0a6ec71b7437044d6f
BLAKE2b-256 checksum
How to use checksums
193f5521ffd8af68952e8eac69275fce9f8ab9395e72143081d801cca282f191
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp313-cp313-manylinux2014_x86_64.whl

Download URL unicon-26.9-cp313-cp313-manylinux2014_x86_64.whl
Size 2.8 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
8ec467ed2223e0027b20dd202cf6c80f1c32736faeac36a5b9b12d6cce1710b4
BLAKE2b-256 checksum
How to use checksums
5f8680bd80709d1711416d893fcd8a551734360c5228b799ec70d5994de86f7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp313-cp313-manylinux2014_aarch64.whl

Download URL unicon-26.9-cp313-cp313-manylinux2014_aarch64.whl
Size 16.0 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
cb6563458838a6050ef06bc846232a70564a386ad64f026167bd515c6e5b8b21
BLAKE2b-256 checksum
How to use checksums
1ef87cc96cb6c80ac01c8f0badbd7d5d9508605bac65778a6d37c9c586c3cd58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp313-cp313-macosx_11_0_universal2.whl

Download URL unicon-26.9-cp313-cp313-macosx_11_0_universal2.whl
Size 5.7 MB
Tags CPython 3.13 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9a2d989719f84fc39a4b48e853e271f045ae20bab032d7607a929366f746099a
BLAKE2b-256 checksum
How to use checksums
1be935113c169091a482cc2fcad58bced6776ddaf92ab4aea85e675a30e7d067
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp312-cp312-manylinux2014_x86_64.whl

Download URL unicon-26.9-cp312-cp312-manylinux2014_x86_64.whl
Size 2.8 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
dbafab23a6b6393175fe51dec46da3c668a1082012830fc7603c229498ff0a65
BLAKE2b-256 checksum
How to use checksums
3e767bf5b9a18c2b2d2692926a20cc5e77ca93a57de2ef535a3eeb5eaa3d482f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp312-cp312-manylinux2014_aarch64.whl

Download URL unicon-26.9-cp312-cp312-manylinux2014_aarch64.whl
Size 16.9 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
57a452be1bb0a6973ff02a565c1a745468a178f45677a22ca090e75a44550150
BLAKE2b-256 checksum
How to use checksums
704e5fe1ae03827ae450a490cd4a69bb53300ff891041754efe4df4b738e86c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp312-cp312-macosx_11_0_universal2.whl

Download URL unicon-26.9-cp312-cp312-macosx_11_0_universal2.whl
Size 5.7 MB
Tags CPython 3.12 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
0e33a77156567f9ea2914baf01ab3f4fdc6002a9809d353b7c9a9a6da26e8cef
BLAKE2b-256 checksum
How to use checksums
f9659f91a189a0b6584bdd2493847eb2b8e91ddfe48f07ab56ef12a1a486dc35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp311-cp311-manylinux2014_x86_64.whl

Download URL unicon-26.9-cp311-cp311-manylinux2014_x86_64.whl
Size 2.9 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
297ad3b855bcac7ef0789afe2b16c0c93e742f9cba000a8c3e7899c04d8e591a
BLAKE2b-256 checksum
How to use checksums
9acda507babb489c34ce84fdbf9731266dcc6b0dfa31c8a93bbaeab4855335fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp311-cp311-manylinux2014_aarch64.whl

Download URL unicon-26.9-cp311-cp311-manylinux2014_aarch64.whl
Size 17.5 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
9d172c8dd76dd15679490715a30f0e8082b02fc5e0adb4b548c9acfa5f75666a
BLAKE2b-256 checksum
How to use checksums
d741c76887a3a44e948fe7bbf375437a5c9aace389fe88257bd43f438ae5f13a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp311-cp311-macosx_11_0_universal2.whl

Download URL unicon-26.9-cp311-cp311-macosx_11_0_universal2.whl
Size 5.4 MB
Tags CPython 3.11 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
b9f958db239879102d8b5317388e76c99e2306d1eac5b50f2f65d5a9ac37d64c
BLAKE2b-256 checksum
How to use checksums
b18ef20481dd32d2ba674322581f68a646826064b11bfbbfb2ed1f4129d16126
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp310-cp310-manylinux2014_x86_64.whl

Download URL unicon-26.9-cp310-cp310-manylinux2014_x86_64.whl
Size 3.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c1110188efd4a366aaa59da7065996a8bcb81b7a969cc034425628926dd73a68
BLAKE2b-256 checksum
How to use checksums
3ab5eb42fe93c602dc5e1a5e75c1fa564495f2a1ac3895a8d4ac74edc19de361
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp310-cp310-manylinux2014_aarch64.whl

Download URL unicon-26.9-cp310-cp310-manylinux2014_aarch64.whl
Size 16.7 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
57c1ce5c99fce25c69d4ba7f3145fe72e6583f3f06183fb7eaad09435870a857
BLAKE2b-256 checksum
How to use checksums
ee1ef5c896318dc393ea8a9b975a180ad324b94718a31c23b2de628fe217ad20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / unicon-26.9-cp310-cp310-macosx_11_0_universal2.whl

Download URL unicon-26.9-cp310-cp310-macosx_11_0_universal2.whl
Size 5.5 MB
Tags CPython 3.10 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
99cb16f2bd3f28e1675e190faf98f7a548fe3917b8a5e4a60a371a57d1517e74
BLAKE2b-256 checksum
How to use checksums
978459816cf6975849e06951049dd257cd54201f52845aeb7d40283081aa7c33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

26.9 This release

15 release files

26.8

16 release files

26.7

16 release files

26.6

16 release files

26.5

16 release files

26.4

14 release files

26.3

16 release files

26.2

13 release files

26.1.1

8 release files

26.1

13 release files

25.11

13 release files

25.10

16 release files

25.9

16 release files

25.8

16 release files

25.7

16 release files

25.6

14 release files

25.5

16 release files

25.4

16 release files

25.3

10 release files

25.2

16 release files

25.1

15 release files

24.11

13 release files

24.10

14 release files

24.9

15 release files

24.8

14 release files

24.7

15 release files

24.6

16 release files

24.5

15 release files

24.4

16 release files

24.3

16 release files

24.2

16 release files

24.1

13 release files

23.11

13 release files

23.9

17 release files

23.8

17 release files

23.7

17 release files

23.6

13 release files

23.5

13 release files

23.4

13 release files

23.3

12 release files

23.2

11 release files

23.1

13 release files

22.11

12 release files

22.10

11 release files

22.9

15 release files

22.8

12 release files

22.7

15 release files

22.6

15 release files

22.5

15 release files

22.4

19 release files

22.3

19 release files

22.2

14 release files

22.1

14 release files

21.12

12 release files

21.10

12 release files

21.9

12 release files

21.8

12 release files

21.7

12 release files

21.6

12 release files

21.5.1

1 release file

21.5

12 release files

21.4

12 release files

21.3

12 release files

21.2

12 release files

21.1

12 release files

20.12

12 release files

20.10

12 release files

20.9

12 release files

20.8

12 release files

20.7.1b0

20.7

12 release files

20.6

12 release files

20.5

12 release files

20.4

12 release files

20.2

12 release files

20.1

12 release files

19.12

12 release files

19.11

12 release files

19.10

12 release files

19.9

12 release files

19.8

12 release files

19.7

12 release files

19.6

8 release files

19.5.0

8 release files

19.4.0

8 release files

19.0.1

8 release files

19.0

8 release files

3.4.7

6 release files

3.4.6

6 release files

3.4.4

6 release files

3.4.3

6 release files

3.4.0

6 release files

3.3.0

6 release files

3.2.0

6 release files

3.1.2

6 release files

3.1.0

6 release files

3.0.3

6 release files

3.0.2

2 release files

3.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page