You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

phd2client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phd2client

PHD2 event server API client

0.3.0
pipPyPI
Maintainers
1

phd2client

A python binding for the PHD2 event server API.

Installation

pip install phd2client

Usage

from phd2client.guider import Guider, GuiderError

with Guider("localhost", connect=True) as guider:
    try:
        # connect equipment in profile "Simulator"
        guider.ConnectEquipment("Simulator")

        # start guiding with settle tolerance of 2.0 pixels, 10 second settle time, 100-second timeout
        guider.Guide(2.0, 10.0, 100.0)
    except GuiderError as e:
        print(f"Guider Error: {e}")

See examples for more complete examples.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts