项目作者: smoh

项目描述 :
Command-line interface to astrophysics data system
高级语言: Python
项目地址: git://github.com/smoh/ads-cli.git
创建时间: 2019-06-17T11:22:06Z
项目社区:https://github.com/smoh/ads-cli

开源协议:MIT License

下载


ads_cli

Command-line interface to astrophysics data system.

Usage

There are two commands: ads and adscli.

For ads, check out its --help documentation.

  1. # export multiple papers to bibtex
  2. # other export formats can be specified as -f <format>
  3. ads export 2014AJ....147..124M 2012ApJ...759....6E '2013A&A...558A..33'
  4. # by default returns 10 entries to stdout
  5. ads search -q 'author:"^huchra, j."'
  6. # If no query is given, you will be prompted.
  7. ads search # you will be prompted.
  8. Query: [put query here and hit <META-ENTER>]

adscli launches a terminal app.

Key bindings:

cursor key what it does
in search bar C-s Do search
in search bar C-j When cursor is in search bar, go to entries frame
in item list j,k Go to next/previous entry
in item list h,l Go to previous/next page
in item list o Open article in ADS
in item list p Open publisher PDF file for the entry
in item list e Open arxiv PDF for the entry

To go back to search, go to top entry and hit k.

Installation

  1. pip [-e] git+https://github.com/smoh/ads-cli#egg=ads-cli

Requirements