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

Metadata

Release files for ads 0.13.0

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.13.0
File Size Uploaded Provenance Actions
ads-0.13.0.tar.gz 37.1 kB Without provenance Details for ads-0.13.0.tar.gz

Built distribution (wheel)

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

Total release size: 78.7 kB

Release files / ads-0.13.0.tar.gz

Download URL ads-0.13.0.tar.gz
Size 37.1 kB
Tags Source
SHA-256 checksum
How to use checksums
28b86893f736510493a49051de8eff7543140f34eb0934c62375113ddf84eba4
BLAKE2b-256 checksum
How to use checksums
bf48f97475602a76a05243b4bdeba90372bf6a2bceec2e0caaba4bce97208415
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

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

Download URL ads-0.13.0-py3-none-any.whl
Size 41.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
877800ccf6efefa142f3d9de36d9cc43d5d22b383b0f430cbf6059a8ed3834f3
BLAKE2b-256 checksum
How to use checksums
69d3c511ad27697fafc7d338d1763b6bf7d4f30bcfe662d436a27fe913d01657
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Security for ads 0.13.0

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.

Release history Release notifications | RSS feed

This release

0.13.0 This release

2 release files No provenance

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