Metadata-Version: 2.1
Name: agiltron-selfalign
Version: 0.1.0
Summary: Python interface for the Agiltron SelfAlign fiber switch
Home-page: https://github.com/ograsdijk/Agiltron-SelfAlign
License: MIT
Author: ograsdijk
Author-email: o.grasdijk@gmail.com
Requires-Python: >=3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: PyVISA (>=1.13.0,<2.0.0)
Project-URL: Repository, https://github.com/ograsdijk/Agiltron-SelfAlign
Description-Content-Type: text/markdown

# Agiltron-SelfAlign
[![Python versions on PyPI](https://img.shields.io/pypi/pyversions/agiltron_selfalign.svg)](https://pypi.python.org/pypi/nkt_basik/)
[![agiltron_selfalign version on PyPI](https://img.shields.io/pypi/v/agiltron_selfalign.svg "Agiltron-SelfAlign on PyPI")](https://pypi.python.org/pypi/nkt_basik/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Python interface for the [Agiltron SelfAlign](https://agiltron.com/product/selfalign-series-1xn-switch-box/) fiber switch.

## Install
```
pip install git+https://github.com/ograsdijk/Agiltron-SelfAlign.git
```

## Code Example
```Python
from agiltron_selfalign import AgiltronSelfAlign

resource_name = "COM8"
switch = AgiltronSelfAlign(resource_name, number_of_ports = 16)

# change port to port 14
switch.set_fiber_port(14)

# home switch to port 1
switch.home()
```
