Easily add support for 'non-core' platforms to scrapli
Project description
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.7+
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": "scrapli",
"auth_password": "scrapli",
"auth_strict_key": False,
"platform": "ruckus_fastiron"
}
conn = Scrapli(**my_device)
conn.open()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scrapli_community-2024.7.30.tar.gz
.
File metadata
- Download URL: scrapli_community-2024.7.30.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f676aa0abe376c848269638f92aa56442be0e5834054e8e476bb1684ccdec192 |
|
MD5 | 2c6d0904fb2f81ec64e7c2bb0c059737 |
|
BLAKE2b-256 | 18abfcc8f611564022a2986b0d1d0717d692cb3c587428ba457dca388914ea94 |
File details
Details for the file scrapli_community-2024.7.30-py3-none-any.whl
.
File metadata
- Download URL: scrapli_community-2024.7.30-py3-none-any.whl
- Upload date:
- Size: 87.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e65c1c8f7302fbb71c9862a49066d42fd4270edb5be45da20f69704db41bf67 |
|
MD5 | 3094a6153bff4b9262edb374227a458f |
|
BLAKE2b-256 | 61f916757c54a2a2d66805887a1d00a8db970a2b7787886389e74fdd375ece41 |