scrapli_netconf
Documentation: https://scrapli.github.io/scrapli_netconf
Source Code: https://github.com/scrapli/scrapli_netconf
Examples: https://github.com/scrapli/scrapli_netconf/tree/master/examples
scrapli_netconf is a NETCONF driver built on top of scrapli, giving you all the scrapli behaviour you know and love, but for NETCONF connections.
Key Features:
- Easy: Just like scrapli, scrapli_netconf is easy to get going with, and looks and feels just like "normal" 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! scrapli_netconf supports all of the ssh transports that
scrapli core supports; check out the
ssh2transport if you've got the need for speed! - Great Developer Experience: scrapli_netconf 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_netconf has lots of tests! Unit tests cover the basics, regularly ran functional tests connect to virtual routers to ensure that everything works IRL!
- 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+
scrapli_netconf's only requirements are scrapli, of course, and lxml.
1 Although many parts of scrapli do run on Windows, Windows is not officially supported
Installation
pip install scrapli_netconf
See the docs for other installation methods/details.
A Simple Example
from scrapli_netconf.driver import NetconfDriver
my_device = {
"host": "172.18.0.13",
"auth_username": "scrapli",
"auth_password": "scrapli",
"auth_strict_key": False,
"port": 830
}
conn = NetconfDriver(**my_device)
conn.open()
response = conn.get_config(source="running")
print(response.result)
Metadata
Release files for scrapli-netconf 2026.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scrapli_netconf-2026.1.12.tar.gz | 30.4 kB | Without provenance | Details for scrapli_netconf-2026.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scrapli_netconf-2026.1.12-py3-none-any.whl | Python 3 | none | any | Details for scrapli_netconf-2026.1.12-py3-none-any.whl |
Total release size: 67.5 kB
Release files / scrapli_netconf-2026.1.12.tar.gz
| Download URL | scrapli_netconf-2026.1.12.tar.gz |
|---|---|
| Size | 30.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e497d52c986ed8d05504767d84e56487f5887271f1ab59b569fb30e879f8f9b
|
|
BLAKE2b-256 checksum How to use checksums |
64305498e4cef2b1c8ba9826d6b05a6507b0906c8ccc168d486f8a3df58414cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / scrapli_netconf-2026.1.12-py3-none-any.whl
| Download URL | scrapli_netconf-2026.1.12-py3-none-any.whl |
|---|---|
| Size | 37.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec833aa4f29407af2622391c3afb84721af736869edd7d4b1f4b4e9faf9decda
|
|
BLAKE2b-256 checksum How to use checksums |
c1a452c43c4ebf8da5868091bcae4be859c16a8a8782adfc94643618c4e5a89b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for scrapli-netconf 2026.1.12
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.