unicon
Unicon Connection Library
Decision gist · record as of 2026-08-14
Yes. Unicon is actively maintained, carries no known vulnerabilities, uses a permissive Apache 2.0 license, and is the standard connection layer for pyATS. Install it if you need reliable, multi-vendor CLI device access or are already using pyATS. The medium install friction is offset by pre-built wheels for modern Python versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Linux, macOS, or WSL; network device must be reachable via telnet, SSH, or serial interface.
- Active maintenance with a release within the last week.
- Medium install friction due to compiled wheels across multiple Python versions (3.10–3.14) and platforms, but pre-built binaries are available for common architectures.
License · maintenance · safety
Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
last release 2026-08-07 (7 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 336,883 downloads/mo, #7,455 on PyPI
Alternatives
Verify before relying
pip install unicon
from unicon import Connection
conn = Connection(hostname='device', start=['ssh'])
conn.connect()
output = conn.execute('show version')
conn.disconnect()- Exact list of supported network device platforms and vendors beyond Cisco.
- Performance characteristics and scalability limits for concurrent connections.
- Whether unicon.plugins is a separate package or bundled dependency.
What it is and what it does
Unicon is a connection library that abstracts away the complexity of CLI-based network device management. It wraps underlying session protocols (telnet, SSH, serial) and provides expect-like pattern matching and command execution without requiring low-level session handling. The library handles multi-vendor devices through a plugin architecture, automatically manages CLI mode transitions (enable, configure, etc.), detects command errors and rejected commands, and offers platform-specific stateful services.
The package is the standard connection layer for the Cisco pyATS automation framework and is designed for network engineers and automation developers who need reliable, vendor-agnostic CLI access to devices. It depends on pyyaml for configuration, dill for serialization, and unicon.plugins for platform-specific behavior.
Use it for
- Automate command execution across multiple Cisco or multi-vendor network devices without managing raw SSH/telnet sessions.
- Build network configuration management scripts that handle mode transitions and error detection automatically.
- Integrate device CLI access into larger pyATS-based test or validation frameworks.
- Develop custom network automation plugins for unsupported device platforms using the plugin architecture.
- Establish proxied connections to devices behind jump hosts or management interfaces.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Unicon is actively maintained, carries no known vulnerabilities, uses a permissive Apache 2.0 license, and is the standard connection layer for pyATS. Install it if you need reliable, multi-vendor CLI device access or are already using pyATS. The medium install friction is offset by pre-built wheels for modern Python versions.
Install
unicon on PyPI
Before you install
Active maintenance with a release within the last week. Medium install friction due to compiled wheels across multiple Python versions (3.10–3.14) and platforms, but pre-built binaries are available for common architectures.
Requires Linux, macOS, or WSL; network device must be reachable via telnet, SSH, or serial interface.
License in practice
Licensed under Apache 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install unicon
from unicon import Connection
conn = Connection(hostname='device', start=['ssh'])
conn.connect()
output = conn.execute('show version')
conn.disconnect()
Verify before relying
- Exact list of supported network device platforms and vendors beyond Cisco.
- Performance characteristics and scalability limits for concurrent connections.
- Whether unicon.plugins is a separate package or bundled dependency.
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 3 packagespyyamldillunicon.plugins |
| Maintenance | Actively maintained 7 days since the last release |
| First released | |
| Downloads | 336,883 / month, #7,455 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableDevelopment Status :: 6 - MatureEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsIntended Audience :: Telecommunications IndustryLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Build ToolsTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Testing |
Evidence: unicon-26.7-cp310-cp310-macosx_11_0_universal2.whl; unicon-26.7-cp310-cp310-manylinux2014_aarch64.whl; unicon-26.7-cp310-cp310-manylinux2014_x86_64.whl; unicon-26.7-cp311-cp311-macosx_11_0_universal2.whl; unicon-26.7-cp311-cp311-manylinux2014_aarch64.whl; unicon-26.7-cp311-cp311-manylinux2014_x86_64.whl; unicon-26.7-cp312-cp312-macosx_11_0_universal2.whl; unicon-26.7-cp312-cp312-manylinux2014_aarch64.whl; unicon-26.7-cp312-cp312-manylinux2014_x86_64.whl; unicon-26.7-cp312-cp312-musllinux_1_2_x86_64.whl; unicon-26.7-cp313-cp313-macosx_11_0_universal2.whl; unicon-26.7-cp313-cp313-manylinux2014_aarch64.whl; unicon-26.7-cp313-cp313-manylinux2014_x86_64.whl; unicon-26.7-cp314-cp314-macosx_11_0_universal2.whl; unicon-26.7-cp314-cp314-manylinux2014_aarch64.whl; unicon-26.7-cp314-cp314-manylinux2014_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “telnet ssh serial wrapper”
- uniconUnicon provides a unified CLI connection interface to network…
- unicon.pluginsUnicon Plugins extends the unicon package with platform-specific…
- scrapliscrapli is a Python library for connecting to and automating network…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also unicon.plugins · pyats.connections · rest.connector · netmiko · scrapli · junos-eznc · pyats.topology · yang.connector · paramiko-expect · genie