Skip to content

Commit

Permalink
WIP: Move astropy.samp to PyVO
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Sep 18, 2020
1 parent cfbd8f6 commit b301f56
Show file tree
Hide file tree
Showing 27 changed files with 4,688 additions and 0 deletions.
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 Protocal (SAMP)
<http://www.ivoa.net/documents/SAMP/>`_.
Before integration into Astropy (and later PyVO), it was known as
`SAMPy <https://pypi.org/project/sampy/>`_, and was developed by Luigi Paioro
(INAF - Istituto Nazionale di Astrofisica).
"""

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


from astropy import config as _config


class Conf(_config.ConfigNamespace):
"""
Configuration parameters for `pyvo.astropy_samp`.
"""

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

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


conf = Conf()
Loading

0 comments on commit b301f56

Please sign in to comment.