HPmiko
HPmiko is a middle-man script to simplify extracting data from HP/Aruba Procurve switches using Netmiko
Installation
To install HPmiko, simply use pip:
$ pip install HPmiko
HPmiko has the following requirements (which pip will install for you)
netmiko >= 2.4.0
Documentation
Usage
import HPmiko
ip = 127.0.0.1
username = "admin"
password = "password"
my_switch = HPmiko.HP(ip, username, password)
my_switch.connect()
hostname = my_switch.get_hostname()
print(hostname)
Metadata
Release files for HPmiko 1.1.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 | |
|---|---|---|---|
| HPmiko-1.1.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| HPmiko-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / HPmiko-1.1.0.tar.gz
| Download URL | HPmiko-1.1.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0e8af313e949d602fbf3523d513caf154cbcee14fa57653de765e479e92bf8b
|
|
BLAKE2b-256 checksum How to use checksums |
ff989779c83817304767f24a779b59e351d7640da0b657e4feba927461bf49ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.2
|
Release files / HPmiko-1.1.0-py3-none-any.whl
| Download URL | HPmiko-1.1.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
384270d4b10c659a94dce317194a93c17d7c2e9e4ada8bc69ce94a352565f115
|
|
BLAKE2b-256 checksum How to use checksums |
b8f3eedc33d88601d4ace6e5c5ff108c2bf86fa18e3e0e9f5a49c35c8685e1a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.2
|