Skip to main content

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.

Build Status Coverage Status

Quickstart

import ads
ads.config.token = 'secret token'

papers = ads.SearchQuery(q="supernova", sort="citation_count")
for paper in papers:
    print(paper.title[0])

You can expect to see some titles like this:

Maps of Dust Infrared Emission for Use in Estimation of Reddening and Cosmic Microwave Background Radiation Foregrounds
Measurements of Omega and Lambda from 42 High-Redshift Supernovae
Observational Evidence from Supernovae for an Accelerating Universe and a Cosmological Constant
First-Year Wilkinson Microwave Anisotropy Probe (WMAP) Observations: Determination of Cosmological Parameters
Abundances of the elements: Meteoritic and solar

Running tests

cd /path/to/ads
pip install -e . "ads[tests]"
python -m unittest discover

Release files for ads 0.12.7

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

Source distribution (sdist)

Source distribution for ads 0.12.7
File Size Uploaded
ads-0.12.7.tar.gz 36.3 kB Details

Built distribution (wheel)

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

Total release size: 77.2 kB

Release files / ads-0.12.7.tar.gz

Download URL ads-0.12.7.tar.gz
Size 36.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c02687302576c33944a91654a39156ef6d7f6093b26b9ecd49e7540bee1fde94
BLAKE2b-256 checksum
How to use checksums
1ae299bf906306ac4fc4b57cac083fdd4525a04fcb8151a60382f9ffb67196b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.5

Release files / ads-0.12.7-py3-none-any.whl

Download URL ads-0.12.7-py3-none-any.whl
Size 40.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e4a93a90c8567225e73c63fdbc881c16463efa86c2641abfeb80ddbc77d30ca
BLAKE2b-256 checksum
How to use checksums
c749c01e64f5a9cd7e40eceb0e61f17b96a6e7355c3b0605653a605b66614bac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.5

Release history Release notifications | RSS feed

This release

0.12.7 This release

2 release files

0.12.6

2 release files

0.12.4

1 release file

0.12.3

1 release file

0.12.2

1 release file

0.12.1

1 release file

0.12.0

1 release file

0.11.3

1 release file

0.11.2

1 release file

0.11.1

1 release file

0.11

1 release file

0.10

1 release file

0.0.809

1 release file

0.0.806

1 release file

0.0.805

1 release file

0.0.804

1 release file

0.0.803

1 release file

0.0.802

1 release file

0.0.801

1 release file

0.0.798

1 release file

0.0.797

1 release file

0.0.796

1 release file

0.0.795

1 release file

0.0.794

1 release file

0.0.793

1 release file

0.0.792

1 release file

0.0.791

1 release file

0.0.79

1 release file

0.0.78

1 release file

0.0.77

1 release file

0.0.76

1 release file

0.0.75

1 release file

0.0.74

1 release file

0.0.73

1 release file

0.0.72

1 release file

0.0.71

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

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