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, GuiderException

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 GuiderException as ex:
        print(f"Guider Error: {ex}")

See phd2client.py for a more complete example.

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.1.2.tar.gz (6.7 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.1.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phd2client-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0dcda97b72b57610214c9b4e2966fedd4cd69786817d8d8114a7f7250a9f157b
MD5 90f77c708b32e273d2e5b405b9f9099e
BLAKE2b-256 c81379270dbac9313f342aaa709290ebc0c3ce337be300a86cda1b9aa5369b11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phd2client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 165f2755d88c99dc7f2597f4e21523346890fb59fc52ea5189c2db1c007e8479
MD5 cdf6a7e53104ad0308905f94f5460d91
BLAKE2b-256 42d60da550da3b3b4a4847fedbde685deaa8b51be54b8cd0fac4c1ad8fa865aa

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