Skip to main content

PHD2 event server API client

Project description

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.

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

phd2client-0.3.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phd2client-0.3.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file phd2client-0.3.0.tar.gz.

File metadata

  • Download URL: phd2client-0.3.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for phd2client-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3dfb9bbd1b01af1db8f1fcf445ea7f3ad7ecba46f838684b3f183f4459d70a64
MD5 863100c670252ce5442debd51e4df00d
BLAKE2b-256 644030fd4f35901fd91b8db37becd7a5a7644efc92f9e3fdaa85c079417084a5

See more details on using hashes here.

File details

Details for the file phd2client-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for phd2client-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c91f325fdf801d8d7d72b7c890748137fb481b291a5e2b62c3c898706adf34d
MD5 5d33192f6f44011445ecd4e5a30d0763
BLAKE2b-256 7c409774de6adff4aa3f5e43d2cebec36f0279054e6ee2949daab6f8f5a9c19d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page