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.
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.
Contributing
- Fork it (https://github.com/phillipyosief/omnivista_py/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c557150aed6780e2f67f3cc4080e74107041bf19411348cebf1d88c6117fb2d |
|
MD5 | c400d82c95fc433898990d316664fbcd |
|
BLAKE2b-256 | 373305ce995d81f30e48241bd186c72bbb50f680546bab519785003ecbf7e9f9 |
Provenance
The following attestation bundles were made for omnivista_py-0.3.8.tar.gz
:
Publisher:
python_publish.yml
on phillipyosief/omnivista_py
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
omnivista_py-0.3.8.tar.gz
- Subject digest:
6c557150aed6780e2f67f3cc4080e74107041bf19411348cebf1d88c6117fb2d
- Sigstore transparency entry: 146261183
- Sigstore integration time:
- Predicate type:
File details
Details for the file omnivista_py-0.3.8-py3-none-any.whl
.
File metadata
- Download URL: omnivista_py-0.3.8-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1da4b34ca6b3180e932b296135b1ca81a2528a269e1928f03653908837bf02f3 |
|
MD5 | 9fb8aeeeb087ae0f30007a54ee30bf30 |
|
BLAKE2b-256 | 28eb3f9216bd3715e7492ebac9d1f0d2716be00520c5762dedf0fcff285f6bdc |
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
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
omnivista_py-0.3.8-py3-none-any.whl
- Subject digest:
1da4b34ca6b3180e932b296135b1ca81a2528a269e1928f03653908837bf02f3
- Sigstore transparency entry: 146261186
- Sigstore integration time:
- Predicate type: