An unofficial command line interface for the SAO/NASA Astrophysics Data System.
Make queries from the command line as in the webbrowser
$ ads -q "author:^livingston year:2010-2022"
or use ADS abbreviations such as -y|--year
,-fa|--first-author
, -a|--author
:
$ ads -fa jenkins -y 2020
Then fuzzy-search the results based on year, author, and title. Use <c-r>
to get only refereed articles and <c-f>
to get non-refereed results only.
Results without open-access PDFs available are dimmed in the search prompt. See ads --help
more information.
-
A command-line fuzzy-finder: fzf, version 0.27 or higher. Likely installed with a command like
$ sudo [brew|apt|pacman|dnf] install fzf
-
An account at the astrophysics data system and an API token, stored either in
~/.ads/dev_key
or in theADS_DEV_KEY
shell environment variable as per the ads python package's instructions
The package is available on PyPI as fuzzy-ads
:
$ pip install fuzzy-ads
Clone the repository and run
$ pip install .
in its root directory.