Reference/API#

astropy.samp Package#

This subpackage provides classes to communicate with other applications via the Simple Application Messaging Protocol (SAMP).

Before integration into Astropy it was known as SAMPy, and was developed by Luigi Paioro (INAF - Istituto Nazionale di Astrofisica).

Classes#

Conf()

Configuration parameters for astropy.samp.

SAMPClient(hub[, name, description, ...])

Utility class which provides facilities to create and manage a SAMP compliant XML-RPC server that acts as SAMP callable client application.

SAMPClientError

SAMP Client exceptions.

SAMPHubError

SAMP Hub exception.

SAMPHubProxy()

Proxy class to simplify the client interaction with a SAMP hub (via the standard profile).

SAMPHubServer([secret, addr, port, ...])

SAMP Hub Server.

SAMPIntegratedClient([name, description, ...])

A Simple SAMP client.

SAMPMsgReplierWrapper(cli)

Function decorator that allows to automatically grab errors and returned maps (if any) from a function bound to a SAMP call (or notify).

SAMPProxyError(faultCode, faultString, **extra)

SAMP Proxy Hub exception.

SAMPWarning

SAMP-specific Astropy warning class.

WebProfileDialog()

A base class to make writing Web Profile GUI consent dialogs easier.

Class Inheritance Diagram#

Inheritance diagram of astropy.samp.Conf, astropy.samp.client.SAMPClient, astropy.samp.errors.SAMPClientError, astropy.samp.errors.SAMPHubError, astropy.samp.hub_proxy.SAMPHubProxy, astropy.samp.hub.SAMPHubServer, astropy.samp.integrated_client.SAMPIntegratedClient, astropy.samp.utils.SAMPMsgReplierWrapper, astropy.samp.errors.SAMPProxyError, astropy.samp.errors.SAMPWarning, astropy.samp.hub.WebProfileDialog