scrapli
Fast, flexible, sync/async, Python 3.7+ screen scraping client specifically for network devices
Decision gist · record as of 2026-08-14
Yes. scrapli is a mature, actively maintained library with zero known vulnerabilities, no external runtime dependencies, and broad platform support for network device automation. It is well-suited for anyone automating network operations or building tools that interact with CLI-based network devices. The MIT License imposes no restrictions on use or distribution.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; SSH/Telnet connectivity to target network devices; appropriate credentials and network access.
- Installation is straightforward with no external runtime dependencies for core functionality.
- The package is actively maintained with a recent release and no known vulnerabilities, making it a low-friction addition to network automation workflows.
License · maintenance · safety
permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution in both open-source and commercial projects, with only the requirement to include the original license notice.
last release 2026-02-20 (175 days) · last repo commit 2026-08-12 · 695 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 126,855 downloads/mo, #11,761 on PyPI
Alternatives
Verify before relying
pip install scrapli
from scrapli import Scrapli
device = {
"host": "10.0.0.1",
"auth_username": "admin",
"auth_password": "password",
"platform": "cisco_iosxe"
}
conn = Scrapli(**device)
conn.open()
print(conn.get_prompt())- Whether the ssh2 transport plugin mentioned in the description is included or requires separate installation
- Performance characteristics compared to other network automation libraries
- Extent of platform support beyond the keywords listed (arista, cisco, juniper, etc.)
What it is and what it does
scrapli is a Python library designed for automating interactions with network devices via SSH or Telnet. It abstracts the complexity of device communication by providing a consistent API across multiple vendor platforms including Cisco, Juniper, and Arista. The library is built with speed and developer experience in mind, offering full type hints for IDE support and a clean, straightforward interface for connecting to devices, sending commands, and retrieving output.
The package has no external dependencies for core functionality, relying only on Python's standard library. It supports both synchronous and asynchronous operations and provides a pluggable transport system, allowing users to extend or replace the default SSH/Telnet transports with custom implementations. The library is actively maintained, well-tested against real network devices, and suitable for network automation, configuration management, and operational scripting tasks.
Use it for
- Automate configuration changes across multiple network devices from a single Python script
- Build network monitoring and health-check tools that query device state via CLI
- Integrate network device management into larger infrastructure automation workflows
- Create vendor-agnostic network automation scripts that work across multiple platforms
- Develop operational runbooks that execute commands and parse output from network devices
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
scrapli is a mature, actively maintained library with zero known vulnerabilities, no external runtime dependencies, and broad platform support for network device automation. It is well-suited for anyone automating network operations or building tools that interact with CLI-based network devices. The MIT License imposes no restrictions on use or distribution.
Install
scrapli on PyPI
Before you install
Installation is straightforward with no external runtime dependencies for core functionality. The package is actively maintained with a recent release and no known vulnerabilities, making it a low-friction addition to network automation workflows.
Requires Python 3.9 or later; SSH/Telnet connectivity to target network devices; appropriate credentials and network access.
License in practice
MIT License permits unrestricted use, modification, and distribution in both open-source and commercial projects, with only the requirement to include the original license notice.
Quickstart
pip install scrapli
from scrapli import Scrapli
device = {
"host": "10.0.0.1",
"auth_username": "admin",
"auth_password": "password",
"platform": "cisco_iosxe"
}
conn = Scrapli(**device)
conn.open()
print(conn.get_prompt())
Verify before relying
- Whether the ssh2 transport plugin mentioned in the description is included or requires separate installation
- Performance characteristics compared to other network automation libraries
- Extent of platform support beyond the keywords listed (arista, cisco, juniper, etc.)
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 175 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 126,855 / month, #11,761 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: scrapli-2026.2.20-py3-none-any.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 › “network device automation ssh telnet”
- scrapliscrapli is a Python library for connecting to and automating network…
- pyats.connectionsProvides device connection abstraction and base classes for network…
- uniconUnicon provides a unified CLI connection interface to network…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also ncclient · netmiko · nornir · netconf-client · unicon · junos-eznc · pan-python · pyeapi · anta · paramiko