napalm
Network Automation and Programmability Abstraction Layer with Multivendor support
Decision gist · record as of 2026-08-14
Yes—if you manage or automate networks with multiple vendor devices. NAPALM is actively maintained, has no known vulnerabilities, and is widely adopted. The 15 runtime dependencies are substantial but necessary for vendor support; verify your target devices are in the supported list before committing. Requires Python 3.10+.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires network device access with valid credentials; device must support one of NAPALM's supported operating systems and may require specific feature enablement (e.g., XML agent on IOS-XR, NXAPI on NXOS).
- Low install friction with a pure-Python wheel.
- Active maintenance with a release 18 days ago and 2486 GitHub stars.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for enterprise network automation workflows.
last release 2026-07-27 (18 days) · last repo commit 2026-08-12 · 2,486 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 205,706 downloads/mo, #9,583 on PyPI
Alternatives
Verify before relying
pip install napalm
from napalm import get_network_driver
driver = get_network_driver('ios')
device = driver('hostname', 'username', 'password')
device.open()
facts = device.get_facts()
device.close()- Exact list of supported network operating systems and device models beyond the reference to external documentation.
- Performance characteristics when managing large numbers of devices or retrieving large configuration files.
- Whether all 15 runtime dependencies are required for basic use or if some are optional per vendor.
What it is and what it does
NAPALM is a Python library that abstracts network device vendor differences behind a single API, letting you write automation code once and run it against multiple supported platforms. It handles the low-level details of connecting via SSH, NETCONF, or vendor APIs, and provides methods to retrieve device facts, configuration data, and operational state, as well as to push configuration changes.
The library is designed for network engineers and automation platforms (Ansible, SaltStack, StackStorm) that need to manage heterogeneous networks without rewriting logic for each vendor. It depends on vendor-specific libraries like netmiko, junos-eznc, and ncclient to handle device communication, and uses textfsm and jinja2 for parsing and templating. Device-specific caveats and feature requirements are documented, and the library provides a CLI tool for testing connectivity and basic operations.
Use it for
- Retrieve operational data (facts, interfaces, routes) from multiple vendor devices in a single script.
- Push configuration changes to routers from different vendors using a unified method call.
- Integrate network device management into Ansible playbooks or SaltStack states without vendor-specific modules.
- Validate network device configurations by comparing running and intended state across a fleet.
- Build custom network automation tools that work across multiple supported network operating systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes—if you manage or automate networks with multiple vendor devices.
NAPALM is actively maintained, has no known vulnerabilities, and is widely adopted. The 15 runtime dependencies are substantial but necessary for vendor support; verify your target devices are in the supported list before committing. Requires Python 3.10+.
Install
napalm on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance with a release 18 days ago and 2486 GitHub stars. Requires Python 3.10+. Brings 15 runtime dependencies including paramiko, netmiko, junos-eznc, and ncclient for vendor-specific device communication.
Requires network device access with valid credentials; device must support one of NAPALM's supported operating systems and may require specific feature enablement (e.g., XML agent on IOS-XR, NXAPI on NXOS).
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for enterprise network automation workflows.
Quickstart
pip install napalm
from napalm import get_network_driver
driver = get_network_driver('ios')
device = driver('hostname', 'username', 'password')
device.open()
facts = device.get_facts()
device.close()
Verify before relying
- Exact list of supported network operating systems and device models beyond the reference to external documentation.
- Performance characteristics when managing large numbers of devices or retrieving large configuration files.
- Whether all 15 runtime dependencies are required for basic use or if some are optional per vendor.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 15 packagesparamikorequeststextfsmjinja2netaddrpyyamlpyeapinetmikojunos-eznclxmlncclientttpttp-templatesnetutilstyping-extensions |
| Maintenance | Actively maintained 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 205,706 / month, #9,583 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Utilities |
Evidence: napalm-5.2.0-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 API”
- napalmNAPALM provides a unified Python API to interact with network devices…
- aioqswAsync Python library for controlling QNAP QSW network switches using…
- genie.libs.confGenie Libs Conf provides Python object-based configuration management…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities 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.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
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.
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.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
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.
See also netmiko · catalystwan · pynetgear · asyauth · rest.connector · ncclient · ansible · castellan · asusrouter · unicrypto