Catalog PyPI
Back to packageRELEASE DETAILS

0.12.7

PyPI

ads

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

Published23 Dec 2024
Direct dependencies5
Transitive dependenciesNot calculated

README

Version 0.12.7 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.

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 5

Native requirements
5 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
six
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
sixruntime
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
requestsruntime
werkzeug
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
werkzeugruntime
mock
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
mockruntime
httpretty
Environment
{
  "extras": "",
  "marker": "extra == \"tests\"",
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
httpretty>=0.8.10; extra == "tests"runtime

Distribution files

2 collected
ads-0.12.7-py3-none-any.whl

bdist_wheel · 39.94 KB · Python py3

Source file
ads-0.12.7.tar.gz

sdist · 35.46 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:51 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:f2f36569ee6ce9da54deebee40c8c429ad385e080a067027e0933357871c8a8d

Other collected versions

View all collected versions →