Skip to main content

A Python library that simplifies interaction with the OmniVista API, enabling easy authentication, device management, and performance data querying.

Project description

omnivista_py - An API Client for the Alcatel-Lucent OmniVista 2500

a Python library that simplifies interaction with the OmniVista API.

PyPI - Version PyPI - Python Version PyPI - Wheel

omnivista_py allows easy management of network devices, and querying of performance data. With integrated error handling and optional logging

Installation

Using PyPi

pip install omnivista_py

Usage example

With omnivista_py, it has never been easier to search for a device and retrieve information about it.

Here is an example of how to initialize the client, search for 3 devices using three different attributes, and then print out their software version, configured IP interfaces, and the current directory they are running in.

from omnivista_py import OVClient, Device

client = OVClient(
    url="https://omnivista.com",
    username="your_username",
    password="your_password"
)
client.login

device1 = client.Device(client, ip_address="192.168.1.1")
device2 = client.Device(client, hostname="myalcateldevice")
device3 = client.Device(client, mac_address="3a:5f:1c:7e:2b:9d")

devices = [device1, device2, device3]

for device in devices:
    print(device.get_software_version())
    print(device.get_ip_interfaces())
    print(device.get_running_directory())

Future Plans

There are several features and improvements planned for future releases of omnivita_py. Which you can find all under Projects

Meta

Phillip Jerome Yosief

Distributed under the MIT license. See LICENSE for more information.

github.com/phillipyosief/

Contributing

  1. Fork it (https://github.com/phillipyosief/omnivista_py/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

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

omnivista_py-0.3.7.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

omnivista_py-0.3.7-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file omnivista_py-0.3.7.tar.gz.

File metadata

  • Download URL: omnivista_py-0.3.7.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for omnivista_py-0.3.7.tar.gz
Algorithm Hash digest
SHA256 35e5c7c44882fcbd7326b8bd7ed040406c1a5360028a565e8becbee70017cdef
MD5 b020ed2b0e6474c8d03720cb0b711245
BLAKE2b-256 8aca4250731be397235de7521f1e19eb62fba4a60f0ad1ca922e6e1e34f1b331

See more details on using hashes here.

Provenance

The following attestation bundles were made for omnivista_py-0.3.7.tar.gz:

Publisher: python_publish.yml on phillipyosief/omnivista_py

Attestations:

File details

Details for the file omnivista_py-0.3.7-py3-none-any.whl.

File metadata

File hashes

Hashes for omnivista_py-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b80a53f993b3f8851250cceba231bc686d0f2183ff7a1070486b2a91ef259505
MD5 2f96673d9705f767489182865cfe2503
BLAKE2b-256 bc407d473c19f2f6fb5111fa3c3bb40341087af2bb392d5eb3cda4e573c47538

See more details on using hashes here.

Provenance

The following attestation bundles were made for omnivista_py-0.3.7-py3-none-any.whl:

Publisher: python_publish.yml on phillipyosief/omnivista_py

Attestations:

Supported by

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