Skip to content
Merged
Prev Previous commit
Next Next commit
Fix #19, added ability to send commands
  • Loading branch information
giuseppe-carboni committed Mar 25, 2026
commit d4eec7af364936424c107d5218118c8258baae0a
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-24.04
tools:
python: "3.13"
python: "3.14"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand Down
28 changes: 1 addition & 27 deletions discos_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,5 @@
from functools import partial
from .client import DISCOSClient, DEFAULT_SUB_PORT, DEFAULT_REQ_PORT
from .client import DISCOSClient, SRTClient, MedicinaClient, NotoClient

SRTClient = partial(
DISCOSClient,
address="192.168.200.203",
sub_port=DEFAULT_SUB_PORT,
req_port=DEFAULT_REQ_PORT,
telescope="SRT"
)
MedicinaClient = partial(
DISCOSClient,
address="192.168.1.100",
sub_port=DEFAULT_SUB_PORT,
req_port=DEFAULT_REQ_PORT,
telescope="Medicina"
)
NotoClient = partial(
DISCOSClient,
address="192.167.187.17",
sub_port=DEFAULT_SUB_PORT,
req_port=DEFAULT_REQ_PORT,
telescope="Noto"
)

del partial
del DEFAULT_SUB_PORT
del DEFAULT_REQ_PORT

__all__ = [
"DISCOSClient",
Expand Down
Loading
Loading