Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Supported Versions PyPI version Weekly Build Code Style 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.6+

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

Installation

pip install nornir-scrapli

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 2022.1.30a1

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 2022.1.30a1
File Size Uploaded
nornir_scrapli-2022.1.30a1.tar.gz 17.1 kB Details

Built distribution (wheel)

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

Total release size: 49.1 kB

Release files / nornir_scrapli-2022.1.30a1.tar.gz

Download URL nornir_scrapli-2022.1.30a1.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
035c86eb0e0a84f70a35ade390a5eda22611cc84c78e547d797d751fb8f94de3
BLAKE2b-256 checksum
How to use checksums
e2bb08d64d44fb77dc46516f8ca4da4055e9fd85812299f38cbe6888b6a56c45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release files / nornir_scrapli-2022.1.30a1-py3-none-any.whl

Download URL nornir_scrapli-2022.1.30a1-py3-none-any.whl
Size 32.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb82664d04402850e302f7f381388a8082f07e54201b53c0d70135e4920bf14c
BLAKE2b-256 checksum
How to use checksums
92197f2df07bfabc70b76fc0f3eb28b80ae491bb61b80c8571081db361286e7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
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