Skip to main content

indipyclient

Terminal client to communicate to an INDI service.

This is a pure python package, with no dependencies, providing an INDI terminal client.

It also provides a set of classes which can be used to create an INDI client. Either a script, or a GUI implementation could use this to generate the INDI protocol XML, and to create the connection to a port serving INDI drivers.

The client can be run with

indipyclient [options]

or with

python3 -m indipyclient [options]

The package help is:

usage: indipyclient [options]

Terminal client to communicate to an INDI service.

options:
  -h, --help            show this help message and exit
  -p PORT, --port PORT  Port of the INDI server (default 7624).
  --host HOST           Hostname/IP of the INDI server (default localhost).
  -b BLOBS, --blobs BLOBS
                        Optional folder where BLOB's will be saved.
  --loglevel LOGLEVEL   Enables logging, value 1, 2, 3 or 4.
  --logfile LOGFILE     File where logs will be saved
  --version             show program's version number and exit

The BLOB's folder can also be set from within the session.
Setting loglevel and logfile should only be used for brief
diagnostic purposes, the logfile could grow very big.
loglevel:1 Information and error messages only,
loglevel:2 As 1 plus xml vector tags without members or contents,
loglevel:3 As 1 plus xml vectors and members - but not BLOB contents,
loglevel:4 As 1 plus xml vectors and all contents

A typical sesssion would look like:

Terminal screenshot

This is a companion package to 'indipydriver' which can be used to create INDI drivers.

INDI - Instrument Neutral Distributed Interface.

See https://en.wikipedia.org/wiki/Instrument_Neutral_Distributed_Interface

The INDI protocol is defined so that drivers should operate with any INDI client.

The protocol defines the format of the data sent, such as light, number, text, switch or BLOB (Binary Large Object) and the client can send commands to control the instrument. The client can be general purpose, taking the format of switches, numbers etc., from the protocol.

INDI is often used with astronomical instruments, but is a general purpose protocol which can be used for any instrument control providing drivers are available.

Further documentation is available at:

https://indipyclient.readthedocs.io

If you are only using the terminal client, I recommend pipx, so to install you would use:

pipx install indipyclient

or if you want to run it, without installing:

pipx run indipyclient

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

indipyclient-0.2.2.tar.gz (54.4 kB view details)

Uploaded Source

Built Distribution

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

indipyclient-0.2.2-py3-none-any.whl (59.2 kB view details)

Uploaded Python 3

File details

Details for the file indipyclient-0.2.2.tar.gz.

File metadata

  • Download URL: indipyclient-0.2.2.tar.gz
  • Upload date:
  • Size: 54.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for indipyclient-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f0264d75e5a9fd5bde1bb3b34ff847a57572da1faf5da98ffc726ea771c3265c
MD5 d65f5a42747460ff10f4034f6022bd65
BLAKE2b-256 3a4b0c5f2820f26b775d51772f11ebcdf78746b1654fcf6da0b9b3151d968426

See more details on using hashes here.

File details

Details for the file indipyclient-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: indipyclient-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 59.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for indipyclient-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 340e67503b645957b7c5ac23f9ab0ddd178de2691fd1453f32a8b8904891779f
MD5 2424c8d117af1201ae17fc2a40c0e03f
BLAKE2b-256 507193b21f4f502d61d545470db56f21bbe9ae48fa2f41222e139786eaaaefe7

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