Skip to main content
`Ctrl`+`K`

# Reference/API

## astropy.samp Package

Warning

`astropy.samp` was deprecated in version 8.0 and will be removed in a future version; please use `pyvo.samp` instead.

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).

### Functions

`safe_xmlrpc_loads`(data[, use_datetime, ...]) | A secure replacement for `xmlrpc.client.loads` that prevents XXE.

### 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.
`SAMPXXEServerProxy`(uri, *args, **kwargs) | An XML-RPC server proxy that uses a safe transport to prevent XXE.
`WebProfileDialog`() | A base class to make writing Web Profile GUI consent dialogs easier.

### Class Inheritance Diagram