Skip to main content

CDS Python package to query large catalogues

Note: API import changed in the last version - see example below

License : BSD License

Installation :

git clone https://github.com/cds-astro/cds.cdsclient.git
cd cds.cdsclient
pip install .

vizquery.py : the vizquery package query all VizieR catalogues using ASU parameters metadata retrieving: get columns/table information and list large tables

Examples :

  • list big catalogues : vizquery.py -l
  • get columns information for 2mass (=II/246) : vizquery.py -source=II/246 -i
  • query GAIA (I/337/gaia) arroud M1 (10arcsec) : vizquery.py -source=I/337/gaia -c=M1 -c.rs=10
  • get hipparcos (HIP=A) in votable : vizquery.py -source=I/239/hip_main -mime=votable -out.max=50 "HIP=1"

Using dedicated script: find_...py

  • query 2mass arround M1: find_2mass.py M1
  • query sdss12 arround '217.488910+36.086880': find_sdss-dr12.py "217.488910+36.086880"
  • query gaia by offset (allows to get the whole table by parts) : find_gaia_edr3.py --offset 0..1000
  • query 2mass with jamg constraint: find_2mass.py --jmag="<11" You can also query with constraints see --help
  • query sdss using identifier: find_sdss-dr12.py --objID=1237662225689281592 --mime=tsv

API Example:

import cdsclient.find_sdss9 as sdss
process = sdss.QueryCatVizieR()
process.position = "217.091350+35.985222"
process.radius = 120
process.query_cat(limit=10)
data = process.get()
print (data)

Metadata

Release files for cdsclient 1.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdsclient 1.1.9
File Size Uploaded Provenance Actions
cdsclient-1.1.9.tar.gz 32.4 kB Without provenance Details for cdsclient-1.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cdsclient 1.1.9
File Interpreter ABI Platform Actions
cdsclient-1.1.9-py3-none-any.whl Python 3 none any Details for cdsclient-1.1.9-py3-none-any.whl

Total release size: 427.9 kB

Release files / cdsclient-1.1.9.tar.gz

Download URL cdsclient-1.1.9.tar.gz
Size 32.4 kB
Tags Source
SHA-256 checksum
How to use checksums
111aa4c09dfd51c9f0bc743abf35895638d3e417ceb7b5b1ae51d98e516111fc
BLAKE2b-256 checksum
How to use checksums
36577719a1b0b91842b5a6609ba89bacd6821ae6fa27291301bfe4ea96b91e81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / cdsclient-1.1.9-py3-none-any.whl

Download URL cdsclient-1.1.9-py3-none-any.whl
Size 395.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4103d8413b096997ae78d184d1351625f8f5889f7d622887ab4f8afcc11e7fee
BLAKE2b-256 checksum
How to use checksums
d5fab83c57ebf2c6405941b37906b03957cb5d8f5cd9db02c461d458e7804b1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Security for cdsclient 1.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page