Skip to content

Latest commit

 

History

History
44 lines (23 loc) · 1.62 KB

File metadata and controls

44 lines (23 loc) · 1.62 KB

PyPI Code style: black

fuzzy-ads

An unofficial command line interface for the SAO/NASA astrophysics data system and the SciX platform.

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.

Install

Prerequisites

  1. A command-line fuzzy-finder: fzf, version 0.27 or higher. Likely installed with a command like

    $ sudo [brew|apt|pacman|dnf] install fzf
    
  2. An account at the astrophysics data system and an API token, stored either in ~/.ads/dev_key or in the ADS_DEV_KEY shell environment variable as per the ads python package's instructions

From PyPI

The package is available on PyPI as fuzzy-ads:

 $ pip install fuzzy-ads

Bleeding edge

Clone the repository and run

 $ pip install .

in its root directory.