Skip to content

SepineTam/NBER-CLI

Repository files navigation

NBER-CLI

License PyPI version PyPI Downloads Issue Ask DeepWiki

NBER-CLI is a command line interface for the National Bureau of Economic Research (NBER) paper data.

Installation

pip install nber-cli

or you can install it from github for the beta version:

pip install git+https://github.com/sepinetam/nber-cli.git

Usage

nber-cli --help
  • Download the certain paper to default directory:
nber-cli --download paper_id [paper_id ...]
  • Shorthand:
nber-cli -d paper_id [paper_id ...]
  • Download the certain paper to a specific directory:
nber-cli --download paper_id --save_path /path/to/directory

An example of downloading a paper with ID w1234 to the specific directory:

(base) ~/Documents/Github/nber_cli git:[master]
nber-cli --download w1234 --save_path ~/Downloads/nber-cli
2025-06-23 12:00:29,266 - INFO - Loaded 1 ok ids and 0 fail ids from db.
2025-06-23 12:00:41,097 - INFO - Successfully downloaded w1234 to /Users/sepinetam/Downloads/nber-cli/w1234.pdf

You can also download multiple papers at once:

nber-cli --download w1234 w5678

Web UI

Start a simple web server with:

nber-cli-web

LICENSE

APACHE-2.0

About

A command line interface for downloading the National Bureau of Economic Research (NBER) paper unlimited.

Topics

Resources

License

Stars

Watchers

Forks

Languages