Metadata-Version: 2.5
Name: nornir_scrapli
Version: 2026.11.07
Summary: Scrapli's plugin for Nornir
Project-URL: Homepage, https://github.com/scrapli/nornir_scrapli
Project-URL: Docs, https://scrapli.github.io/nornir_scrapli/
Author-email: Carl Montanari <carl.r.montanari@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: arista,automation,cisco,eos,iosxe,iosxr,juniper,junos,netconf,network,nxos,ssh,telnet
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: nornir-utils>=0.1.0
Requires-Dist: nornir>=3.0.0
Requires-Dist: ntc-templates>=1.1.0
Requires-Dist: scrapli-cfg>=2022.01.30
Requires-Dist: scrapli-community>=2021.01.30
Requires-Dist: scrapli-netconf>=2022.01.30
Requires-Dist: scrapli<2026.2.21,>=2022.01.30
Requires-Dist: textfsm>=1.1.0
Provides-Extra: dev
Requires-Dist: genie>=20.2; (sys_platform != 'win32' and python_version < '3.15') and extra == 'dev'
Requires-Dist: mypy<2.0.0,>1.0.0; extra == 'dev'
Requires-Dist: nox>=2025.2.9; extra == 'dev'
Requires-Dist: pyats>=20.2; (sys_platform != 'win32' and python_version < '3.15') and extra == 'dev'
Requires-Dist: pytest-cov<5.0.0,>=3.0.0; extra == 'dev'
Requires-Dist: pytest<8.0.0,>=7.0.0; extra == 'dev'
Requires-Dist: ruff<0.17.0,>=0.16.7; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mdx-gh-links<1.0,>=0.2; extra == 'docs'
Requires-Dist: mkdocs-gen-files<1.0.0,>=0.4.0; extra == 'docs'
Requires-Dist: mkdocs-literate-nav<1.0.0,>=0.5.0; extra == 'docs'
Requires-Dist: mkdocs-material-extensions<2.0.0,>=1.0.3; extra == 'docs'
Requires-Dist: mkdocs-material<10.0.0,>=8.1.6; extra == 'docs'
Requires-Dist: mkdocs-section-index<1.0.0,>=0.3.4; extra == 'docs'
Requires-Dist: mkdocs<2.0.0,>=1.2.3; extra == 'docs'
Requires-Dist: mkdocstrings[python]<2.0.0,>=0.19.0; extra == 'docs'
Provides-Extra: genie
Requires-Dist: genie>=20.2; (sys_platform != 'win32' and python_version < '3.15') and extra == 'genie'
Requires-Dist: pyats>=20.2; (sys_platform != 'win32' and python_version < '3.15') and extra == 'genie'
Description-Content-Type: text/markdown

[![Supported Versions](https://img.shields.io/pypi/pyversions/scrapli.svg)](https://pypi.org/project/nornir_scrapli)
[![PyPI version](https://badge.fury.io/py/scrapli.svg)](https://badge.fury.io/py/nornir_scrapli)
[![Weekly Build](https://github.com/scrapli/nornir_scrapli/workflows/Weekly%20dependency%20compatibility/badge.svg)](https://github.com/scrapli/nornir_scrapli/actions?query=workflow%3A%22Weekly+dependency+compatibility%22)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![License: MIT](https://img.shields.io/badge/License-MIT-blueviolet.svg)](https://opensource.org/licenses/MIT)

nornir_scrapli
==============

---

**Documentation**: <a href="https://scrapli.github.io/nornir_scrapli" target="_blank">https://scrapli.github.io/nornir_scrapli</a>

**Source Code**: <a href="https://github.com/scrapli/nornir_scrapli" target="_blank">https://github.com/scrapli/nornir_scrapli</a>

**Examples**: <a href="https://github.com/scrapli/nornir_scrapli/tree/master/examples" target="_blank">https://github.com/scrapli/nornir_scrapli/tree/master/examples</a>

---

nornir_scrapli -- scrapli's plugin for nornir


#### Key Features:

- __Easy__: It's easy to get going with scrapli -- check out the documentation and example links above, and you'll be 
  connecting to devices in no time.
- __Fast__: Do you like to go fast? Of course you do! All of scrapli is built with speed in mind, but if you really 
  feel the need for speed, check out the `ssh2` transport plugin to take it to the next level!
- __Great Developer Experience__: scrapli has great editor support thanks to being fully typed; that plus thorough 
  docs make developing with scrapli a breeze.
- __Well Tested__: Perhaps out of paranoia, but regardless of the reason, scrapli has lots of tests! Unit tests 
  cover the basics, regularly ran functional tests connect to virtual routers to ensure that everything works IRL! 
- __Pluggable__: scrapli provides a pluggable transport system -- don't like the currently available transports, 
  simply extend the base classes and add your own! Need additional device support? Create a simple "platform" in 
  [scrapli_community](https://github.com/scrapli/scrapli_community) to easily add new device support!
- __But wait, there's more!__: Have NETCONF devices in your environment, but love the speed and simplicity of 
  scrapli? You're in luck! Check out [scrapli_netconf](https://github.com/scrapli/scrapli_netconf)!


## Requirements

MacOS or \*nix<sup>1</sup>, Python 3.10–3.14 (development defaults to Python 3.13)

<sup>1</sup> Although many parts of scrapli *do* run on Windows, Windows is not officially supported


## Installation

nornir_scrapli uses [semantic versions](https://semver.org/). The major version matches the scrapli major version.
Install the release line that matches your scrapli version:

```
# scrapli v1
pip install "nornir-scrapli>=1,<2"

# scrapli v2
pip install "nornir-scrapli>=2,<3"
```

Each `1.x` release is also published with a calendar version, such as `2026.10.30`. Without a version constraint,
`pip install nornir-scrapli` installs the latest calendar version, which uses scrapli v1. Calendar versions will later
follow `2.x` instead. The changelog heading of each release names both versions. See the
[versioning docs](https://scrapli.github.io/nornir_scrapli/user_guide/versioning) and
[issue #178](https://github.com/scrapli/nornir_scrapli/issues/178) for details.

See the [docs](https://scrapli.github.io/nornir_scrapli/user_guide/installation) for other installation methods/details.



## A simple Example

```python
from nornir import InitNornir
from nornir_scrapli.tasks import send_command


nr = InitNornir(config_file="nornir_data/config.yaml")
command_results = nr.run(task=send_command, command="show version")

print("send_command result:")
print(command_results["iosxe-1"].result)
```
