Skip to main content

Python SDK for NetPulse Network Automation Platform

Project description

NetPulse SDK

Python SDK for NetPulse Network Automation Platform.

Installation

pip install netpulse-sdk

Quick Start

from netpulse_sdk import NetPulseClient

# Initialize client
client = NetPulseClient(
    base_url="http://localhost:9000",
    api_key="your-api-key",
    default_connection_args={
        "device_type": "cisco_ios",
        "username": "admin",
        "password": "admin",
    },
)

# Collect device information
job = client.collect(
    devices=["10.1.1.1", "10.1.1.2"],
    command="show version",
)

# Process results
for result in job:
    if result.ok:
        print(f"{result.device_name}: {result.output[:50]}...")
    else:
        print(f"{result.device_name}: {result.output}")

Features

  • Batch Execution: Execute commands on multiple devices simultaneously
  • Configuration Push: Push configuration changes to network devices
  • Stream Processing: Process results as they complete
  • Progress Monitoring: Track job progress in real-time
  • Error Handling: Comprehensive error handling with detailed error messages
  • Multiple Drivers: Support for netmiko, napalm, pyeapi, and paramiko

Supported Drivers

  • netmiko (default) - Most network devices (Cisco, HP, Huawei, Juniper, etc.)
  • napalm - Multi-vendor unified interface
  • pyeapi - Arista devices (eAPI)
  • paramiko - Linux servers

License

MIT

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

netpulse_sdk-0.2.1.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netpulse_sdk-0.2.1-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file netpulse_sdk-0.2.1.tar.gz.

File metadata

  • Download URL: netpulse_sdk-0.2.1.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for netpulse_sdk-0.2.1.tar.gz
Algorithm Hash digest
SHA256 eecceb4645ee31ea75c4f9bd9b8ed87d5d1770af9ec937dd96ed462292f506a3
MD5 fc66d68ce461c414ac84a06d78a7cc55
BLAKE2b-256 3f626788ade8624990e76c7a3b87309f5e934334270fbeb4649434b4bb7f1e45

See more details on using hashes here.

File details

Details for the file netpulse_sdk-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: netpulse_sdk-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for netpulse_sdk-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ce56217f961754d8b993022edc6bba37f6a058a8a9bf428ad9b1d38ca3bd2dce
MD5 9962b00431910fb273bddae26b3983c4
BLAKE2b-256 891fe2784b422574d452dcf0e686473e74e1adb622dd2691275fc5caccc32d8e

See more details on using hashes here.

Supported by

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