Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

discos/DISCOSClient

Open more actions menu

Repository files navigation

DISCOSClient

CI Tests Code Coverage

DISCOSClient is a Python client for accessing telemetry data streams from DISCOS (Development of the Italian Single-dish COntrol System), the control system used by INAF's radio telescopes.

The client allows subscriptions to specific components (e.g., mount, antenna) and provides thread-safe, read-only access to their internal state via a structured and immutable interface.

Features

  • ZeroMQ SUB client for structured telemetry updates
  • Read-only nested namespaces for safe access
  • Lightweight and dependency-minimal
  • JSON schemas used as metadata for message structure

Setup

Clone the repository and install the package:

git clone https://github.com/discos/DISCOSClient.git
cd DISCOSClient
pip install .

Usage Example

from discos_client import DISCOSClient

SRT = DISCOSClient("mount", address="127.0.0.1", port=16000)

az = SRT.mount.azimuth.currentPosition
el = SRT.mount.elevation.currentPosition
print(f"Azimuth: {az}\nElevation: {el}")

Project Structure

  • discos_client/ – Main client implementation
  • discos_client/schemas/ – JSON schemas used as structural metadata
  • tests/ – Unit tests

Documentation

For more details, read the full documentation, available at:

📘 https://discosclient.readthedocs.io/en/latest/

License

This project is licensed under the GPL-3.0-only license. See the LICENSE file for details.

Contact

Giuseppe Carboni – giuseppe.carboni@inaf.it

About

DISCOS Python Clients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.