indipyclient
This indipyclient package provides a terminal client, which connects to a port, allowing an instrument to be viewed and controlled from a terminal session.
The instrument port is typically served using the indipydriver package which provides classes which can be used by your own Python program controlling some form of instrument, with switches, indicators or measurement data.
indipydriver and indipyclient communicate with the INDI protocol.
INDI - Instrument Neutral Distributed Interface.
See https://en.wikipedia.org/wiki/Instrument_Neutral_Distributed_Interface
The companion package 'indipydriver' is available on Pypi and developed at.
https://github.com/bernie-skipole/indipydriver
The indipyclient terminal client can be started from the command line, and can also be imported if required, in which case it provides a set of classes which can be used to create scripts to control the remote instrument.
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:
The INDI protocol is defined to 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). The client is 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
The package can be installed from:
Metadata
Release files for indipyclient 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| indipyclient-0.4.0.tar.gz | 60.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| indipyclient-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 127.4 kB
Release files / indipyclient-0.4.0.tar.gz
| Download URL | indipyclient-0.4.0.tar.gz |
|---|---|
| Size | 60.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2c865ffbea2386d1533535a3d2e294b29cf5e7a9f8930c8401579ca6b5543cf
|
|
BLAKE2b-256 checksum How to use checksums |
a57ea5e8a5acf666419fc72c21df177b2ea90b379a4325439d478df84eb9b98e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.2
|
Release files / indipyclient-0.4.0-py3-none-any.whl
| Download URL | indipyclient-0.4.0-py3-none-any.whl |
|---|---|
| Size | 67.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf5eeb4669624515caedf2dc4dde1d8a95b5b52574dad3de4b60dcbc01c6dda9
|
|
BLAKE2b-256 checksum How to use checksums |
4e7cfb8d50e74d80c86b1c7d26c6c2be5c2f29ba2e2fe1253ca127f6db55517c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.2
|