Version Compatibility
| SDK Version | NetPulse API Version | Status |
|---|---|---|
| 0.4.x | 0.4.0+ | Recommended |
| 0.3.x | 0.4.0 | Legacy |
IMPORTANT: This version of the SDK (0.4.x) is strictly aligned with NetPulse API 0.4.0+. It supports advanced features like per-request MongoDB audit modes.
Installation
pip install netpulse-sdk
local-install
pip install -e .
NetPulse SDK
Python SDK for NetPulse Network Automation Platform.
Quick Start
from netpulse_sdk import NetPulseClient
# Initialize client
client = NetPulseClient(
base_url="http://localhost:9000",
api_key="your-api-key",
)
# Query device (Recommended pattern)
job = client.collect(
devices="10.1.1.1",
command="show version",
driver="netmiko",
connection_args={"device_type": "cisco_ios", "username": "admin", "password": "..."}
)
if job: # Uses new __bool__ feature to check all_ok
result = job[0] # Prefer index over .first()
print(f"Output: {result.stdout}")
# Push configuration
job = client.run(devices="10.1.1.1", config=["hostname ROUTER-01"]).raise_on_error()
print("Configuration success")
Features
- Batch Execution: Execute commands on multiple devices simultaneously
- Configuration Push: Push configuration changes to network devices
- Multiple Drivers: Support for netmiko, napalm, pyeapi, and paramiko
- Progress Monitoring: Track job progress in real-time
- Error Handling: Comprehensive error handling with detailed error messages
Supported Drivers
| Driver | Use Case |
|---|---|
netmiko |
Network devices (Cisco, HP, Huawei, Juniper) |
paramiko |
Linux servers |
pyeapi |
Arista (eAPI) |
napalm |
Multi-vendor unified interface |
Documentation
License
MIT
Metadata
Release files for netpulse-sdk 0.4.0
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 |
|---|---|---|---|---|
| netpulse_sdk-0.4.0.tar.gz | 38.6 kB | Without provenance | Details for netpulse_sdk-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netpulse_sdk-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for netpulse_sdk-0.4.0-py3-none-any.whl |
Total release size: 72.3 kB
Release files / netpulse_sdk-0.4.0.tar.gz
| Download URL | netpulse_sdk-0.4.0.tar.gz |
|---|---|
| Size | 38.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7c2c93f8865f4277dd79a4ee601a61cf76126e7d9d98ff61a0681eb4f30664b
|
|
BLAKE2b-256 checksum How to use checksums |
b19b23e31deb8ea51cbab415266c1c24f3b4942bb21601e805ea7487733f8405
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / netpulse_sdk-0.4.0-py3-none-any.whl
| Download URL | netpulse_sdk-0.4.0-py3-none-any.whl |
|---|---|
| Size | 33.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b57a98f31a6f5c8b5509ac0d9fe0d7169d69c8a6922a63be2fac9072a382763
|
|
BLAKE2b-256 checksum How to use checksums |
ea8ea5ea845f4fa7b0f605c277fc00b86d2ccec7f59f752b5cc09eaa42c8a8e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Security for netpulse-sdk 0.4.0
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.