Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overhaul registry interface #289

Merged
merged 49 commits into from
Jun 3, 2022
Merged
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
511d9cc
Adding a basic framework to build RegTAP constraints, and the first A…
msdemlei Jun 30, 2021
8077a3a
Adding support for legacy keywords arguments in datasearch.
msdemlei Jul 2, 2021
e095876
Column selection and grouping for datasearch.
msdemlei Jul 2, 2021
c95758b
Now caching the RegTAP service object.
msdemlei Jul 2, 2021
5cdfef0
Adding a Servicetype constraint.
msdemlei Jul 19, 2021
f47dde2
Adding a waveband constraint
msdemlei Jul 19, 2021
4622f68
Adding a datamodel keyword.
msdemlei Jul 19, 2021
6512104
Reworking regtap.query to work with our new constraints.
msdemlei Jul 20, 2021
767f16d
Adding vocabulary checks to the waveband constraint
msdemlei Jul 20, 2021
aa930d3
Adding an Interface class to regtap to hold results for our now regul…
msdemlei Jul 20, 2021
85e9f00
Extracting registry.search query building to a get_RegTAP_query funct…
msdemlei Jul 22, 2021
a9ca306
Further steps towards improved service selection.
msdemlei Jul 28, 2021
c1fb437
RegTAP now employs COALESCE in the interface aggregates.
msdemlei Jul 28, 2021
eed306e
Work on interface selection by ~standard id.
msdemlei Aug 2, 2021
df923b0
Adding to_table() to RegistryResults for nicer interactive results.
msdemlei Aug 3, 2021
c411f8b
Adding a get_contact method to RegistryResource to figure out who cou…
msdemlei Aug 3, 2021
ee73bab
Adding a get_tables method to RegistryResources
msdemlei Aug 3, 2021
10ce5ce
Adding a UCD constraint.
msdemlei Aug 5, 2021
da6d4c3
Draft update of the registry introduction.
msdemlei Aug 5, 2021
e9a2be8
Editorial work on the documentation
msdemlei Aug 6, 2021
663befe
registry: Adding a workaround for automatic access URL selection
msdemlei Dec 23, 2021
d4f4661
Docstring regularisation in rtcons
msdemlei Dec 23, 2021
16d3d78
+ Constraint for regtap 1.1 spatial coverage
msdemlei Dec 23, 2021
4611a4e
+ RegTAP Spectral constraint.
msdemlei Dec 23, 2021
52e5b29
Documenting Spatial and Spectral RegTAP constraints
msdemlei Jan 10, 2022
d3741aa
+ RegTAP Temporal constraints
msdemlei Jan 10, 2022
b8c84be
Making resource lists accessibles through short names, too
msdemlei Jan 11, 2022
9fffbbe
Spatial constraints now accept SkyCoords (within reason)
msdemlei Jan 11, 2022
d68a27e
Backward compatibility: unadorned arguments to regseach are fulltext …
msdemlei Jan 12, 2022
04dd076
Adding Changelog entry for add-discoverdata
msdemlei Jan 13, 2022
b617f28
Not testing against float96 since that's not available in the CI
msdemlei Jan 13, 2022
799abe0
flake8 cosmetics
msdemlei Jan 13, 2022
8590490
Fixes for Birgitta's first review comments.
msdemlei Jan 17, 2022
ea4787e
Fixing RegistryResource.describe for multi-capability resources.
msdemlei Jan 17, 2022
b9bd35e
The Servicetype constraint now accepts local parts of the ivoid, too.
msdemlei Jan 18, 2022
10e4ccb
Adding (back?) source_value to RegistryResource.
msdemlei Jan 24, 2022
293be23
Adding an origin attribute to VOSI tables coming from RegistryResource.
msdemlei Jan 24, 2022
fb750cc
Minor editorial changes, mainly to documentation.
msdemlei Jan 26, 2022
10452ec
Renaming previous RegistryResults.to_table to get_summary.
msdemlei Jan 27, 2022
1b5a2e1
Fixing a TODO linking from the search docstring to the constraint list.
msdemlei Feb 21, 2022
b3ba96d
Fixing new narrative docs examples with remote-data or skip directives
bsipocz Jun 1, 2022
0c313f7
Fixing docstring examples
bsipocz Jun 1, 2022
9f4bfe5
Adding remote-data to tests that do internet access
bsipocz Jun 1, 2022
2314e27
Fix directive typo [skip ci]
bsipocz Jun 1, 2022
ae43aa1
Bumping astropy version to >=4.1 due to https://github.com/astropy/as…
bsipocz Jun 1, 2022
cc2967c
Making tests using the messenger vocabulary non-remote.
msdemlei Jun 2, 2022
6dc5dd7
Fixing code samples in docs/registry
msdemlei Jun 2, 2022
53dee40
Adding forgotten registry.tests.commonfixtures.
msdemlei Jun 3, 2022
47026f1
Remove trailing whitespace for codestyle
tomdonaldson Jun 3, 2022
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
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
for services like ESO's and MAST's TAP, which do not use canonical
prefixes while astropy.utils.xml ignores namespaces. [#323]

- Overhaul of the registry.regsearch as discussed in
https://blog.g-vo.org/towards-data-discovery-in-pyvo.html. This
should be backwards-compatible. [#289]

- Versions of astropy <4.1 are no longer supported. [#289]


1.3.1 (unreleased)
==================
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ PyVO requires Python 3.8 or later.

The following packages are required for PyVO:

* `astropy <https://astropy.org>`__ (>=4.0)
* `astropy <https://astropy.org>`__ (>=4.1)
* `requests <http://docs.python-requests.org/en/latest/>`_

The following packages are optional dependencies and are required for the
Expand Down
321 changes: 299 additions & 22 deletions docs/registry/index.rst

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions pyvo/registry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@

The regtap module supports access to the IVOA Registries
"""
from . import regtap
from .regtap import search, ivoid2service, get_RegTAP_query

from .rtcons import (Constraint,
Freetext, Author, Servicetype, Waveband, Datamodel, Ivoid,
UCD, Spatial, Spectral, Temporal)

search = regtap.search
ivoid2service = regtap.ivoid2service

__all__ = ["search"]
__all__ = ["search", "get_RegTAP_query", "Freetext", "Author",
"Servicetype", "Waveband", "Datamodel", "Ivoid", "UCD",
"Spatial", "Spectral", "Temporal"]
Loading