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


License
MIT
Install
pip install ads==0.11

Documentation

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