Skip to main content

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)

Source distribution for netpulse-sdk 0.4.0
File Size Uploaded
netpulse_sdk-0.4.0.tar.gz 38.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netpulse-sdk 0.4.0
File Interpreter ABI Platform
netpulse_sdk-0.4.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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