videoipath-automation-tool


Namevideoipath-automation-tool JSON
Version 0.3.2 PyPI version JSON
download
home_pagehttps://github.com/SWR-MoIP/VideoIPath-Automation-Tool
SummaryA Python package for automating VideoIPath configuration workflows.
upload_time2025-07-14 11:46:25
maintainerSWR Media-over-IP Team
docs_urlNone
authorPaul Winterstein
requires_python>=3.11
licenseAGPL-3.0-only
keywords videoipath automation nevion media-over-ip st2110 orchestration
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <img src="https://raw.githubusercontent.com/SWR-MoIP/VideoIPath-Automation-Tool/refs/heads/main/docs/images/logo-lightmode.svg#gh-light-mode-only" width="400" />
  <img src="./docs/images/logo-darkmode.svg#gh-dark-mode-only" width="400" alt="" />
</div>

<p align="center">A <a href="https://www.python.org" target="_blank" rel="noopener noreferrer">Python</a> package for automating <a href="https://nevion.com/videoipath" target="_blank" rel="noopener noreferrer">VideoIPath</a> configuration workflows.</p>

<div align="center">
  
[![PyPI version](https://img.shields.io/pypi/v/videoipath-automation-tool)](https://pypi.org/project/videoipath-automation-tool/)
[![GitHub Workflow Status](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/actions/workflows/ci.yml/badge.svg)](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/actions/workflows/ci.yml)
[![Python Versions](https://img.shields.io/badge/python-3.11%20|%203.12%20|%203.13-blue)](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL_v3-blue.svg)](LICENSE)

</div>

<hr />

> **⚠️ Attention ⚠️**<br>
>This Python package, the VideoIPath Automation Tool, is still under development and currently in the beta phase. Features and interfaces may change as development progresses. Feel free to use the module and provide feedback, but be aware that breaking changes may occur in future versions.

## Introduction

The **VideoIPath Automation Tool** is a Python package designed to simplify and optimize interactions with the VideoIPath API. The focus is on providing a user-friendly and efficient way to automate configuration tasks and bulk operations on VideoIPath servers. The package abstracts the complexity of the API and provides a high-level interface. Currently, the package offers methods for managing devices  in the Inventory and Topology apps, as well as the configuration of multicast pools and profiles.

The provided methods and data models ensure easy handling, robust validation, comprehensive logging, and enhanced reliability.

## Quick Start Guide

### Prerequisites

- Access to a VideoIPath Server (version 2023.4.2 or higher, LTS versions recommended)
- Username and Password for a user account with API access
- Python 3.11 or higher

### Installation

The package is available via the [Python Package Index (PyPI)](https://pypi.org/project/videoipath-automation-tool/) and can be installed directly using `pip`.

#### Install the package using pip

```bash
pip install videoipath-automation-tool
```

**Note:** By default, the latest Long-Term Support (LTS) version (currently **2024.4.14**) is used for schema validation and IntelliSense.

To switch to a specific version, see the [Driver Versioning Guide](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/driver-versioning.md)

### A Simple Example: Adding a Device to the Inventory

```python
# Import the `VideoIPathApp` class from the videoipath_automation_tool package
from videoipath_automation_tool import VideoIPathApp

# Initialize the VideoIPathApp
app = VideoIPathApp(server_address="10.1.100.10", username="api-user", password="veryStrongPassword", use_https=False, verify_ssl_cert=False)

# Create a device object with NMOS Multidevice driver
staged_device = app.inventory.create_device(driver="com.nevion.NMOS_multidevice-0.1.0")

# Set the device label, description, address, nmos port and disable 'Use indices in IDs' option
staged_device.configuration.label = "Media-Node-1"
staged_device.configuration.description = "Hello World"
staged_device.configuration.address = "10.100.100.1"
staged_device.configuration.custom_settings.port = 8080
staged_device.configuration.custom_settings.indices_in_ids = False

# Add the configured device to the inventory of the VideoIPath server
# This immediately registers the device and returns the assigned device object.
try:
    device = app.inventory.add_device(staged_device)
    print(f"Device added successfully: {device.device_id}")
    #> Device added successfully: device34
except Exception as e:
    print(f"Failed to add device: {e}")
```

## Documentation

- [Getting Started Guide](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/getting-started-guide/README.md)
- [Python Module Architecture](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/python-module-architecture.md)
- [Driver Versioning](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/driver-versioning.md)
- [Development and Release](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/development-and-release.md)

## Feedback & Contributions

Your feedback and contributions are highly appreciated! There are several ways to participate and help improve the **VideoIPath Automation Tool**:

<p>
  ✅ <strong>Report issues & suggest features:</strong> Open an issue on GitHub:  
  ➝ <a href="https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/issues">GitHub Issues</a>
</p>

<p>
  ✅ <strong>Contribute via pull requests:</strong> If you want to implement a fix or a new feature yourself, feel free to fork the repository and submit a pull request.  
  ➝ <a href="https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/fork">Fork the Repository</a>
</p>

<p>
  ✅ <strong>Discuss & provide feedback:</strong> If you have general feedback or ideas that don’t fit into an issue, feel free to reach out via email:  
  📧 <a href="mailto:moip@swr.de">moip@swr.de</a>
</p>

Thank you for your support and contributions!

## Disclaimer

VideoIPath Automation Tool is an independent software tool that can be used with the [VideoIPath](https://nevion.com/videoipath) media orchestration platform. However, it is not a product or service offered by Nevion, and Nevion is not responsible for its functionality, performance, support, or any unforeseen consequences arising from its use. Nevion's VideoIPath platform is used to manage critical media infrastructure, and special care is advised concerning the use of external tools such as this.

## License

[Affero General Public License v3.0](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SWR-MoIP/VideoIPath-Automation-Tool",
    "name": "videoipath-automation-tool",
    "maintainer": "SWR Media-over-IP Team",
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": "moip@swr.de",
    "keywords": "videoipath, automation, nevion, media-over-ip, st2110, orchestration",
    "author": "Paul Winterstein",
    "author_email": "paul.winterstein@swr.de",
    "download_url": "https://files.pythonhosted.org/packages/ff/b3/8697a48a40cf257942a82319c0ec4ba61b0ebc0654c6771a02155a2322af/videoipath_automation_tool-0.3.2.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/SWR-MoIP/VideoIPath-Automation-Tool/refs/heads/main/docs/images/logo-lightmode.svg#gh-light-mode-only\" width=\"400\" />\n  <img src=\"./docs/images/logo-darkmode.svg#gh-dark-mode-only\" width=\"400\" alt=\"\" />\n</div>\n\n<p align=\"center\">A <a href=\"https://www.python.org\" target=\"_blank\" rel=\"noopener noreferrer\">Python</a> package for automating <a href=\"https://nevion.com/videoipath\" target=\"_blank\" rel=\"noopener noreferrer\">VideoIPath</a> configuration workflows.</p>\n\n<div align=\"center\">\n  \n[![PyPI version](https://img.shields.io/pypi/v/videoipath-automation-tool)](https://pypi.org/project/videoipath-automation-tool/)\n[![GitHub Workflow Status](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/actions/workflows/ci.yml/badge.svg)](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/actions/workflows/ci.yml)\n[![Python Versions](https://img.shields.io/badge/python-3.11%20|%203.12%20|%203.13-blue)](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool)\n[![License: AGPL v3](https://img.shields.io/badge/License-AGPL_v3-blue.svg)](LICENSE)\n\n</div>\n\n<hr />\n\n> **\u26a0\ufe0f Attention \u26a0\ufe0f**<br>\n>This Python package, the VideoIPath Automation Tool, is still under development and currently in the beta phase. Features and interfaces may change as development progresses. Feel free to use the module and provide feedback, but be aware that breaking changes may occur in future versions.\n\n## Introduction\n\nThe **VideoIPath Automation Tool** is a Python package designed to simplify and optimize interactions with the VideoIPath API. The focus is on providing a user-friendly and efficient way to automate configuration tasks and bulk operations on VideoIPath servers. The package abstracts the complexity of the API and provides a high-level interface. Currently, the package offers methods for managing devices  in the Inventory and Topology apps, as well as the configuration of multicast pools and profiles.\n\nThe provided methods and data models ensure easy handling, robust validation, comprehensive logging, and enhanced reliability.\n\n## Quick Start Guide\n\n### Prerequisites\n\n- Access to a VideoIPath Server (version 2023.4.2 or higher, LTS versions recommended)\n- Username and Password for a user account with API access\n- Python 3.11 or higher\n\n### Installation\n\nThe package is available via the [Python Package Index (PyPI)](https://pypi.org/project/videoipath-automation-tool/) and can be installed directly using `pip`.\n\n#### Install the package using pip\n\n```bash\npip install videoipath-automation-tool\n```\n\n**Note:** By default, the latest Long-Term Support (LTS) version (currently **2024.4.14**) is used for schema validation and IntelliSense.\n\nTo switch to a specific version, see the [Driver Versioning Guide](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/driver-versioning.md)\n\n### A Simple Example: Adding a Device to the Inventory\n\n```python\n# Import the `VideoIPathApp` class from the videoipath_automation_tool package\nfrom videoipath_automation_tool import VideoIPathApp\n\n# Initialize the VideoIPathApp\napp = VideoIPathApp(server_address=\"10.1.100.10\", username=\"api-user\", password=\"veryStrongPassword\", use_https=False, verify_ssl_cert=False)\n\n# Create a device object with NMOS Multidevice driver\nstaged_device = app.inventory.create_device(driver=\"com.nevion.NMOS_multidevice-0.1.0\")\n\n# Set the device label, description, address, nmos port and disable 'Use indices in IDs' option\nstaged_device.configuration.label = \"Media-Node-1\"\nstaged_device.configuration.description = \"Hello World\"\nstaged_device.configuration.address = \"10.100.100.1\"\nstaged_device.configuration.custom_settings.port = 8080\nstaged_device.configuration.custom_settings.indices_in_ids = False\n\n# Add the configured device to the inventory of the VideoIPath server\n# This immediately registers the device and returns the assigned device object.\ntry:\n    device = app.inventory.add_device(staged_device)\n    print(f\"Device added successfully: {device.device_id}\")\n    #> Device added successfully: device34\nexcept Exception as e:\n    print(f\"Failed to add device: {e}\")\n```\n\n## Documentation\n\n- [Getting Started Guide](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/getting-started-guide/README.md)\n- [Python Module Architecture](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/python-module-architecture.md)\n- [Driver Versioning](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/driver-versioning.md)\n- [Development and Release](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/development-and-release.md)\n\n## Feedback & Contributions\n\nYour feedback and contributions are highly appreciated! There are several ways to participate and help improve the **VideoIPath Automation Tool**:\n\n<p>\n  \u2705 <strong>Report issues & suggest features:</strong> Open an issue on GitHub:  \n  \u279d <a href=\"https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/issues\">GitHub Issues</a>\n</p>\n\n<p>\n  \u2705 <strong>Contribute via pull requests:</strong> If you want to implement a fix or a new feature yourself, feel free to fork the repository and submit a pull request.  \n  \u279d <a href=\"https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/fork\">Fork the Repository</a>\n</p>\n\n<p>\n  \u2705 <strong>Discuss & provide feedback:</strong> If you have general feedback or ideas that don\u2019t fit into an issue, feel free to reach out via email:  \n  \ud83d\udce7 <a href=\"mailto:moip@swr.de\">moip@swr.de</a>\n</p>\n\nThank you for your support and contributions!\n\n## Disclaimer\n\nVideoIPath Automation Tool is an independent software tool that can be used with the [VideoIPath](https://nevion.com/videoipath) media orchestration platform. However, it is not a product or service offered by Nevion, and Nevion is not responsible for its functionality, performance, support, or any unforeseen consequences arising from its use. Nevion's VideoIPath platform is used to manage critical media infrastructure, and special care is advised concerning the use of external tools such as this.\n\n## License\n\n[Affero General Public License v3.0](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/LICENSE)\n",
    "bugtrack_url": null,
    "license": "AGPL-3.0-only",
    "summary": "A Python package for automating VideoIPath configuration workflows.",
    "version": "0.3.2",
    "project_urls": {
        "Documentation": "https://github.com/SWR-MoIP/VideoIPath-Automation-Tool#documentation",
        "Homepage": "https://github.com/SWR-MoIP/VideoIPath-Automation-Tool",
        "Issues": "https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/issues",
        "Repository": "https://github.com/SWR-MoIP/VideoIPath-Automation-Tool"
    },
    "split_keywords": [
        "videoipath",
        " automation",
        " nevion",
        " media-over-ip",
        " st2110",
        " orchestration"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "092f722b6593fb5c367f87c2922198243f856329de4ec5a3ec83fb9a7d4cbdfc",
                "md5": "27dc180b40e549fb349a06a87bf15f18",
                "sha256": "1f0b364a94bb7c0763df8e81d01a73b55a65b06f0e8204edf2692c6942b66891"
            },
            "downloads": -1,
            "filename": "videoipath_automation_tool-0.3.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "27dc180b40e549fb349a06a87bf15f18",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 540504,
            "upload_time": "2025-07-14T11:46:24",
            "upload_time_iso_8601": "2025-07-14T11:46:24.524872Z",
            "url": "https://files.pythonhosted.org/packages/09/2f/722b6593fb5c367f87c2922198243f856329de4ec5a3ec83fb9a7d4cbdfc/videoipath_automation_tool-0.3.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ffb38697a48a40cf257942a82319c0ec4ba61b0ebc0654c6771a02155a2322af",
                "md5": "a89a3656d1043d5a6954c88c23c43d68",
                "sha256": "d310d1be2e4038136a14a374ba82e7eb619f214c57b1e98ecf3e74001b0ca2ae"
            },
            "downloads": -1,
            "filename": "videoipath_automation_tool-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a89a3656d1043d5a6954c88c23c43d68",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 466643,
            "upload_time": "2025-07-14T11:46:25",
            "upload_time_iso_8601": "2025-07-14T11:46:25.674472Z",
            "url": "https://files.pythonhosted.org/packages/ff/b3/8697a48a40cf257942a82319c0ec4ba61b0ebc0654c6771a02155a2322af/videoipath_automation_tool-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-14 11:46:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "SWR-MoIP",
    "github_project": "VideoIPath-Automation-Tool",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "videoipath-automation-tool"
}
        
Elapsed time: 0.42675s