Skip to main content

Easily add support for 'non-core' platforms to scrapli

Project description

Supported Versions PyPI version Weekly Build Code Style License: MIT

scrapli_community


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

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


This is the scrapli_community repository for scrapli.

If you would like to use scrapli, but the platform(s) that you work with are not supported in the "core" scrapli platforms, you have come to the right place! This library is intended to be a place for scrapli users to add additional platform support to scrapli.

Please see the main scrapli repo for much more information about the main project.

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 -- this repo! to easily add new device support!
  • Concurrency on Easy Mode: Nornir's scrapli plugin gives you all the normal benefits of scrapli plus all the great features of Nornir.

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 scrapli-community

See the docs for other installation methods/details.

A simple Example

from scrapli import Scrapli

my_device = {
    "host": "172.18.0.11",
    "auth_username": "vrnetlab",
    "auth_password": "VR-netlab9",
    "auth_strict_key": False,
    "platform": "ruckus_fastiron"
}

conn = Scrapli(**my_device)
conn.open()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrapli_community-2021.7.30.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

scrapli_community-2021.7.30-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

Details for the file scrapli_community-2021.7.30.tar.gz.

File metadata

  • Download URL: scrapli_community-2021.7.30.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for scrapli_community-2021.7.30.tar.gz
Algorithm Hash digest
SHA256 2805a4830024dac8d2d150f3cacb8c9b6a4b44da41220b6b48e0f62edf3e5a85
MD5 90c0a112e7bdbd6fcf62700be9fd6319
BLAKE2b-256 f0a39ae8175040606c3b5fb137216a9fbf257c7ed00a67bddc4143364ed0d988

See more details on using hashes here.

File details

Details for the file scrapli_community-2021.7.30-py3-none-any.whl.

File metadata

  • Download URL: scrapli_community-2021.7.30-py3-none-any.whl
  • Upload date:
  • Size: 41.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for scrapli_community-2021.7.30-py3-none-any.whl
Algorithm Hash digest
SHA256 b567abc59d384d3f0c3845aa73ed7e9d9cc954c69c2899033c2b7687c41a68f1
MD5 c8695576dea53d67627063104005e286
BLAKE2b-256 24f63f16a9cfca5f89e525efb33c27d2534a53a47ee04845c5ac0e163247c85f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page