Skip to main content

Supported Versions PyPI version Weekly Build Ruff License: MIT

nornir_scrapli


Documentation: https://scrapli.github.io/nornir_scrapli

Source Code: https://github.com/scrapli/nornir_scrapli

Examples: https://github.com/scrapli/nornir_scrapli/tree/master/examples


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 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!

Requirements

MacOS or *nix1, Python 3.10–3.14 (development defaults to Python 3.13)

1 Although many parts of scrapli do run on Windows, Windows is not officially supported

Installation

nornir_scrapli uses semantic versions. 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 and issue #178 for details.

See the docs for other installation methods/details.

A simple Example

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)

Metadata

Release files for nornir_scrapli 2026.11.7

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

Source distribution (sdist)

Source distribution for nornir_scrapli 2026.11.7
File Size Uploaded Provenance Actions
nornir_scrapli-2026.11.7.tar.gz 15.4 kB Without provenance Details for nornir_scrapli-2026.11.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nornir_scrapli 2026.11.7
File Interpreter ABI Platform Actions
nornir_scrapli-2026.11.7-py3-none-any.whl Python 3 none any Details for nornir_scrapli-2026.11.7-py3-none-any.whl

Total release size: 47.6 kB

Release files / nornir_scrapli-2026.11.7.tar.gz

Download URL nornir_scrapli-2026.11.7.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
258dd04f6b06d0f4f2d366f87bbfc04f3cde3e4c0e92af11c53d2f92224f8f90
BLAKE2b-256 checksum
How to use checksums
916b12bb2a2ff523bb87189e779af36ff6431c65eec8fa7e865e1ec3b5e9bdda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nornir_scrapli-2026.11.7-py3-none-any.whl

Download URL nornir_scrapli-2026.11.7-py3-none-any.whl
Size 32.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
945ecdf08694f877f345ced4d4b338062f0bc76300298d44158b7c71559efeaf
BLAKE2b-256 checksum
How to use checksums
b547b082d6841979260c072cf3c83bb807d7cb7b567d99d602a040ac5870ec66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for nornir_scrapli 2026.11.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2026.11.7 This release

2 release files No provenance

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