Skip to main content

Python interface for the Agiltron SelfAlign fiber switch

Project description

Agiltron-SelfAlign

Python versions on PyPI agiltron_selfalign version on PyPI Code style: black

Python interface for the Agiltron SelfAlign fiber switch.

Install

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

Code Example

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()

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

agiltron-selfalign-0.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

agiltron_selfalign-0.1.0-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

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