Skip to main content

A command-line tool to download NBER papers.

Project description

NBER-CLI

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nber_cli-0.1.3.tar.gz (54.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nber_cli-0.1.3-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file nber_cli-0.1.3.tar.gz.

File metadata

  • Download URL: nber_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 54.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.15

File hashes

Hashes for nber_cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 17265dded2c8c9082884d49de463e6711ff8023bae0a3fa0d28c4daf8d509ab2
MD5 5ac8ef841253c9c7ca6e15f3a3c21af9
BLAKE2b-256 6f55cb608e6af872b10a3db7f7204d96a3706cb0114c898d33254ce7d5aefab0

See more details on using hashes here.

File details

Details for the file nber_cli-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: nber_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.15

File hashes

Hashes for nber_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ec77bb83fc1998ef759d8533f3e207442efe36767fc2971cc76eac7438f8e73e
MD5 bc96bb1f2a2a5d169a6651a4febebf40
BLAKE2b-256 1383562dcbd01ecef29b64b23a10254bb2456b835a9eb18cf91bf5d9b5d5d5d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page