Skip to content
Python tool for ADS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github misc/issues_template: print -> print() May 18, 2016
ads
docs Fix broken link in docs [ci skip] - thanks to Vanessa McBride for spo… Oct 23, 2018
examples Hotfix/examples May 5, 2016
.coveragerc Fix Travis.. May 22, 2016
.gitignore Move README content to docs Jan 5, 2017
.travis.yml Set up Travis to auto-deploy to PyPI on master with tags #78 Sep 25, 2016
LICENSE Updated typo in README; version bump to 0.12.1 for PyPI May 6, 2016
MANIFEST.in This will include the LICENSE file in the pypi tarball Apr 9, 2017
README.rst README.rst: fix image syntax; add quickstart Jan 16, 2017
requirements.txt Allow more recent versions of httpretty (#105) Oct 24, 2018
setup.py Use six alias for renamed unittest assertion (#101) Nov 29, 2017

README.rst

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']
You can’t perform that action at this time.