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 Python package Build & Publish to PyPi

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.8.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

omnivista_py-0.3.8-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omnivista_py-0.3.8.tar.gz
  • Upload date:
  • Size: 5.8 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.8.tar.gz
Algorithm Hash digest
SHA256 6c557150aed6780e2f67f3cc4080e74107041bf19411348cebf1d88c6117fb2d
MD5 c400d82c95fc433898990d316664fbcd
BLAKE2b-256 373305ce995d81f30e48241bd186c72bbb50f680546bab519785003ecbf7e9f9

See more details on using hashes here.

Provenance

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

Publisher: python_publish.yml on phillipyosief/omnivista_py

Attestations:

File details

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

File metadata

File hashes

Hashes for omnivista_py-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1da4b34ca6b3180e932b296135b1ca81a2528a269e1928f03653908837bf02f3
MD5 9fb8aeeeb087ae0f30007a54ee30bf30
BLAKE2b-256 28eb3f9216bd3715e7492ebac9d1f0d2716be00520c5762dedf0fcff285f6bdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for omnivista_py-0.3.8-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