Skip to main content

A Python module for NASA's ADS that doesn't suck.

Project description

A Python Module to Interact with NASA’s ADS that Doesn’t Suck™

If you’re in astro research, then you pretty much need NASA’s ADS. It’s tried, true, and people go crazy on the rare occasions when it goes down.

https://travis-ci.org/andycasey/ads.svg?branch=master https://coveralls.io/repos/github/andycasey/ads/badge.svg?branch=master

Quickstart

>>> import ads
>>> ads.config.token = 'secret token'
>>> papers = ads.SearchQuery(q="supernova", sort="citation_count")
>>> for paper in papers:
>>>    print(paper.title)
[u'Maps of Dust Infrared Emission for Use in Estimation of Reddening and Cosmic Microwave Background Radiation Foregrounds']
[u'Measurements of Omega and Lambda from 42 High-Redshift Supernovae']
[u'Observational Evidence from Supernovae for an Accelerating Universe and a Cosmological Constant']
[u'First-Year Wilkinson Microwave Anisotropy Probe (WMAP) Observations: Determination of Cosmological Parameters']
[u'Abundances of the elements: Meteoritic and solar']

Running Tests

> cd /path/to/ads > python -m unittest discover

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ads-0.12.4.tar.gz (36.0 kB view details)

Uploaded Source

File details

Details for the file ads-0.12.4.tar.gz.

File metadata

  • Download URL: ads-0.12.4.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for ads-0.12.4.tar.gz
Algorithm Hash digest
SHA256 66d4d3c4742db7d710ca66e508b220fe2e836d4af0ad25a6c0fff1ca8c08ed50
MD5 2e1352a15a5dbabadef09cfea7497082
BLAKE2b-256 a68b0aa60ceb04da2c7ef5f23568a66e37ec389775035f077ddab5ea0e269bfa

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page