Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions pyvo/astropy_samp/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
This subpackage provides classes to communicate with other applications via the
`Simple Application Messaging Protocol (SAMP)
<http://www.ivoa.net/documents/SAMP/>`_.

Before integration into Astropy it was known as
`SAMPy <https://pypi.org/project/sampy/>`_, and was developed by Luigi Paioro
(INAF - Istituto Nazionale di Astrofisica).
"""

from astropy import config as _config

from .client import *
from .constants import *
from .errors import *
from .hub import *
from .hub_proxy import *
from .integrated_client import *
from .utils import *


class Conf(_config.ConfigNamespace):
"""
Configuration parameters for `astropy.samp`.
"""

use_internet = _config.ConfigItem(
True,
"Whether to allow `astropy.samp` to use the internet, if available.",
aliases=["astropy.samp.utils.use_internet"],
)

n_retries = _config.ConfigItem(
10, "How many times to retry communications when they fail"
)


conf = Conf()
Loading